Glibc-2.3.5 32 Bit configuration fails - compiler support for __thread is required

2005-09-10 Thread Basel Al-Mustafa
Hi, Linux From Scratch - Version 7.0-cross-lfs-20050902-x86_64-Multilib Host Distribution - Slackware 10.1 with kernel-2.6.13-x86_64 Section - 10.3. Glibc-2.3.5 32 Bit Libraries Configuring Glibc causes the following error: configure: error: compiler support for __thread is required Here is the

Re: chroot: cannot run command `/tools/bin/env': No such file or directory

2005-09-08 Thread Basel Al-Mustafa
--- Ken Moffat <[EMAIL PROTECTED]> wrote: > I've never seen it done with the path specified as > part of > CROSS_COMPILE, but I don't see why that wouldn't > work :) I managed to build a cross compiled kernel for x86_64 under Slackware but it stops booting. Please refer to the following thread

Re: chroot: cannot run command `/tools/bin/env': No such file or directory

2005-09-07 Thread Basel Al-Mustafa
--- Ken Moffat <[EMAIL PROTECTED]> wrote: > No. You should have built cross-tools which run > on your x86 host and > compile for x86_64, then you used those to > cross-compile tools which > will run as x86_64. When you have used the > cross-tools to build a > 64-bit kernel, and booted that

Re: chroot: cannot run command `/tools/bin/env': No such file or directory

2005-09-07 Thread Basel Al-Mustafa
> You *were* correct in what you did - pick the > system you want to build > *for* (64/32 in your case). > > Ken Do I need to rebuild packages in the previous chapters after cross compiling the kernel? -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscrat

Executing make for Glibc-2.3.5 fails. nptl/sysdeps/x86_64/tls.h:23:47: error: asm/prctl.h: No such file or directory

2005-09-07 Thread Basel Al-Mustafa
Linux From Scratch - Version 7.0-cross-lfs-20050902-x86 Host Distribution - Slackware 10.1 with kernel-2.6.13 Section - 5.8. Glibc-2.3.5 Executing make for Glibc-2.3.5 fails with the following error: nptl/sysdeps/x86_64/tls.h:23:47: error: asm/prctl.h: No such file or directory make[1]: *** [/mnt

Re: chroot: cannot run command `/tools/bin/env': No such file or directory

2005-09-07 Thread Basel Al-Mustafa
--- Ken Moffat <[EMAIL PROTECTED]> wrote: > You are trying to build a 64-bit system, aren't you ? Yes that is true but I think I made a mistake. I followed the instructions under Version 7.0-cross-lfs-20050902-x86_64-Multilib when I should have followed the instructions under Version 7.0-cross-l

Re: chroot: cannot run command `/tools/bin/env': No such file or directory

2005-09-06 Thread Basel Al-Mustafa
Hello, > don't attempt to use a 32-bit config. Where can I find a 64-bit config that I can use as a starting point? > make CROSS_COMPILING=x86_64-pc-linux-gnu- > ARCH=x86_64 menuconfig > > Note the '-' at the end of the CROSS_COMPILING, > this should match the > prefix given to your cross-c

Re: chroot: cannot run command `/tools/bin/env': No such file or directory

2005-09-06 Thread Basel Al-Mustafa
Hi Ken, > Anyway, let me rephrase > the question - you > are starting from a Slackware system, which I > imagine is 32-bit ? If > that is the case, did you cross-compile the kernel ? > (hint, does 'uname > -m' show x86_64 ?) [EMAIL PROTECTED]:~$ uname -m i686 > The cross-lfs book covers a m

Re: chroot: cannot run command `/tools/bin/env': No such file or directory

2005-09-06 Thread Basel Al-Mustafa
I am not sure but I selected "Opteron/Athlon64/Hammer/K8" as the processor family when I compiled the kernel. --- Ken Moffat <[EMAIL PROTECTED]> wrote: > On Tue, 6 Sep 2005, Basel Al-Mustafa wrote: > > > Hello, > > > > Could anyone help me to chroot to L

chroot: cannot run command `/tools/bin/env': No such file or directory

2005-09-06 Thread Basel Al-Mustafa
Hello, Could anyone help me to chroot to LFS? I think it is a bug in Version 7.0-cross-lfs-20050902-x86_64-Multilib since I tried to build the system twice but I got the same error. I followed the book strickly in the two attempts. Linux From Scratch - Version 7.0-cross-lfs-20050902-x86_64-Multil

Re: 'ldd' outputs "not a dynamic executable" after installing Glibc-2.3.5 32 Bit

2005-09-06 Thread Basel Al-Mustafa
Thanks Chris, Is there a way to determine whether the compilations completed successfuly or not? --- Chris Staub <[EMAIL PROTECTED]> wrote: > Basel Al-Mustafa wrote: > > Hello, > > > > Linux From Scratch - Version > > 7.0-cross-lfs-20050902-x86_64-Multilib

'ldd' outputs "not a dynamic executable" after installing Glibc-2.3.5 32 Bit

2005-09-06 Thread Basel Al-Mustafa
Hello, Linux From Scratch - Version 7.0-cross-lfs-20050902-x86_64-Multilib Host Distribution - Slackware 10.1 with kernel-2.6.13 Section - 5.9. Glibc-2.3.5 32 Bit Processor - AMD64 3000+ I have stricktly followed the instructions in the book but executing 'ldd' for the command below outputs "not