Opened 15 years ago

Closed 14 years ago

#20635 closed defect (fixed)

gcc44 @4.4.1_0 fails in fixtfti.c

Reported by: skymoo (Adam Mercer) Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: nox@…
Port: gcc44

Description

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

Attachments (2)

gcc44.log (629.2 KB) - added by skymoo (Adam Mercer) 15 years ago.
full debug log
gcc.macports.patch (956 bytes) - added by skymoo (Adam Mercer) 15 years ago.
patch from rob

Download all attachments as: .zip

Change History (12)

Changed 15 years ago by skymoo (Adam Mercer)

Attachment: gcc44.log added

full debug log

comment:1 Changed 15 years ago by skymoo (Adam Mercer)

full debug build log attached

comment:2 Changed 15 years ago by nox@…

Cc: nox@… added

I can confirm this.

comment:3 Changed 15 years ago by skymoo (Adam Mercer)

On Tue, Sep 1, 2009 at 02:11, Rob Mahurin<rob@…> wrote:

I was able to compile gcc44 after changing the Portfile as attached.

Changed 15 years ago by skymoo (Adam Mercer)

Attachment: gcc.macports.patch added

patch from rob

comment:4 in reply to:  3 ; Changed 15 years ago by yaseppochi (Stephen J. Turnbull)

Replying to ram@…:

On Tue, Sep 1, 2009 at 02:11, Rob Mahurin<rob@…> 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!

comment:5 in reply to:  4 Changed 15 years ago by martin.zaun@…

Replying to 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

comment:6 Changed 15 years ago 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 \

comment:7 Changed 14 years ago 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.

comment:8 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

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?

comment:9 Changed 14 years ago by skymoo (Adam Mercer)

I can no longer reproduce this on Intel and PPC Leopard machines with the latest gcc44 port. I imagine this ticket can be closed.

comment:10 Changed 14 years ago by skymoo (Adam Mercer)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.