[MacPorts] #20635: gcc44 @4.4.1_0 fails in fixtfti.c
#20635: gcc44 @4.4.1_0 fails in fixtfti.c ------------------------------+--------------------------------------------- Reporter: ram@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: gcc44 ------------------------------+--------------------------------------------- Since updating to base 1.8.0-beta1 gcc44 is failing to build with the following error: {{{ gcc/../gcc/config/soft-fp/fixtfti.c -fvisibility=hidden -DHIDE_EXPORTS /opt/local/var/macports/build/_Users_ram_macports_ports_lang_gcc44/work/build/./gcc/xgcc -B/opt/local/var/macports/build/_Users_ram_macports_ports_lang_gcc44/work/build/./gcc/ -B/opt/local/i386-apple-darwin9.8.0/bin/ -B/opt/local/i386-apple- darwin9.8.0/lib/ -isystem /opt/local/i386-apple-darwin9.8.0/include -isystem /opt/local/i386-apple-darwin9.8.0/sys-include -m32 -O2 -O2 -m32 -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing- prototypes -Wcast-qual -Wold-style-definition -isystem ./include -fPIC -pipe -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../.././gcc -I../../../gcc-4.4.1/libgcc -I../../../gcc-4.4.1/libgcc/. -I../../../gcc-4.4.1/libgcc/../gcc -I../../../gcc-4.4.1/libgcc/../include -DHAVE_CC_TLS -o _floatuntisf_s.o -MT _floatuntisf_s.o -MD -MP -MF _floatuntisf_s.dep -DSHARED -DL_floatundisf -c ../../../gcc-4.4.1/libgcc/../gcc/libgcc2.c \ -DLIBGCC2_UNITS_PER_WORD=8 ../../../../gcc-4.4.1/libgcc/../gcc/config/soft-fp/fixtfti.c:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__fixtfti' make[5]: *** [fixtfti.o] Error 1 make[4]: *** [multi-do] Error 1 make[3]: *** [all-multi] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [all-stage1-target-libgcc] Error 2 make[1]: *** [stage1-bubble] Error 2 make: *** [bootstrap] Error 2 }}} this is on Intel Mac OS X 10.5.8 -- Ticket URL: <http://trac.macports.org/ticket/20635> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20635: gcc44 @4.4.1_0 fails in fixtfti.c ------------------------------+--------------------------------------------- Reporter: ram@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: gcc44 ------------------------------+--------------------------------------------- Comment(by ram@…): full debug build log attached -- Ticket URL: <http://trac.macports.org/ticket/20635#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20635: gcc44 @4.4.1_0 fails in fixtfti.c ------------------------------+--------------------------------------------- Reporter: ram@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: gcc44 ------------------------------+--------------------------------------------- Changes (by nox@…): * cc: nox@… (added) Comment: I can confirm this. -- Ticket URL: <http://trac.macports.org/ticket/20635#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20635: gcc44 @4.4.1_0 fails in fixtfti.c ------------------------------+--------------------------------------------- Reporter: ram@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: gcc44 ------------------------------+--------------------------------------------- Comment(by ram@…): On Tue, Sep 1, 2009 at 02:11, Rob Mahurin<rob@jlab.org> wrote:
I was able to compile gcc44 after changing the Portfile as attached.
-- Ticket URL: <http://trac.macports.org/ticket/20635#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20635: gcc44 @4.4.1_0 fails in fixtfti.c ------------------------------+--------------------------------------------- Reporter: ram@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: gcc44 ------------------------------+--------------------------------------------- Comment(by stephen@…): Replying to [comment:3 ram@…]:
On Tue, Sep 1, 2009 at 02:11, Rob Mahurin<rob@jlab.org> wrote:
I was able to compile gcc44 after changing the Portfile as attached.
Rob's patch works for me. {{{ Mac OS X 10.5.8 "Leopard" MacBook Pro (Intel Core Duo) MacPorts from svn up-to-date at r56699 (port itself may be @r55500 or so). }}} Urk, I was going to offer a log, but it looks like I forgot to redirect. Sorry! -- Ticket URL: <http://trac.macports.org/ticket/20635#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20635: gcc44 @4.4.1_0 fails in fixtfti.c ------------------------------+--------------------------------------------- Reporter: ram@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: gcc44 ------------------------------+--------------------------------------------- Comment(by martin.zaun@…): Replying to [comment:4 stephen@…]:er changing the Portfile as attached.
Rob's patch works for me.
Confirmed: patch has fixed broken gcc441 build. In my view this issue deserves a higher priority -- ran into it after an innocent selfupdate and upgrade outdated. Thx for the patch! $ port version Version: 1.8.0 $ uname -a Darwin mzs-macbook-pro.local 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386 -- Ticket URL: <http://trac.macports.org/ticket/20635#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20635: gcc44 @4.4.1_0 fails in fixtfti.c ------------------------------+--------------------------------------------- Reporter: ram@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: gcc44 ------------------------------+--------------------------------------------- Comment(by bcbarnes@…): I am running into a very similar build error on a different file in gcc44. gcc44 has been broken for over a month? 10.5.8 intel here, latest macports/selfupdated/sync etc. {{{ Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc44/work/build" && /usr/bin/make -j2 bootstrap " returned error 2 Command output: ../../../../gcc-4.4.1/libgcc/../gcc/config/soft- fp/fixunstfdi.c:35: warning: no previous prototype for '__fixunstfdi' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc44/work/build/./gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc44/work/build/./gcc/ -B/opt/local/i386-apple-darwin9.8.0/bin/ -B/opt/local/i386-apple- darwin9.8.0/lib/ -isystem /opt/local/i386-apple-darwin9.8.0/include -isystem /opt/local/i386-apple-darwin9.8.0/sys-include -m32 -O2 -O2 -m32 -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing- prototypes -Wcast-qual -Wold-style-definition -isystem ./include -fPIC -pipe -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../.././gcc -I../../../gcc-4.4.1/libgcc -I../../../gcc-4.4.1/libgcc/. -I../../../gcc-4.4.1/libgcc/../gcc -I../../../gcc-4.4.1/libgcc/../include -DHAVE_CC_TLS -o _floatditf_s.o -MT _floatditf_s.o -MD -MP -MF _floatditf_s.dep -DSHARED -DL_floatditf -c ../../../gcc-4.4.1/libgcc/../gcc/libgcc2.c \ }}} -- Ticket URL: <http://trac.macports.org/ticket/20635#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20635: gcc44 @4.4.1_0 fails in fixtfti.c ------------------------------+--------------------------------------------- Reporter: ram@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: gcc44 ------------------------------+--------------------------------------------- Comment(by desmothenes@…): Sorry for being illiterate, but I am new to Mac and macports. The help on patches says that I should go to the directory containing the file to be patched, and then run the command to apply the patch and the patchfile should know what file to fix. I am not sure which directory contains the problem file. Could someone please explain to me how to apply this patch? I tried to run the patch in /opt/local/var/macports/ and it asked me a file name. Also, I am not sure if this is my problem, since I do not get the same error as listed above, the build just hangs, however when I search for a fix to that problem I am always redirected to this patch. -- Ticket URL: <http://trac.macports.org/ticket/20635#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20635: gcc44 @4.4.1_0 fails in fixtfti.c ------------------------------+--------------------------------------------- Reporter: ram@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: gcc44 ------------------------------+--------------------------------------------- Comment(by ryandesign@…): Do you still see this problem with version 4.4.3? If so, is everybody experiencing it on Leopard on Intel or is anybody seeing the problem on other platforms as well? -- Ticket URL: <http://trac.macports.org/ticket/20635#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20635: gcc44 @4.4.1_0 fails in fixtfti.c ------------------------------+--------------------------------------------- Reporter: ram@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: gcc44 ------------------------------+--------------------------------------------- Comment(by ram@…): I can no longer reproduce this on Intel and PPC Leopard machines with the latest gcc44 port. I imagine this ticket can be closed. -- Ticket URL: <http://trac.macports.org/ticket/20635#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20635: gcc44 @4.4.1_0 fails in fixtfti.c -------------------------------+-------------------------------------------- Reporter: ram@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: Port: gcc44 | -------------------------------+-------------------------------------------- Changes (by ram@…): * status: new => closed * resolution: => fixed -- Ticket URL: <http://trac.macports.org/ticket/20635#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts