Hi, let's continue on the ptxdist mailinglist!
Jon Smirl wrote: >> If you don't do enything, you will end up with "-j<number of cores> x 2" >> If you don't want to build a programm in parallel, edit the >> corresponding makefile, look for the compile rule and change >> "$(PARALLELMFLAGS)" into "$(PARALLELMFLAGS_BROKEN)". (See attached patch) >> >> >> > make[3]: Entering directory >> > `/home/OSELAS.Toolchain-1.1.1/build-target/glibc-2.5/csu' >> > make[3]: warning: -jN forced in submake: disabling jobserver mode. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Why do we have these warnings here? Have you set some kind of PARALLELMFLAGS manually? >> > make[3]: Nothing to be done for `others'. >> > make[3]: Leaving directory >> > `/home/OSELAS.Toolchain-1.1.1/build-target/glibc-2.5/csu' >> > make -j5 subdir=iconv -C iconv ..=../ others >> > make[3]: Entering directory >> > `/home/OSELAS.Toolchain-1.1.1/build-target/glibc-2.5/iconv' >> > make[3]: warning: -jN forced in submake: disabling jobserver mode. >> > make[3]: Leaving directory >> > `/home/OSELAS.Toolchain-1.1.1/build-target/glibc-2.5/iconv' >> > make[3]: Entering directory >> > `/home/OSELAS.Toolchain-1.1.1/build-target/glibc-2.5/iconv' >> > make[3]: warning: -jN forced in submake: disabling jobserver mode. >> > powerpc-603e-linux-gnu-gcc iconv_charmap.c -c -std=gnu99 -O2 -Wall >> > -Winline -Wwrite-strings -fmerge-all-constants -g -mnew-mnemonics >> > -Wstrict-prototypes -mlong-double-128 -I../locale/programs >> > -I../include >> -I/home/OSELAS.Toolchain-1.1.1/build-target/glibc-2.5-build/iconv >> > -I/home/OSELAS.Toolchain-1.1.1/build-target/glibc-2.5-build >> > -I../sysdeps/powerpc/powerpc32/elf -I../sysdeps/powerpc/elf >> > -I../sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu >> > -I../sysdeps/powerpc/powerpc32/fpu >> > -I../nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32 >> > -I../sysdeps/unix/sysv/linux/powerpc/powerpc32 >> > -I../nptl/sysdeps/unix/sysv/linux/powerpc >> > -I../sysdeps/unix/sysv/linux/powerpc -I../sysdeps/ieee754/ldbl-128ibm >> > -I../sysdeps/ieee754/ldbl-opt -I../nptl/sysdeps/unix/sysv/linux >> > -I../nptl/sysdeps/pthread -I../sysdeps/pthread >> > -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common >> > -I../sysdeps/unix/mman -I../sysdeps/unix/inet >> > -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv >> > -I../sysdeps/unix/powerpc -I../nptl/sysdeps/unix -I../sysdeps/unix >> > -I../sysdeps/posix -I../sysdeps/powerpc/powerpc32 >> > -I../sysdeps/wordsize-32 -I../sysdeps/powerpc/fpu >> > -I../nptl/sysdeps/powerpc -I../sysdeps/powerpc >> > -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 >> > -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic >> > -I../nptl -I.. -I../libio -I. -nostdinc -isystem >> > >> /opt/OSELAS.Toolchain-1.1.1/powerpc-603e-linux-gnu/gcc-4.1.2-glibc-2.5-kernel-2.6.18/lib/gcc/powerpc-603e-linux-gnu/4.1.2/include >> > -isystem >> /opt/OSELAS.Toolchain-1.1.1/powerpc-603e-linux-gnu/gcc-4.1.2-glibc-2.5-kernel-2.6.18/sysroot-powerpc-603e-linux-gnu/usr/include >> > -D_LIBC_REENTRANT -include ../include/libc-symbols.h >> > -DNOT_IN_libc -o >> > >> /home/OSELAS.Toolchain-1.1.1/build-target/glibc-2.5-build/iconv/iconv_charmap.o >> > -MD -MP -MF >> /home/OSELAS.Toolchain-1.1.1/build-target/glibc-2.5-build/iconv/iconv_charmap.o.dt >> > -MT >> /home/OSELAS.Toolchain-1.1.1/build-target/glibc-2.5-build/iconv/iconv_charmap.o >> > make[3]: *** No rule to make target >> > >> `/home/OSELAS.Toolchain-1.1.1/build-target/glibc-2.5-build/iconv/charmap.o', >> > needed by `others'. Stop. >> Okay, it worked on the 8 core with -j16 and on my 2 core with -8. >> Anyway, try the attached patch. [...] >> > checking for library containing gethostbyname... none required >> > checking for library containing socketpair... none required >> > checking for library containing waddstr... no >> > checking for library containing tgetent... no >> > configure: error: no termcap library found >> >> >> Okay - it says "no termcap" library found, that means "I cannot find any >> library that contains termcap stuff". In other words, it will work >> perfectly with libncurses. >> >> That's the output of my system: >> >> checking for library containing waddstr... -lncurses >> checking for library containing tgetent... none required >> checking for ld used by GCC... ld >> checking if the linker (ld) is GNU ld... yes >> checking for shared library run path origin... done >> >> Please ensure that you have libncurses-dev installed. Please send me the >> output of "apt-cache policy libncurses5-dev". > > I've always had libncurses5 installed. Whatever it is looking for is > only in the 32b package, not the 64b one. > > [EMAIL PROTECTED]:~$ apt-cache policy libncurses5-dev > libncurses5-dev: > Installed: 5.6+20071124-1ubuntu2 > Candidate: 5.6+20071124-1ubuntu2 > Version table: > *** 5.6+20071124-1ubuntu2 0 > 500 http://mirrors.us.kernel.org hardy/main Packages > 100 /var/lib/dpkg/status > [EMAIL PROTECTED]:~$ > > [EMAIL PROTECTED]:~$ apt-cache policy lib32ncurses5-dev > lib32ncurses5-dev: > Installed: 5.6+20071124-1ubuntu2 > Candidate: 5.6+20071124-1ubuntu2 > Version table: > *** 5.6+20071124-1ubuntu2 0 > 500 http://mirrors.us.kernel.org hardy/main Packages > 100 /var/lib/dpkg/status > [EMAIL PROTECTED]:~$ what is your default compiler? "gcc -v" ouput please. Please uninstall the lib32ncurses5-dev, start a toolchain buld and send me the file "build-cross/gdb-6.6/config.log" after cross-gdb breaks. cheers, Marc -- Marc Kleine-Budde Phone: +49-231-2826-924 Pengutronix - Linux Solutions for Science and Industry Vertretung West/Dortmund http://www.pengutronix.de
signature.asc
Description: OpenPGP digital signature
-- ptxdist mailing list ptxdist@pengutronix.de