GCC42 Bug
Anthony Michael Agelastos
iqgrande at gmail.com
Mon Feb 19 13:35:53 PST 2007
On Feb 19, 2007, at 2:29 PM, Kevin Ballard wrote:
> What error does it give?
>
On my 1st gen MacBook Pro (Intel Core Duo), I have the following error.
macko:~ iqgrande$ sudo port clean --all gcc42
---> Cleaning gcc42
macko:~ iqgrande$ sudo port upgrade installed
---> Fetching gcc42
---> Attempting to fetch gcc-core-4.2-20070124.tar.bz2 from ftp://
ftp.funet.fi/pub/mirrors/sources.redhat.com/pub/gcc/snapshots/
4.2-20070124/
---> Attempting to fetch gcc-fortran-4.2-20070124.tar.bz2 from ftp://
ftp.funet.fi/pub/mirrors/sources.redhat.com/pub/gcc/snapshots/
4.2-20070124/
---> Attempting to fetch gcc-g++-4.2-20070124.tar.bz2 from ftp://
ftp.funet.fi/pub/mirrors/sources.redhat.com/pub/gcc/snapshots/
4.2-20070124/
---> Attempting to fetch gcc-java-4.2-20070124.tar.bz2 from ftp://
ftp.funet.fi/pub/mirrors/sources.redhat.com/pub/gcc/snapshots/
4.2-20070124/
---> Attempting to fetch gcc-objc-4.2-20070124.tar.bz2 from ftp://
ftp.funet.fi/pub/mirrors/sources.redhat.com/pub/gcc/snapshots/
4.2-20070124/
---> Verifying checksum(s) for gcc42
---> Extracting gcc42
---> Configuring gcc42
---> Building gcc42 with target bootstrap
Error: Target com.apple.build returned: shell command "cd "/opt/local/
var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc42/work/build" && make bootstrap -j 2" returned error 2
Command output: BUILD_PREFIX="" \
BUILD_PREFIX_1="" \
LANGUAGES="" \
LIBGCC2_CFLAGS="-O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-
strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-
definition -isystem ./include -fPIC -pipe -g -DHAVE_GTHR_DEFAULT -
DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -m64 " \
MULTILIB_CFLAGS=" -m64" T=x86_64/ x86_64/crt3.o
/opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc42/work/build/./gcc/xgcc -B/opt/local/var/db/dports/
build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc42/work/build/./gcc/ -B/opt/local/i386-apple-darwin8.8.1/
bin/ -B/opt/local/i386-apple-darwin8.8.1/lib/ -isystem /opt/local/
i386-apple-darwin8.8.1/include -isystem /opt/local/i386-apple-
darwin8.8.1/sys-include -O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-
strings -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-4.2-20070124/gcc -I../../gcc-4.2-20070124/gcc/. -I../../
gcc-4.2-20070124/gcc/../include -I../../gcc-4.2-20070124/gcc/../
libcpp/include -I/opt/local/include -I/opt/local/include -I../../
gcc-4.2-20070124/gcc/../libdecnumber -I../libdecnumber -m64 -
DL_muldi3 -fvisibility=hidden -DHIDE_EXPORTS -c ../../
gcc-4.2-20070124/gcc/libgcc2.c -o libgcc/x86_64/_muldi3.o
/opt/local/bin/odas: assembler (/opt/local/libexec/as/x86_64/as or )
for architecture x86_64 not installed
Installed assemblers are:
/opt/local/libexec/as/ppc64/as for architecture ppc64
/opt/local/libexec/as/ppc/as for architecture ppc
/opt/local/libexec/as/i386/as for architecture i386
/opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc42/work/build/./gcc/xgcc -B/opt/local/var/db/dports/
build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_lang_gcc42/work/build/./gcc/ -B/opt/local/i386-apple-darwin8.8.1/
bin/ -B/opt/local/i386-apple-darwin8.8.1/lib/ -isystem /opt/local/
i386-apple-darwin8.8.1/include -isystem /opt/local/i386-apple-
darwin8.8.1/sys-include -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-
strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-
definition -isystem ./include -I. -Ix86_64 -I../../gcc-4.2-20070124/
gcc -I../../gcc-4.2-20070124/gcc/x86_64 -I../../gcc-4.2-20070124/
gcc/../include -I../../gcc-4.2-20070124/gcc/../libcpp/include -I/opt/
local/include -I/opt/local/include -I../../gcc-4.2-20070124/gcc/../
libdecnumber -I../libdecnumber -m64 \
-fno-tree-dominator-opts \
-c ../../gcc-4.2-20070124/gcc/config/darwin-crt3.c -o x86_64/crt3.o
../../gcc-4.2-20070124/gcc/libgcc2.c:542: fatal error: error writing
to -: Broken pipe
compilation terminated.
make[4]: *** [libgcc/x86_64/_muldi3.o] Error 1
make[4]: *** Waiting for unfinished jobs....
/opt/local/bin/odas: assembler (/opt/local/libexec/as/x86_64/as or )
for architecture x86_64 not installed
Installed assemblers are:
/opt/local/libexec/as/ppc64/as for architecture ppc64
/opt/local/libexec/as/ppc/as for architecture ppc
/opt/local/libexec/as/i386/as for architecture i386
make[5]: *** [x86_64/crt3.o] Error 1
make[4]: *** [extrax86_64] Error 2
make[3]: *** [stmp-multilib] Error 2
rm fsf-funding.pod gcov.pod cpp.pod gfdl.pod gpl.pod gcc.pod
make[2]: *** [all-stage1-gcc] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [bootstrap] Error 2
Error: Unable to upgrade port: 1
> On Feb 19, 2007, at 11:50 AM, Luís Beça wrote:
>
>> Can anyone shed some light on why gcc42 and gcc41 no longer
>> compile on
>> intel macs?gcc42 used to but no longer. This is problematic for
>> people
>> that what to use Fortran, py-matplotlib, etc and still stick to
>> Macports.
>
> --
> Kevin Ballard
> http://kevin.sb.org
> eridius at macports.org
> http://www.tildesoft.com
>
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20070219/114f6c59/attachment.html
More information about the macports-users
mailing list