Opened 15 years ago

Closed 15 years ago

#21352 closed defect (duplicate)

gcc45 does not compile

Reported by: marcin.zalewski@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: gcc45

Description

I am trying to install gcc45 @4.5-20090827 and I get the following error:

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 -m64 -O2  -m32 -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -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.5-20090827/libgcc -I../../../../gcc-4.5-20090827/libgcc/. -I../../../../gcc-4.5-20090827/libgcc/../gcc -I../../../../gcc-4.5-20090827/libgcc/../include  -DHAVE_CC_TLS -o fixtfti.o -MT fixtfti.o -MD -MP -MF fixtfti.dep -fexceptions -c ../../../../gcc-4.5-20090827/libgcc/../gcc/config/soft-fp/fixtfti.c -fvisibility=hidden -DHIDE_EXPORTS

../../../../gcc-4.5-20090827/libgcc/../gcc/config/soft-fp/fixtfti.c:34:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__fixtfti'

Am I the only one that gets this compilation error?

Change History (6)

comment:1 Changed 15 years ago by marcin.zalewski@…

Cc: marcin.zalewski@… added

Cc Me!

comment:2 Changed 15 years ago by tobypeterson

Cc: marcin.zalewski@… removed
Keywords: GCC removed
Port: @4.5-20090827 removed
Version: 1.8.0

Looks like you're on 10.5.8 - what version of Xcode are you using?

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

looks like #20635

comment:4 Changed 15 years ago by marcin.zalewski@…

Yes, I am on 10.5.8 with Xcode 3.1.

comment:5 Changed 15 years ago by marcin.zalewski@…

The patch from #20635 worked for me. Thanks.

comment:6 Changed 15 years ago by jmroot (Joshua Root)

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