Bug 192278 - [PATCH] devel/avr-gcc: unbreak port by lobotomizing avrtiny10 support *UNBREAK* *UNSTAGED*
Summary: [PATCH] devel/avr-gcc: unbreak port by lobotomizing avrtiny10 support *UNBREA...
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Kurt Jaeger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-30 18:42 UTC by leres
Modified: 2014-08-10 21:08 UTC (History)
2 users (show)

See Also:


Attachments
patch to devel/avr-gcc (3.63 KB, patch)
2014-07-30 18:42 UTC, leres
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description leres 2014-07-30 18:42:47 UTC
Created attachment 145163 [details]
patch to devel/avr-gcc

gcc-4.5.1 appears to be broken with respect to avrtiny10 support.  This patch set disables avrtiny10 so it can still be used with other hardware types.
Comment 1 John Marino freebsd_committer 2014-08-04 21:22:36 UTC
I made a mistake, this isn't patch ready.

avr-gcc is not staged, so there's no point in fixing it.  It will be removed in 4 weeks anyway.

leres, if you update the patch to include stage support then we can apply it.

GCC supports DESTDIR out of the box so it should be easy enough.
Comment 2 Kurt Jaeger freebsd_committer 2014-08-04 22:34:18 UTC
I have an update to avr-gcc, which is staged etc. Coming soon to a PR near to you.
Comment 3 Kurt Jaeger freebsd_committer 2014-08-05 11:57:01 UTC
(In reply to Kurt Jaeger from comment #2)
> I have an update to avr-gcc, which is staged etc. Coming soon to a PR near
> to you.

Here we go:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192399

leres: if you can test it as well ?
Comment 4 leres 2014-08-06 06:23:07 UTC
(Takes forever to build but) yeah, that looks great.

It doesn't completely compile my main arduino sketch (__attribute__((progmem)) eerror) but google says that's because I need the new avr-libc so I look forward to testing your patches for that as well.

Thanks for avr TLC!
Comment 5 Kurt Jaeger freebsd_committer 2014-08-06 07:19:07 UTC
(In reply to leres from comment #4)
> (Takes forever to build but) yeah, that looks great.
> 
> It doesn't completely compile my main arduino sketch
> (__attribute__((progmem)) eerror) but google says that's because I need the
> new avr-libc so I look forward to testing your patches for that as well.
> 
> Thanks for avr TLC!

avr-libc is:

  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192400

Until you have the new doxygen, built it without the DOCS.
Comment 6 John Marino freebsd_committer 2014-08-07 08:29:07 UTC
taking the liberty to assign this to Kurt