Hi! Thanks for your response. Do you release "OSELAS.Toolchain-1.99.3.3" that include the patch?
It is no problem for me, because I test a more recent toolchain at the moment, but perhaps there are other user with a up-to-date glibc... I only want inform you because I cannot read something as related to this problem. Regards, Markus On Thursday 18 June 2009 23:30:21 Marc Kleine-Budde wrote: > Marc Kleine-Budde wrote: > > Hey Markus, > > > > Markus Rathgeb wrote: > >> toolchain: > >> OSELAS.Toolchain-1.99.3.2 > >> > >> ptxconfig: > >> powerpc-603e-linux-gnu_gcc-4.3.2_glibc-2.8_binutils-2.18_kernel-2.6.27- > >> sanitized.ptxconfig > >> > >> 1. Cannot build toolchain with current ptxdist-trunk (rev. 10822). > >> Get the following error: > >> "error in kgen" > > > > yeah, we pushed trunk a bit last week, no time to test with the > > toolchains though, > > > >> 2. Cannot build with "ptxdist-1.99.13". > >> The problem here is IMHO not the ptxdist version but the definition of > >> 'getline' in 'scripts/unifdef.c' and the using of recent glibc (e.g. > >> 2.10.1). Now getline is defined in: /usr/include/stdio.h > > > > sounds reasonable.... > > > >> ------------------------------ > >> target: kernel-headers.install > >> ------------------------------ > >> > >> make -C > >> /home/maggu2810/ptx/toolchain/OSELAS.Toolchain-1.99.3.2/platform- > >> powerpc-603e-linux-gnu-gcc-4.3.2-glibc-2.8-binutils-2.18-kernel-2.6.27- > >> sanitized/build-target/linux-2.6.27 ARCH=powerpc > >> CROSS_COMPILE=we_dont_have_a_cross_compiler_yet- -j2 headers_install > >> INSTALL_HDR_PATH=/opt/OSELAS.Toolchain-1.99.3/powerpc-603e-linux- > >> gnu/gcc-4.3.2-glibc-2.8-binutils-2.18-kernel-2.6.27-sanitized/sysroot- > >> powerpc-603e-linux-gnu/usr > >> make[1]: we_dont_have_a_cross_compiler_yet-gcc: Command not found > >> make[1]: Entering directory > >> `/home/maggu2810/ptx/toolchain/OSELAS.Toolchain-1.99.3.2/platform- > >> powerpc-603e-linux-gnu-gcc-4.3.2-glibc-2.8-binutils-2.18-kernel-2.6.27- > >> sanitized/build-target/linux-2.6.27' > >> CHK include/linux/version.h > >> UPD include/linux/version.h > >> HOSTCC scripts/unifdef > >> scripts/unifdef.c:209: error: conflicting types for 'getline' > >> /usr/include/stdio.h:651: error: previous declaration of 'getline' was > >> here make[2]: make[1]: Leaving directory > > > > I think we have to patch the kernel.... > > > > copy the attached patch into the toolchain: patches/linux-2.6.27/generic > > ^^^^^^^^ > > Marc -- Markus Rathgeb Public Key Server: http://wwwkeys.us.pgp.net/ bzw. hkp://wwwkeys.us.pgp.net/ Public Key Server: http://stinkfoot.org:11371/ bzw. hkp://stinkfoot.org "Erst nachdem wir alles verloren haben, haben wir die Freiheit, alles zu tun." "It's only after we've lost everything, that we're free to do anything!"
signature.asc
Description: This is a digitally signed message part.
-- ptxdist mailing list [email protected]
