This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hello! I'm currently struggling with crosstool trying to compile the subjects' toolchain. The core-gcc seems to miss libiberty.a; however, libiberty.a is available in $RESULT_TOP/lib. Basically, i applied the 0.37-nptl patch from contrib. I then had to modify the section in crosstool.sh where pthreadtypes.h gets copied: #cp ${GLIBC_DIR}/nptl/sysdeps/unix/sysv/linux/${ARCH}/bits/pthreadtypes.h $HEADERDIR/bits/pthreadtypes.h case $TARGET in sparc* ) pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h ;; s390* ) pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h ;; powerpc* ) pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h ;; i386* ) pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h ;; i686* ) pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h ;; esac test ! -f $HEADERDIR/bits/pthreadtypes.h && cp ${GLIBC_DIR}/${pthreadtypes_h} $HEADERDIR/bits/pthreadtypes.h I hope this was o.k. My build script reads: #!/bin/sh set -ex TARBALLS_DIR=$HOME/downloads RESULT_TOP=/opt/crosstool export TARBALLS_DIR RESULT_TOP GCC_LANGUAGES="c,c++" export GCC_LANGUAGES GLIBC_ADDON_NPTL=1 export GLIBC_ADDON_NPTL mkdir -p $RESULT_TOP eval `cat powerpc-860.dat gcc-4.0.1-glibc-2.3.5-hdrs-2.6.11.2.dat` sh all.sh --notest I have no clue what's causing this error; the buildlogs at http://www.kegel.com/crosstool/crosstool-0.37/buildlogs/ seem to indicate that my chosen toolchain-combination *should* be OK... The error is: make: Entering directory `/home/ashaepe/crosstool/crosstool-0.38/build/powerpc-860-linux-gnu/gcc-4.0.1-glibc-2.3.5/build-gcc-core-shared/gcc' cat /home/ashaepe/crosstool/crosstool-0.38/build/powerpc-860-linux-gnu/gcc-4.0.1-glibc-2.3.5/gcc-4.0.1/gcc/config/rs6000/tramp.asm > tramp.S cat /home/ashaepe/crosstool/crosstool-0.38/build/powerpc-860-linux-gnu/gcc-4.0.1-glibc-2.3.5/gcc-4.0.1/gcc/config/rs6000/eabi.asm > eabi.S TARGET_CPU_DEFAULT="" \ HEADERS="auto-host.h ansidecl.h" DEFINES="" \ /bin/sh /home/ashaepe/crosstool/crosstool-0.38/build/powerpc-860-linux-gnu/gcc-4.0.1-glibc-2.3.5/gcc-4.0.1/gcc/mkconfig.sh config.h TARGET_CPU_DEFAULT="\"860\"" \ HEADERS="config/rs6000/rs6000.h config/dbxelf.h config/elfos.h config/svr4.h config/freebsd-spec.h config/rs6000/sysv4.h config/rs6000/linux.h defaults.h" DEFINES="" \ /bin/sh /home/ashaepe/crosstool/crosstool-0.38/build/powerpc-860-linux-gnu/gcc-4.0.1-glibc-2.3.5/gcc-4.0.1/gcc/mkconfig.sh tm.h TARGET_CPU_DEFAULT="" \ HEADERS="auto-host.h ansidecl.h" DEFINES="" \ /bin/sh /home/ashaepe/crosstool/crosstool-0.38/build/powerpc-860-linux-gnu/gcc-4.0.1-glibc-2.3.5/gcc-4.0.1/gcc/mkconfig.sh bconfig.h gcc -c -g -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I/home/ashaepe/crosstool/crosstool-0.38/build/powerpc-860-linux-gnu/gcc-4.0.1-glibc-2.3.5/gcc-4.0.1/gcc -I/home/ashaepe/crosstool/crosstool-0.38/build/powerpc-860-linux-gnu/gcc-4.0.1-glibc-2.3.5/gcc-4.0.1/gcc/build -I/home/ashaepe/crosstool/crosstool-0.38/build/powerpc-860-linux-gnu/gcc-4.0.1-glibc-2.3.5/gcc-4.0.1/gcc/../include -I/home/ashaepe/crosstool/crosstool-0.38/build/powerpc-860-linux-gnu/gcc-4.0.1-glibc-2.3.5/gcc-4.0.1/gcc/../libcpp/include \ -o build/genmodes.o /home/ashaepe/crosstool/crosstool-0.38/build/powerpc-860-linux-gnu/gcc-4.0.1-glibc-2.3.5/gcc-4.0.1/gcc/genmodes.c gcc -c -g -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I/home/ashaepe/crosstool/crosstool-0.38/build/powerpc-860-linux-gnu/gcc-4.0.1-glibc-2.3.5/gcc-4.0.1/gcc -I/home/ashaepe/crosstool/crosstool-0.38/build/powerpc-860-linux-gnu/gcc-4.0.1-glibc-2.3.5/gcc-4.0.1/gcc/build -I/home/ashaepe/crosstool/crosstool-0.38/build/powerpc-860-linux-gnu/gcc-4.0.1-glibc-2.3.5/gcc-4.0.1/gcc/../include -I/home/ashaepe/crosstool/crosstool-0.38/build/powerpc-860-linux-gnu/gcc-4.0.1-glibc-2.3.5/gcc-4.0.1/gcc/../libcpp/include \ -o build/errors.o /home/ashaepe/crosstool/crosstool-0.38/build/powerpc-860-linux-gnu/gcc-4.0.1-glibc-2.3.5/gcc-4.0.1/gcc/errors.c make: *** Keine Regel vorhanden, um das Target »../build-i686-host_pc-linux-gnu/libiberty/libiberty.a«, benötigt von »build/genmodes«, zu erstellen. Schluss. make: Leaving directory `/home/ashaepe/crosstool/crosstool-0.38/build/powerpc-860-linux-gnu/gcc-4.0.1-glibc-2.3.5/build-gcc-core-shared/gcc' Regards, Peter ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |