can't install gcc43 or gcc44
Rob Mahurin
rob at jlab.org
Mon Aug 31 11:07:10 PDT 2009
Hi,
I'm trying to use MacPorts to install Octave and its dependencies on a
new Mac running 10.5.8. The install fails during the build of gcc.
(I have tried gcc43 and gcc44.) Attached is the output of
sudo port install octave +gcc44
It looks like last error is
../../../../gcc-4.4.1/libgcc/../gcc/config/soft-fp/fixtfti.c:34:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'__fixtfti'
which refers to a sensible-looking function declaration in that file.
So I am out of my depth. Help?
(Please copy me as I am not a mailing list subscriber, thanks.)
Rob
-------------- next part --------------
---> Computing dependencies for octave
---> Building gcc44
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: fi; \
fi; \
done; \
fi
/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 _udivdi3_s.o -MT _udivdi3_s.o -MD -MP -MF _udivdi3_s.dep -DSHARED -DL_udivdi3 -c ../../../gcc-4.4.1/libgcc/../gcc/libgcc2.c \
-fexceptions -fnon-call-exceptions
# If this is the top-level multilib, build all the other
# multilibs.
/bin/sh ../../../../gcc-4.4.1/libgcc/../mkinstalldirs ../../.././gcc/x86_64
for file in libgcc_s.10.4.dylib libgcc_s.10.5.dylib libgcc_s.1.dylib; do \
rm -f ../../.././gcc/x86_64/$file; \
ln -s ../$file ../../.././gcc/x86_64/; \
done
rm -f ../../.././gcc/x86_64/libgcc_s_x86_64.1.dylib
ln -s libgcc_s.1.dylib \
../../.././gcc/x86_64/libgcc_s_x86_64.1.dylib
rm -f ../../.././gcc/x86_64/libgcc_s_ppc64.1.dylib
ln -s libgcc_s.1.dylib \
../../.././gcc/x86_64/libgcc_s_ppc64.1.dylib
/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 -m64 -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 fixtfti.o -MT fixtfti.o -MD -MP -MF fixtfti.dep -fexceptions -c ../../../../gcc-4.4.1/libgcc/../gcc/config/soft-fp/fixtfti.c -fvisibility=hidden -DHIDE_EXPORTS
/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 _umoddi3_s.o -MT _umoddi3_s.o -MD -MP -MF _umoddi3_s.dep -DSHARED -DL_umoddi3 -c ../../../gcc-4.4.1/libgcc/../gcc/libgcc2.c \
-fexceptions -fnon-call-exceptions
../../../../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
Error: The following dependencies failed to build: arpack gcc44 curl fftw-3 fftw-3-single fltk ftgl doxygen graphviz gd2 xpm pango cairo libpixman glib2 urw-fonts xorg-libXaw xorg-libXmu xorg-libXt xorg-libsm xorg-libice gawk ghostscript glpk gnuplot aquaterm pdflib gsed hdf5-18 szip pcre qhull qrupdate gcc43 texinfo
Error: Status 1 encountered during processing.
More information about the macports-users
mailing list