This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/24119] gcc-4.x fails to build on AIX 5.2.0.0-ML04
- From: "h dot m dot brand at xs4all dot nl" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Oct 2005 13:23:41 -0000
- Subject: [Bug target/24119] gcc-4.x fails to build on AIX 5.2.0.0-ML04
- References: <bug-24119-11434@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from h dot m dot brand at xs4all dot nl 2005-10-02 13:23 -------
Subject: Re: gcc-4.x fails to build on AIX 5.2.0.0-ML04
On 2 Oct 2005 04:45:37 -0000, "dje at gcc dot gnu dot org"
<gcc-bugzilla@gcc.gnu.org> wrote:
> ------- Comment #4 from dje at gcc dot gnu dot org 2005-10-02 04:45 -------
> Also, why are you adding "--with-ld=/usr/ccs/bin/ld" to the configure
> command? There should be only one "ld" on the system and the GCC
> configuration process should find it automatically? Do you have GNU
> Binutils installed? It also is possible that the gcc-4.0.0-20040919
> snapshot cannot bootstrap GCC.
I re-ran without -B
All binutils are disabled after previous advice, so I only use AIX' ld
make[1]: Leaving directory `/pro/3gl/GNU/gcc/obj/libcpp'
Bootstrapping the compiler
make[1]: Entering directory `/pro/3gl/GNU/gcc/obj/gcc'
make CC=" stage1/xgcc -Bstage1/ -B/usr/local/ppc64/powerpc-ibm-aix5.2.0.0/bin/"
CC_FOR_BUILD=" stage1/xgcc -Bstage1/
-B/usr/local/ppc64/powerpc-ibm-aix5.2.0.0/bin/" \
STAGE_PREFIX=stage1/ \
ADAFLAGS="" CFLAGS="-g -O2" LDFLAGS="-Wl,-bbigtoc"
WARN_CFLAGS="\$(GCC_WARN_CFLAGS)" STRICT_WARN="-pedantic -Wno-long-long
-Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -Werror"
libdir=/usr/local/ppc64/lib LANGUAGES="c gcov gcov-dump "
MAKEINFO="/pro/3gl/GNU/gcc/src/missing makeinfo --split-size=5000000"
MAKEINFOFLAGS="--no-split" MAKEOVERRIDES= OUTPUT_OPTION="-o \$@" \
CFLAGS="-g -O2" WERROR="-Werror"
make[2]: Entering directory `/pro/3gl/GNU/gcc/obj/gcc'
build/genmodes -h > tmp-modes.h
make[2]: *** [s-modes] Segmentation fault (core dumped)
make[2]: Leaving directory `/pro/3gl/GNU/gcc/obj/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/pro/3gl/GNU/gcc/obj/gcc'
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24119