LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Yet another glibc, chapter 6.9 problem... (https://www.linuxquestions.org/questions/linux-from-scratch-13/yet-another-glibc-chapter-6-9-problem-620238/)

gViscardi 02-11-2008 01:46 AM

Yet another glibc, chapter 6.9 problem...
 
Ok, I go through the steps:
Code:

tar -xvf ../glibc-libidn-2.5.1.tar.gz
mv glibc-libidn-2.5.1 libidn
sed -i '/vi_VN.TCVN/d' localedata/SUPPORTED
sed -i \
's|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=/lib/ld-linux.so.2 -o|' \
        scripts/test-installation.pl
sed -i 's|@BASH@|/bin/bash|' elf/ldd.bash.in
mkdir -v ../glibc-build
cd ../glibc-build
../glibc-2.5.1/configure --prefix=/usr \
    --disable-profile --enable-add-ons \
    --enable-kernel=2.6.0 --libexecdir=/usr/lib/glibc
make
make -k check 2>&1 | tee glibc-check-log
grep Error glibc-check-log

I get this:
Code:

make[2]: *** [/sources/glibc-build/dlfcn/bug-atexit3.out] Error 1
make[1]: *** [dlfcn/tests] Error 2
make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
make[2]: *** [/sources/glibc-build/nptl/tst-cancel1.out] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-cancel24.out] Error 127
make[1]: *** [nptl/tests] Error 2
make: *** [check] Error 2

I know the posix/nptl errors arent a problem, but whats bugging me is the bug-atexit3 error. I cant seem to find anyone else with the same problem/solution. I just need to know if its something of a show-stopper, or if I can ignore it. Any help would be appreciated.

If I am lacking in information, please let me know I'll provide anything else I can.

--
Greg
http://hard-wire.pocketwatchmafia.net

lfs_rocks 02-12-2008 04:47 PM

hi..
even i have got that dlfcn error
Quote:

make[2]: *** [/mnt/lfs/sources/glibc-build/dlfcn/bug-atexit3-lib.so] Error 1
in chapter 5....and the followning error in chapter 6.9
Quote:

root:/sources/glibc-build# grep Error glibc-check-log
make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
make[2]: *** [/sources/glibc-build/nptl/tst-attr3.out] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-cancel1.out] Error 1
make[1]: *** [nptl/tests] Error 2
make[2]: *** [/sources/glibc-build/debug/tst-chk3.out] Error 1
make[2]: *** [/sources/glibc-build/debug/tst-lfschk3.out] Error 1
make[1]: *** [debug/tests] Error 2
make[1]: *** [/sources/glibc-build/c++-types-check.out] Error 1
make: *** [check] Error 2
root:/sources/glibc-build#
i started building lfs from the beginning ..now i didnt get any error for glibc chapter 6.9....


for the second time i have got only the posix/annexc.out & /nptl/tst-cancel1.out which can be ignored as per the ebook....

i would be happy if anyone can tell the reason for not getting these errors for the second time....?

THANKS IN ADVANCE....

samwise17 02-15-2008 11:29 PM

I have that exact same bug-atexit3.out error. Unfortunately I don't know any more about it than you.
What hardware do you have? Could it be an test timing out on a old CPU? I'm building LFS on an old scavenged Dell upgraded with a Pentium 3.

samwise17 02-16-2008 01:50 AM

OK I've had a look on google, and it seems to be either
- something to do with not passing the '--with-arch=i<whatever>86' flag to configure
or
- something to do with the toolchain C++ compiler and libs not properly built/symlinked at this stage (g++ and libstdc++).

I'll just ignore it and continue, and if anything breaks then I'll worry.

elninio 10-25-2008 12:10 PM

Quote:

Originally Posted by samwise17 (Post 3058971)
OK I've had a look on google, and it seems to be either
- something to do with not passing the '--with-arch=i<whatever>86' flag to configure
or
- something to do with the toolchain C++ compiler and libs not properly built/symlinked at this stage (g++ and libstdc++).

I'll just ignore it and continue, and if anything breaks then I'll worry.

I get errors in chapter 8 when i try to build the kernel and i can only trace my errors back to this possibility, has anyone here had the same misfortune as me?


All times are GMT -5. The time now is 09:46 PM.