[MacPorts] #35149: arm-aout-gcc: cc1: internal compiler error: Segmentation fault: 11 (was: Bug Report for "sudo port install arm-aout-gcc")
MacPorts
noreply at macports.org
Tue Jul 10 16:00:20 PDT 2012
#35149: arm-aout-gcc: cc1: internal compiler error: Segmentation fault: 11
-------------------------------+--------------------------------------------
Reporter: repozitor@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.1
Keywords: | Port: arm-aout-gcc
-------------------------------+--------------------------------------------
Changes (by ryandesign@…):
* priority: High => Normal
* keywords: Bug- arm-aout-gcc =>
* port: => arm-aout-gcc
Old description:
> hi
> platfrom detail:
> OSX 10.7.4 (Lion) Xcode 4.2
> during the installing i notice that i can't install "arm-aout-gcc"
> and i try it with another command, "sudo port install arm-aout-gcc
> configure.compiler=ll
> vm-gcc-4.2".
> but i see error and past it on:
> http://dl.dropbox.com/u/71850189/main.log
> and i present it on channel, and get this detail:
>
> "the source is trying to build a symbol name dynamically and failing.
> ":info:build
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
> gcc/work/gcc-3.3.6/newlib/libc/machine/arm/setjmp.S:83:26: pasting "_"
> and "\" does not give a valid preprocessing token"
New description:
hi [[br]]
platfrom detail: [[br]]
OSX 10.7.4 (Lion) Xcode 4.2 [[br]]
during the installing i notice that i can't install "arm-aout-gcc" [[br]]
and i try it with another command, "sudo port install arm-aout-gcc
configure.compiler=llvm-gcc-4.2". [[br]]
but i see error and past it on: [[br]]
http://dl.dropbox.com/u/71850189/main.log [[br]]
and i present it on channel, and get this detail:
"the source is trying to build a symbol name dynamically and failing. "
{{{
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/gcc-3.3.6/newlib/libc/machine/arm/setjmp.S:83:26: pasting "_" and
"\" does not give a valid preprocessing token"
}}}
--
Comment:
I have fixed your WikiFormatting.
The main.log you linked to on Dropbox was made building with clang. As you
said, it fails with:
{{{
newlib/libc/machine/arm/setjmp.S:83:26: pasting "_" and "\" does not give
a valid preprocessing token
}}}
The main.log you attached to this ticked was made with llvm-gcc-4.2. It
fails with:
{{{
:info:build mkdir libgcc
:info:build if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/build/gcc/xgcc
-B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/build/gcc/ -nostdinc
-B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-gcc/work/build
/arm-aout/newlib/ -isystem
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-gcc/work/build
/arm-aout/newlib/targ-include -isystem
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/gcc-3.3.6/newlib/libc/include -B/opt/local/arm-aout/bin/
-B/opt/local/arm-aout/lib/ -isystem /opt/local/arm-aout/include -O2
-DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -isystem ./include -g -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I.
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/gcc-3.3.6/gcc
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/gcc-3.3.6/gcc/.
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/gcc-3.3.6/gcc/config
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/gcc-3.3.6/gcc/../include -DL_udivsi3 -xassembler-with-cpp -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/gcc-3.3.6/gcc/config/arm/lib1funcs.asm -o libgcc/./_udivsi3.o
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/build/gcc/xgcc
-B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/build/gcc/ -nostdinc
-B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-gcc/work/build
/arm-aout/newlib/ -isystem
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-gcc/work/build
/arm-aout/newlib/targ-include -isystem
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/gcc-3.3.6/newlib/libc/include -B/opt/local/arm-aout/bin/
-B/opt/local/arm-aout/lib/ -isystem /opt/local/arm-aout/include -O2
-DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -isystem ./include -g -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I.
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/gcc-3.3.6/gcc
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/gcc-3.3.6/gcc/.
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/gcc-3.3.6/gcc/config
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/gcc-3.3.6/gcc/../include -DL_divsi3 -xassembler-with-cpp -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/gcc-3.3.6/gcc/config/arm/lib1funcs.asm -o libgcc/./_divsi3.o
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/build/gcc/xgcc
-B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/build/gcc/ -nostdinc
-B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-gcc/work/build
/arm-aout/newlib/ -isystem
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-gcc/work/build
/arm-aout/newlib/targ-include -isystem
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/gcc-3.3.6/newlib/libc/include -B/opt/local/arm-aout/bin/
-B/opt/local/arm-aout/lib/ -isystem /opt/local/arm-aout/include -O2
-DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -isystem ./include -g -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I.
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/gcc-3.3.6/gcc
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/gcc-3.3.6/gcc/.
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/gcc-3.3.6/gcc/config
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/gcc-3.3.6/gcc/../include -DL_umodsi3 -xassembler-with-cpp -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/gcc-3.3.6/gcc/config/arm/lib1funcs.asm -o libgcc/./_umodsi3.o
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/build/gcc/xgcc
-B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/build/gcc/ -nostdinc
-B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-gcc/work/build
/arm-aout/newlib/ -isystem
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-gcc/work/build
/arm-aout/newlib/targ-include -isystem
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/gcc-3.3.6/newlib/libc/include -B/opt/local/arm-aout/bin/
-B/opt/local/arm-aout/lib/ -isystem /opt/local/arm-aout/include -O2
-DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -isystem ./include -g -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I.
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/gcc-3.3.6/gcc
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/gcc-3.3.6/gcc/.
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/gcc-3.3.6/gcc/config
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/gcc-3.3.6/gcc/../include -DL_modsi3 -xassembler-with-cpp -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/gcc-3.3.6/gcc/config/arm/lib1funcs.asm -o libgcc/./_modsi3.o
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/build/gcc/xgcc
-B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/build/gcc/ -nostdinc
-B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-gcc/work/build
/arm-aout/newlib/ -isystem
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-gcc/work/build
/arm-aout/newlib/targ-include -isystem
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/gcc-3.3.6/newlib/libc/include -B/opt/local/arm-aout/bin/
-B/opt/local/arm-aout/lib/ -isystem /opt/local/arm-aout/include -O2
-DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -isystem ./include -g -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I.
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/gcc-3.3.6/gcc
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/gcc-3.3.6/gcc/.
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/gcc-3.3.6/gcc/config
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/gcc-3.3.6/gcc/../include -DL_dvmd_tls -xassembler-with-cpp -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/gcc-3.3.6/gcc/config/arm/lib1funcs.asm -o libgcc/./_dvmd_tls.o
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/build/gcc/xgcc
-B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/build/gcc/ -nostdinc
-B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-gcc/work/build
/arm-aout/newlib/ -isystem
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-gcc/work/build
/arm-aout/newlib/targ-include -isystem
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/gcc-3.3.6/newlib/libc/include -B/opt/local/arm-aout/bin/
-B/opt/local/arm-aout/lib/ -isystem /opt/local/arm-aout/include -O2
-DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -isystem ./include -g -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I.
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/gcc-3.3.6/gcc
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/gcc-3.3.6/gcc/.
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/gcc-3.3.6/gcc/config
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/gcc-3.3.6/gcc/../include -DL_call_via_rX -xassembler-with-cpp -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_cross_arm-aout-gcc/arm-aout-
gcc/work/gcc-3.3.6/gcc/config/arm/lib1funcs.asm -o libgcc/./_call_via_rX.o
:info:build cc1: internal compiler error: Segmentation fault: 11
:info:build Please submit a full bug report,
:info:build with preprocessed source if appropriate.
:info:build See <URL:http://gcc.gnu.org/bugs.html> for instructions.
:info:build make[2]: *** [libgcc/./_udivsi3.o] Error 1
:info:build make[2]: *** Waiting for unfinished jobs....
}}}
You could follow those instructions and report the bug to the developers
of gcc, however this is gcc version 3.3.6, which is ancient in the extreme
and the developers are undoubtedly no longer fixing bugs in it. We
probably need to update this port to a much newer version.
Something you could try first is upgrading to the latest version of Xcode
for Lion. You said you're on Xcode 4.2; 4.3.3 has been available for a
month already. You can get it from the Mac App Store or Apple Developer
Connection.
In any case there is no maintainer for this port in MacPorts so you're on
your own in figuring out how to fix it. If you develop a patch for the
Portfile that makes it work, please share it with us.
--
Ticket URL: <https://trac.macports.org/ticket/35149#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list