Bug 192278

Summary: [PATCH] devel/avr-gcc: unbreak port by lobotomizing avrtiny10 support *UNBREAK* *UNSTAGED*
Product: Ports & Packages Reporter: Craig Leres <leres>
Component: Individual Port(s)Assignee: Kurt Jaeger <pi>
Status: Closed Overcome By Events    
Severity: Affects Many People CC: marino, pi
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch to devel/avr-gcc none

Description Craig Leres freebsd_committer freebsd_triage 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 freebsd_triage 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 freebsd_triage 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 freebsd_triage 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 Craig Leres freebsd_committer freebsd_triage 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 freebsd_triage 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 freebsd_triage 2014-08-07 08:29:07 UTC
taking the liberty to assign this to Kurt