On 6/12/08, Marc Kleine-Budde <[EMAIL PROTECTED]> wrote:
> 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?

I have PARALLELMFLAGS=-j5 exported to my environment. I asked earlier
if that was the right way to do it. If I don't export it nothing
builds in parallel.

It is also possible that ptxdist is picking the flag up from something
else that is installed on my system.

>  >>  > 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.

I can't get this to reproduce today which is confusing, I was able to
reproduce it twice yesterday. This is probably a packaging problem in
ubuntu. Maybe the 64b ncurses dev didn't make a symlink that the 32b
package fixed.

Yesterday I uninstalled/reinstalled lib32ncurses5-dev and it
reproduced twice. I did reboot overnight.

[EMAIL PROTECTED]:/home/OSELAS.Toolchain-1.1.1$ gcc -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc
--enable-mpfr --enable-checking=release --build=x86_64-linux-gnu
--host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)


>
>
>  cheers, Marc
>
>  --
>   Marc Kleine-Budde              Phone: +49-231-2826-924
>   Pengutronix - Linux Solutions for Science and Industry
>   Vertretung West/Dortmund     http://www.pengutronix.de
>
>
>


-- 
Jon Smirl
[EMAIL PROTECTED]

--
ptxdist mailing list
[email protected]

Reply via email to