[MacPorts] #17524: avr-gcc: update to current version
#17524: avr-gcc: update to current version -------------------------------+-------------------------------------------- Reporter: andi@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Updates Component: ports | Version: 1.6.0 Keywords: | Port: avr-gcc -------------------------------+-------------------------------------------- it would be nice if some one could update the avr-gcc port to the current version -- Ticket URL: <http://trac.macports.org/ticket/17524> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17524: avr-gcc: update to current version -------------------------------+-------------------------------------------- Reporter: andi@… | Owner: pguyot@… Type: enhancement | Status: new Priority: Normal | Milestone: Port Updates Component: ports | Version: 1.6.0 Keywords: | Port: avr-gcc -------------------------------+-------------------------------------------- Changes (by jmr@…): * cc: andi@… (removed) * cc: metamagix@… (added) * owner: macports-tickets@… => pguyot@… * type: defect => enhancement -- Ticket URL: <http://trac.macports.org/ticket/17524#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17524: avr-gcc: update to current version -------------------------------+-------------------------------------------- Reporter: andi@… | Owner: pguyot@… Type: enhancement | Status: new Priority: Normal | Milestone: Port Updates Component: ports | Version: 1.6.0 Keywords: | Port: avr-gcc -------------------------------+-------------------------------------------- Comment(by andi@…): any updates? btw where to get these patches to port a normal gcc to avr-gcc? -- Ticket URL: <http://trac.macports.org/ticket/17524#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17524: avr-gcc: update to current version -------------------------------+-------------------------------------------- Reporter: andi@… | Owner: metamagix@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: avr-gcc -------------------------------+-------------------------------------------- Changes (by jmr@…): * cc: metamagix@… (removed) * owner: pguyot@… => metamagix@… * version: 1.6.0 => -- Ticket URL: <https://trac.macports.org/ticket/17524#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17524: avr-gcc: update to current version -------------------------------+-------------------------------------------- Reporter: andi@… | Owner: metamagix@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: avr-gcc -------------------------------+-------------------------------------------- Comment(by lars@…): I have attached two patches that can be used to update to gcc 4.5.2. == Installation == {{{patch-avr-config-unknown-mcu.diff}}} patches gcc. It needs to go into {{{$(port dir avr-gcc)/files}}}. Something like this: {{{ sudo cp ~/Downloads/patch-avr-config-unknown-mcu.diff $(port dir avr- gcc)/files }}} {{{patch-avr-gcc-update-452.diff}}} updates the portfile for gcc 4.5.2. Apply with something like: {{{ cd $(port dir avr-gcc) patch -p0 < ~/Downloads/patch-avr-gcc-update-452.diff }}} == Background == For the background of patch-avr-config-unknown-mcu.diff, see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45261. Basically, gcc doesn't return with an error if it encounters an unknown MCU. This breaks the configure step of avr-libc. == Caveats == I have removed the other patches for avr-gcc without really understanding them. YMMV -- Ticket URL: <https://trac.macports.org/ticket/17524#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17524: avr-gcc: update to current version -------------------------------+-------------------------------------------- Reporter: andi@… | Owner: metamagix@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: avr-gcc -------------------------------+-------------------------------------------- Comment(by marc.sowen@…): What needs to be done to get Lars patches into trunk? They seem to be fine. BTW: The patch patch-avr-config-unknown-mcu.diff is not needed anymore from gcc 4.5.3 onwards. See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45261. It is fixed in gcc trunk revision 170536. -- Ticket URL: <https://trac.macports.org/ticket/17524#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17524: avr-gcc: update to current version -------------------------------+-------------------------------------------- Reporter: andi@… | Owner: metamagix@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: avr-gcc -------------------------------+-------------------------------------------- Comment(by marc.sowen@…): I've created a patch to update current trunk version of avr-gcc 4.6.2: See #33107. Please also update to latest avr-libc since the older version won't compile with gcc 4.6.2. See #33106. -- Ticket URL: <https://trac.macports.org/ticket/17524#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17524: avr-gcc: update to current version -------------------------------+-------------------------------------------- Reporter: andi@… | Owner: metamagix@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: avr-gcc -------------------------------+-------------------------------------------- Comment(by lars@…): If I could, I'd close this ticket and link to #33107. gcc 4.6.2 fixes at least one annoying bug (wrong const warnings for PROGMEM placed constants when using C++) over 4.5.2 (But here we are, ghosts whispering to each other in this deserted place.) -- Ticket URL: <https://trac.macports.org/ticket/17524#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17524: avr-gcc: update to current version --------------------------------+------------------------------------------- Reporter: andi@… | Owner: metamagix@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: duplicate | Keywords: Port: avr-gcc | --------------------------------+------------------------------------------- Changes (by macsforever2000@…): * status: new => closed * resolution: => duplicate -- Ticket URL: <https://trac.macports.org/ticket/17524#comment:16> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts