New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #20635 (closed defect: fixed)

Opened 2 years ago

Last modified 20 months ago

gcc44 @4.4.1_0 fails in fixtfti.c

Reported by: ram@… 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

gcc44.log Download (0.6 MB) - added by ram@… 2 years ago.
full debug log
gcc.macports.patch Download (0.9 KB) - added by ram@… 2 years ago.
patch from rob

Change History

Changed 2 years ago by ram@…

full debug log

  Changed 2 years ago by ram@…

full debug build log attached

  Changed 2 years ago by nox@…

  • cc nox@… added

I can confirm this.

follow-up: ↓ 4   Changed 2 years ago by 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.

Changed 2 years ago by ram@…

patch from rob

in reply to: ↑ 3 ; follow-up: ↓ 5   Changed 2 years ago by stephen@…

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!

in reply to: ↑ 4   Changed 2 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

  Changed 2 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 \

  Changed 2 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.

  Changed 22 months ago 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?

  Changed 20 months ago 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.

  Changed 20 months ago by ram@…

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.