> /************************************************************************/
> /* I apologize if you get this posting more than one time */
> /* After my first try I got another confirmation mail from the */
> /* mailling-list program. Then I tried it a second time. Because I */
> /* didn't receive a "copy" from my posting I now try it the third time. */
> /************************************************************************/
> 
> ... for one reason or another ld is segfaulting at the stage1 of gcc 
> compiling.
> 
> But from the beginning: I have installed Openpkg on a PPC64 (IBM Openpower 
> 720) machine which runs
> Debian 3.1. Then I successfully compiled the make and binutils src.rpm's and 
> installed them using
> my new openpkg. So I want to continue with gcc to be able later to compile 
> perl.
> 
> Now I am trying to build the gcc-4.0.2-2.5.0.src.rpm. Here I am not 
> successful. At the (internal)
> stage1 of gcc ld segfaults.
> 
> I know that you doesn't support PPC64 for Openpkg but can someone give me a 
> hint a link to a
> patch or something so I can resolve this problem?
> I already googled but I got only some weird discussions from the year 2000 
> and other non-related stuff.
> 
> Here is the last "block" of output of openpkg rpm --rebuild gcc...:
> 
> /home/user/base/bin/make --no-print-directory CC=" stage1/xgcc -Bstage1/ 
> -B/home/user/base/powerpc64-u
> nknown-linux-gnu/bin/" CC_FOR_BUILD=" stage1/xgcc -Bstage1/ 
> -B/home/user/base/powerpc64-unknown-linux-
> gnu/bin/" > STAGE_PREFIX=stage1/ > ADAFLAGS="" CFLAGS="-pipe -O2 
> -fomit-frame-pointer" LDFLAGS="" WARN_CFLAGS="$(GCC_WARN_CFLAG
> S)" STRICT_WARN="-pedantic -Wno-long-long -Wno-variadic-macros 
> -Wold-style-definition " libdir=/home/u
> ser/base/lib LANGUAGES="c gcov gcov-dump c++" MAKEINFO="makeinfo 
> --split-size=5000000" MAKEINFOFLAGS="
> --no-split" MAKEOVERRIDES= OUTPUT_OPTION="-o $@" > CFLAGS="-pipe -O2 
> -fomit-frame-pointer" WERROR=""
> stage1/xgcc -Bstage1/ -B/home/user/base/powerpc64-unknown-linux-gnu/bin/ -c 
> -pipe -O2 -fomit-frame-p
> ointer -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes 
> -Wmissing-prototypes -pedantic -Wno-lon
> g-long -Wno-variadic-macros -Wold-style-definition -DHAVE_CONFIG_H 
> -DGENERATOR_FILE -I. -Ibuild -I
> /home/user/base/RPM/TMP/gcc-4.0.2/obj/../gcc 
> -I/home/user/base/RPM/TMP/gcc-4.0.2/obj/../gcc/build -I/h
> ome/user/base/RPM/TMP/gcc-4.0.2/obj/../gcc/../include 
> -I/home/user/base/RPM/TMP/gcc-4.0.2/obj/../gcc/.
> ./libcpp/include -o build/genmodes.o 
> /home/user/base/RPM/TMP/gcc-4.0.2/obj/../gcc/genmodes.c
> stage1/xgcc -Bstage1/ -B/home/user/base/powerpc64-unknown-linux-gnu/bin/ -c 
> -pipe -O2 -fomit-frame-p
> ointer -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes 
> -Wmissing-prototypes -pedantic -Wno-lon
> g-long -Wno-variadic-macros -Wold-style-definition -DHAVE_CONFIG_H 
> -DGENERATOR_FILE -I. -Ibuild -I
> /home/user/base/RPM/TMP/gcc-4.0.2/obj/../gcc 
> -I/home/user/base/RPM/TMP/gcc-4.0.2/obj/../gcc/build -I/h
> ome/user/base/RPM/TMP/gcc-4.0.2/obj/../gcc/../include 
> -I/home/user/base/RPM/TMP/gcc-4.0.2/obj/../gcc/.
> ./libcpp/include -o build/errors.o 
> /home/user/base/RPM/TMP/gcc-4.0.2/obj/../gcc/errors.c
> stage1/xgcc -Bstage1/ -B/home/user/base/powerpc64-unknown-linux-gnu/bin/ 
> -pipe -O2 -fomit-frame-poin
> ter -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes 
> -Wmissing-prototypes -pedantic -Wno-long-l
> ong -Wno-variadic-macros -Wold-style-definition -DHAVE_CONFIG_H 
> -DGENERATOR_FILE -o build/genmode
> s > build/genmodes.o build/errors.o 
> ../build-powerpc64-unknown-linux-gnu/libiberty/libiberty.a
> collect2: ld terminated with signal 11 [Segmentation fault]
> /home/user/base/bin/ld: warning: powerpc:common architecture of input file 
> ../build-powerpc64-unknown
> -linux-gnu/libiberty/libiberty.a(xmalloc.o)' is incompatible with 
> powerpc:common64 output
> /home/user/base/bin/ld: warning: powerpc:common architecture of input file 
> ../build-powerpc64-unknown
> -linux-gnu/libiberty/libiberty.a(xexit.o)' is incompatible with 
> powerpc:common64 output
> /home/user/base/bin/ld: can not size stub section: Bad value
> make[2]: *** [build/genmodes] Error 1
> make[1]: *** [stage2_build] Error 2
> make: *** [bootstrap-lean] Error 2
> 
> 
> regards
> Gueven Bay


______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   openpkg-dev@openpkg.org

Reply via email to