Re: [lfs-support] Is it a must to separate Binutils and GCC into Pass 1 and Pass 2?

2012-12-18 Thread Chris Staub
On 12/18/2012 09:07 PM, JIA Pei wrote: > > Thank you so much Bruce... > I proceed to expect 5.45 now > But, I got two test fails as follows. Is this normal? > If you had read the book like you're expected to, you would already know the answer to this. If you can't be bothered to read it, qui

Re: [lfs-support] Is it a must to separate Binutils and GCC into Pass 1 and Pass 2?

2012-12-18 Thread Chris Staub
On 12/18/2012 09:23 PM, JIA Pei wrote: > > Now, fail to build check-0.9.9 ... > The error message is: > > //mnt/lfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/4.7.2/../../../../i686-pc-linux-gnu/bin/ld: > note: 'pthread_create@@GLIBC_2.1' is defined in DSO > /tools/lib/libpthread.so.0 so try adding it

Re: [lfs-support] glibc --enable-kernel=2.6.25? why?

2012-12-18 Thread William Harrington
On Dec 16, 2012, at 8:46 AM, Michael E. Maher wrote: ‘--enable-kernel=version’ This option is currently only useful on GNU/Linux systems. The version parameter should have the form X.Y.Z and describes the smallest version of the Linux kernel the generated library is expected to support. T

Re: [lfs-support] Is it a must to separate Binutils and GCC into Pass 1 and Pass 2?

2012-12-18 Thread JIA Pei
Now, fail to build check-0.9.9 ... The error message is: */mnt/lfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/4.7.2/../../../../i686-pc-linux-gnu/bin/ld: note: 'pthread_create@@GLIBC_2.1' is defined in DSO /tools/lib/libpthread.so.0 so try adding it to the linker command line* */tools/lib/libpthread.s

Re: [lfs-support] Is it a must to separate Binutils and GCC into Pass 1 and Pass 2?

2012-12-18 Thread Bruce Dubbs
JIA Pei wrote: > Thank you so much Bruce... > I proceed to expect 5.45 now > But, I got two test fails as follows. Is this normal? We do not recommend running tests in Chapter 5. They often depend on the host system and we don't know what the arbitrary user has as a host. You are on your o

Re: [lfs-support] Is it a must to separate Binutils and GCC into Pass 1 and Pass 2?

2012-12-18 Thread JIA Pei
Thank you so much Bruce... I proceed to expect 5.45 now But, I got two test fails as follows. Is this normal? * expect-1.8b default remove null behavior FAILED* * Contents of test case:* * * *spawn cat $filename* *expect ab* *set rc [regexp $expect_out(buffer) "ab"]* *

Re: [lfs-support] keyboard-1.15.3 errors on backspace with uk keymap

2012-12-18 Thread Ken Moffat
On Tue, Dec 18, 2012 at 11:41:38AM +, Richard Melville wrote: > > Thanks for the help and the link Ken; I'll have a play when I have more > time. I'm still using "vga=792" on the grub kernel boot line to get the > right (for me) sized screen fonts. Is that still acceptable or is there an > a

Re: [lfs-support] Booting LFS Error Kernel Panic

2012-12-18 Thread spiky
On 18/12/12 01:24, Alexander Spitzer wrote: Hello all, I am having a hard time booting my LFS system, which is on a USB drive. I installed grub on /dev/sdc (the usb relative to the host) and the bios successfully finds GRUB. After around 2.3 seconds, the boot process hangs after printing what

Re: [lfs-support] Is it a must to separate Binutils and GCC into Pass 1 and Pass 2?

2012-12-18 Thread Bruce Dubbs
JIA Pei wrote: > Hi, Thank you Chris. > Thanks for your reply. I now understand a bit more about why we need > Binutils Pass 1 and Pass 2. > > However, I still prefer using Binutils 2.23.1, does that mean I'll have to > create my own patch for Binutils-2.23.1?? > Are you planning to afford the patc

Re: [lfs-support] Is it a must to separate Binutils and GCC into Pass 1 and Pass 2?

2012-12-18 Thread JIA Pei
Hi, Thank you Chris. Thanks for your reply. I now understand a bit more about why we need Binutils Pass 1 and Pass 2. However, I still prefer using Binutils 2.23.1, does that mean I'll have to create my own patch for Binutils-2.23.1?? Are you planning to afford the patches to all newest needed pac

Re: [lfs-support] Booting LFS Error Kernel Panic

2012-12-18 Thread Bruce Dubbs
Richard Melville wrote: >> >>> Now it would be nice for it to work using UUIDs so the booting can >>> be independent of host system. >> >> You need to use an initrd of that. See BLFS. > Would't using GPT instead of MBR be a viable alternative? No. Mounting the root partition is a kernel issue a

Re: [lfs-support] Glibc installation in target machine fails

2012-12-18 Thread Thomas de Roo
On 12/18/12 14:25, Prabhu wrote: > Hi, > I successfully chrooted my target machine and I passed all the way > upto man-page installation, and I stepped into glibc(chapter 6.9). I > performed all the steps till "make" without any error after entering > the make check command Its giving me an erro

Re: [lfs-support] Glibc installation in target machine fails

2012-12-18 Thread Chris Staub
On 12/18/2012 08:25 AM, Prabhu wrote: > Hi, > > Since its a check, I ignored it and I performed with the next step > that's "*make install*" even this fails and throw me an error as > * > *ERROR*: > > make[2]: *** No rule to make target > `/usr/--disable-profile--enable-add-ons--enable-kernel=2.6.2

[lfs-support] Glibc installation in target machine fails

2012-12-18 Thread Prabhu
Hi, I successfully chrooted my target machine and I passed all the way upto man-page installation, and I stepped into glibc(chapter 6.9). I performed all the steps till "make" without any error after entering the make check command Its giving me an error. COMMAND ENTERED*: make -k check 2>&1 | te

Re: [lfs-support] Is it a must to separate Binutils and GCC into Pass 1 and Pass 2?

2012-12-18 Thread Chris Staub
On 12/18/2012 07:51 AM, JIA Pei wrote: > > Hi, Simon: > > The reason why I'm doing that (use binutils-2.23.1 instead of > binutils-2.22) is I don't want to 100% strictly follow LFS book, so that > I might be able to understand how to build my own Linux deeper. > > And, even now, I've got no idea wh

Re: [lfs-support] Is it a must to separate Binutils and GCC into Pass 1 and Pass 2?

2012-12-18 Thread JIA Pei
Hi, Simon: The reason why I'm doing that (use binutils-2.23.1 instead of binutils-2.22) is I don't want to 100% strictly follow LFS book, so that I might be able to understand how to build my own Linux deeper. And, even now, I've got no idea why we need to patch binutils ?? Because without patchi

Re: [lfs-support] Is it a must to separate Binutils and GCC into Pass 1 and Pass 2?

2012-12-18 Thread Eric Hearn
Restart building all of your tools, pay attention to the cp command, it requires admin privileges. On Tue, Dec 18, 2012 at 7:22 PM, Simon Geard wrote: > On Mon, 2012-12-17 at 17:01 -0800, JIA Pei wrote: >> Unfortunately, the reason why I'm using the latest version of Binutils >> is deu to the cur

Re: [lfs-support] keyboard-1.15.3 errors on backspace with uk keymap

2012-12-18 Thread Richard Melville
I've got a few files at http://www.linuxfromscratch.org/~ken/ > in the keyboard-items and fonts directories - note that > LatGrkCyr-8x16 is a 512-ish character font and ships in kbd. It > comes from the sigma fonts there which are very much "roll your > own" but do allow a 256 character font if t

Re: [lfs-support] Booting LFS Error Kernel Panic

2012-12-18 Thread Richard Melville
> > > Now it would be nice for it to work using UUIDs so the booting can > > be independent of host system. > > You need to use an initrd of that. See BLFS. > >-- Bruce > > Would't using GPT instead of MBR be a viable alternative? Richard -- http://linuxfromscratch.org/mailman/listinfo/lfs-s

Re: [lfs-support] Is it a must to separate Binutils and GCC into Pass 1 and Pass 2?

2012-12-18 Thread Simon Geard
On Mon, 2012-12-17 at 17:01 -0800, JIA Pei wrote: > Unfortunately, the reason why I'm using the latest version of Binutils > is deu to the current wget-list: > http://www.linuxfromscratch.org/lfs/view/development/wget-list > > However, on the book, it's still using binutils-2.22 > http://www.linu

[lfs-support] LFS Issues with Windows 8

2012-12-18 Thread Alexander Spitzer
Hello all, I have been transferring an LFS system on a USB drive around various computers and it works for all except a new laptop running Windows 8. In that case, the BIOS (or is it UEFI?) does not read (or reads and discards) the grub loader on the USB. There is no way to select the USB drive