On 1/28/12, [email protected] <[email protected]> wrote: > Send lfs-support mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://linuxfromscratch.org/mailman/listinfo/lfs-support > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of lfs-support digest..." > > > Today's Topics: > > 1. Re: Another problem: Glibc in Chapter 5.7 (Mario Meier) > 2. Re: Another problem: Glibc in Chapter 5.7 (Andrew Benton) > 3. LFS-7.0 /dev/pts (Baho Utot) > 4. Re: LFS-7.0 /dev/pts (Bruce Dubbs) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 27 Jan 2012 19:30:04 +0100 > From: "Mario Meier" <[email protected]> > Subject: Re: [lfs-support] Another problem: Glibc in Chapter 5.7 > To: LFS Support List <[email protected]> > Message-ID: <[email protected]> > Content-Type: text/plain; charset="utf-8" > > > -------- Original-Message -------- > Date: Thu, 26 Jan 2012 23:47:31 +0000 > From: Andrew Benton <[email protected]> > To: [email protected] > Subject: Re: [lfs-support] Another problem: Glibc in Chapter 5.7 >> On Thu, 26 Jan 2012 20:35:19 +0100 >> "Mario Meier" <[email protected]> wrote: >> >> > Dear Support, >> > >> > I have another problem: Building Glibc (Chapter 5.7) fails during make. >> > >> > This time, I have copied the output immediately: >> > >> > mv -f /mnt/lfs/sources/glibc-build/libc.so.6.new >> /mnt/lfs/sources/glibc-build/libc.so.6 >> > i686-pc-linux-gnu-gcc -nostdlib -nostartfiles -o >> /mnt/lfs/sources/glibc-build/iconv/iconvconfig >> -Wl,-dynamic-linker=/tools/lib/ld-linux.so.2 >> -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both >> /mnt/lfs/sources/glibc-build/csu/crt1.o >> /mnt/lfs/sources/glibc-build/csu/crti.o >> `i686-pc-linux-gnu-gcc --print-file-name=crtbegin.o` >> /mnt/lfs/sources/glibc-build/iconv/iconvconfig.o >> /mnt/lfs/sources/glibc-build/iconv/strtab.o >> /mnt/lfs/sources/glibc-build/iconv/xmalloc.o >> /mnt/lfs/sources/glibc-build/iconv/hash-string.o >> -Wl,-rpath-link=/mnt/lfs/sources/glibc-build:/mnt/lfs/sources/glibc-build/math:/mnt/lfs/sources/glibc-build/elf:/mnt/lfs/sources/glibc-build/dlfcn:/mnt/lfs/sources/glibc-build/nss:/mnt/lfs/sources/glibc-build/nis:/mnt/lfs/sources/glibc-build/rt:/mnt/lfs/sources/glibc-build/resolv:/mnt/lfs/sources/glibc-build/crypt:/mnt/lfs/sources/glibc-build/nptl >> /mnt/lfs/sources/glibc-build/libc.so.6 >> /mnt/lfs/sources/glibc-build/libc_nonshared.a >> /mnt/lfs/sources/glibc-build/elf/l >> d. >> > so -lgcc -lgcc_eh `i686-pc-linux-gnu-gcc --print-file-name=crtend.o` >> /mnt/lfs/sources/glibc-build/csu/crtn.o >> > >> /mnt/lfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/4.6.1/../../../../i686-pc-linux-gnu/bin/ld: >> cannot find -lgcc_eh >> >> It seems something went wrong when you installed gcc. The first pass of >> gcc should be calling itself i686-lfs-linux-gnu, not i686-pc-linux-gnu. > > Why? The book says, $LFS_TGT should be the return value of config.guess of > binutils, which is (in this case) i686-pc-linux-gnu! > >> ld cannot find libgcc_eh.a which should have been installed as part of >> gcc. You gcc is b0rken. I would start again. Make sure you follow the >> book carefully. > > Oh no... > >> >> Andy > -- > "Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ... > Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail > > > ------------------------------ > > Message: 2 > Date: Sat, 28 Jan 2012 00:45:18 +0000 > From: Andrew Benton <[email protected]> > Subject: Re: [lfs-support] Another problem: Glibc in Chapter 5.7 > To: [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset=US-ASCII > > On Fri, 27 Jan 2012 19:30:04 +0100 > "Mario Meier" <[email protected]> wrote: > >> Why? The book says, $LFS_TGT should be the return value of config.guess of >> binutils, which is (in this case) i686-pc-linux-gnu! > > No, the book says $LFS_TGT should be $(uname -m)-lfs-linux-gnu > See: > http://www.linuxfromscratch.org/lfs/view/stable/chapter04/settingenvironment.html > > Andy > > > ------------------------------ > > Message: 3 > Date: Fri, 27 Jan 2012 22:52:34 -0500 > From: Baho Utot <[email protected]> > Subject: [lfs-support] LFS-7.0 /dev/pts > To: LFS Support List <[email protected]> > Message-ID: <[email protected]> > Content-Type: Text/Plain; charset="us-ascii" > > > I have finished my LFS-7.0 build and I have successfully booted it aafter > solving some problems. > > > The symlink /bin/sh to /bin/bash was missing. I am looking into why that > happened, but I see in the chapter06 in the bash section that the link is > not > created by hand. I believe it should have beeen created by the package > installation but it was not. I have made this link by hand to fix this > particular problem. > > > I have the following two issues to correct: > > When it now boots there is a line that states: > mount: mount point /dev/pts does not exist > This appears in the boot sequence > > What is responseable for /dev/pts and why might it be missing? > > The other issue I have is with grub2. Upon trying to install it to the mbr > using grub-install /dev/sda it puked saying that the core.img file was too > big, hereby trashing the grub-legacy boot loader leaving the system > unbootable. I will need to look into what/why/when the cause of the core.img > file being too big. > > Any help would be greatly appreciated > > Salamat > > > ------------------------------ > > Message: 4 > Date: Fri, 27 Jan 2012 22:57:57 -0600 > From: Bruce Dubbs <[email protected]> > Subject: Re: [lfs-support] LFS-7.0 /dev/pts > To: LFS Support List <[email protected]> > Message-ID: <[email protected]> > Content-Type: text/plain; charset=UTF-8; format=flowed > > Baho Utot wrote: >> I have finished my LFS-7.0 build and I have successfully booted it aafter >> solving some problems. >> >> >> The symlink /bin/sh to /bin/bash was missing. I am looking into why that >> happened, but I see in the chapter06 in the bash section that the link is >> not >> created by hand. I believe it should have beeen created by the package >> installation but it was not. I have made this link by hand to fix this >> particular problem. > > It's done in Section 6.6 - Creating Essential Files and Symlinks > >> I have the following two issues to correct: >> >> When it now boots there is a line that states: >> mount: mount point /dev/pts does not exist >> This appears in the boot sequence >> >> What is responseable for /dev/pts and why might it be missing? > > It is mounted as > devpts /dev/pts devpts gid=4,mode=620 0 0 > > I suspect that /dev/pts should be created by udev, you might want to > comment that out of fstab to see if it is created and then try to mount > manually. That's not a final solution, but it might give you some clues. > > The most likely problem is a kernel configuration issue. I don't know > what it would be, but it's not CONFIG_DEVPTS_MULTIPLE_INSTANCES. I > don't have that set either. What I do have set in that area is: > > CONFIG_VT=y > CONFIG_CONSOLE_TRANSLATIONS=y > CONFIG_VT_CONSOLE=y > CONFIG_HW_CONSOLE=y > CONFIG_VT_HW_CONSOLE_BINDING=y > CONFIG_UNIX98_PTYS=y > >> The other issue I have is with grub2. Upon trying to install it to the >> mbr >> using grub-install /dev/sda it puked saying that the core.img file was too >> >> big, hereby trashing the grub-legacy boot loader leaving the system >> unbootable. I will need to look into what/why/when the cause of the >> core.img >> file being too big. > > How big is /boot/core.img? It probably needs to be less than 31K. > > /usr/sbin/grub-install is a script. It's running > > "$grub_mkimage" ${config_opt} -d "${pkglibdir}" -O ${mkimage_target} > --output="${grubdir}/core.${imgext}" > --prefix="${prefix_drive}${relative_grubdir}" $modules > > Have the script print out what it thinks the variables are. If there > are too many $modules, then that needs to be reduced. > > You might also want to rebuild grub and make sure it finds xz. There > have been some issues with that lately. > > > -- Bruce > > > ------------------------------ > > -- > http://linuxfromscratch.org/mailman/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/lfs/faq.html > Unsubscribe: See the above information page > > > End of lfs-support Digest, Vol 2504, Issue 1 > ******************************************** >
-- Sent from my mobile device -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
