LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 07-23-2005, 12:30 AM   #16
kjordan
Member
 
Registered: Jul 2004
Distribution: LFS, I felt the itch and scratched it
Posts: 227

Rep: Reputation: 31

Make sure your LFS variable is set, that's about the only thing I think that could be wrong with it. But then again I'd imagine the error would be different.
 
Old 07-23-2005, 02:05 AM   #17
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
Hi kjordan,

Quote:
Make sure your LFS variable is set, .....
Following steps were performed after starting the PC

[satimis@localhost ~]$ su -
Password:
[root@localhost ~]# export LFS=/mnt/lfs
[root@localhost ~]# mount /dev/hda6 $LFS
[root@localhost ~]# mkdir -p $LFS
[root@localhost ~]# echo $LFS
/mnt/lfs
[root@localhost ~]# mkdir -p $LFS/{proc,sys}
[root@localhost ~]# mount -t proc proc $LFS/proc
[root@localhost ~]# mount -t sysfs sysfs $LFS/sys
[root@localhost ~]# mount -f -t tmpfs tmpfs $LFS/dev
[root@localhost ~]# mount -f -t tmpfs tmpfs $LFS/dev/shm
[root@localhost ~]# mount -f -t devpts -o gid=4,mode=620 devpts $LFS/dev/pts
[root@localhost ~]# chroot "$LFS" /tools/bin/env -i HOME=/root TERM="$TERM" PS1='\u:\w\$ '
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin
/tools/bin/bash --login +h
Code:
/tools/bin/env: /tools/bin/bash: No such file or
directory
I did pass "chroot" on LFS 6.0 but failed on LFS 6.1. The same FC3 Host.

This PC has anoterh HD running Debian mounted on mobile rack. I don't know whether it has sufficient space for building LFS. I'll find it out later. However I'm considering using LiveCD to build LFS.

B.R.
satimis
 
Old 07-24-2005, 11:22 AM   #18
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
Hi kjordan and folks,

I think I should start LFS again using another Host instead of FC. Hereinunder are extracts of document found from "Linuxfromscratch.org"
Code:
<snip>

> it is hard to do so with the unknown future RedHat extensions in mind, 
> but it either has to be done or too-new hosts should be blacklisted 
> (thus making LFS live CD the only officially supported host - but that's 
> against the spirit of LFS).

To some extent, I agree with your suggestion here. Since FC 
came out, there's been several run-ins with LFS. I think, to a large 
extent, simply because FC is too bleeding-edge. And though LFS trunk 
tries to stay up-to-speed, it takes longer for us to successfully 
incorporate new technology than it does for a project like FC to produce 
and release (for several reasons).  So, at the least, I think it might 
be a good idea to discourage using the latest version of FC somewhere 
in the book.

Another option is to apply the FC2\3 workaround permanently - change
the book instructions to download, compile and use e2fsprogs from LFS
to create the LFS partition always, and never use the host tools.

Although that would work for all e2fs problems, I can forsee other FC
related tool issues, so might not be as useful as it could be.

<snip>

...but given the frequency of the issue with recent FC releases, it
may be better to *always* apply the workaround, regardless of the host
- which will eliminate the problem completely. We can then add other
workarounds as required.

<snip>

>>Indeed. And I'm not sure about that one. I know there's been
>>reports before now concerning issues with FC4 and ext3, but I can't
>>remember the details.
> 
> Are you thinking about the issue with extra attributes that e2fsprogs once 
> upon a time couldn't process? If I am remembering the right issue (it's been 
> a while), that issue has have been fixed in the current e2fsprogs version 
> that we use with LFS now.

No, the issue reappears every time RedHat adds new attributes. Given 
that installation from RedHat is almost always a downgrade, some text 
has to be added to the book concerning this subject. I understand that 
it is hard to do so with the unknown future RedHat extensions in mind, 
but it either has to be done or too-new hosts should be blacklisted 
(thus making LFS live CD the only officially supported host - but 
that's against the spirit of LFS).
I used the FC3 Host tool to partition the hard drive and to create file system "ext3" as well. If the abovementioned is true I'm expecting more problem will come.

I'll find a spare HD to continue buidling LFS. Please advise which distro to be used, or using LFS LiveCD

B.R.
satimis
 
Old 07-24-2005, 08:11 PM   #19
kjordan
Member
 
Registered: Jul 2004
Distribution: LFS, I felt the itch and scratched it
Posts: 227

Rep: Reputation: 31
Ah, that explains it. Using an liveCD works extremely well, although you'll have more steps to repeat if you restart, such as recreating the lfs user (although if you can get through chapter 5 without restarting, that doesn't matter).
 
Old 07-25-2005, 04:09 AM   #20
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
Hi kjordan,

While searching for a spair HD to make another round I have following discovery on redoing

5.11. GCC-3.4.3 - Pass 2
http://www.linuxfromscratch.org/lfs/...gcc-pass2.html

lfs:/mnt/lfs/sources/$ ls -l | grep gcc
Code:
drwxr-xr-x  18 lfs  lfs       4096 Nov  5  2004 gcc-3.4.3
-rw-r--r--   1 lfs  lfs      12526 Jul  8 11:22 gcc-3.4.3-linkonce-1.patch
-rw-r--r--   1 lfs  lfs       1111 Jul  8 11:22 gcc-3.4.3-no_fixincludes-1.patch
-rw-r--r--   1 lfs  lfs      14470 Jul  8 11:22 gcc-3.4.3-specs-2.patch
-rw-r--r--   1 lfs  lfs   27425338 Jul  8 11:22 gcc-3.4.3.tar.bz2
drwxr-xr-x   5 lfs  lfs       4096 Jul 23 09:37 gcc-build
both gcc patch files are there.

lfs:/mnt/lfs/sources$ cd gcc-3.4.3
lfs:/mnt/lfs/sources/gcc-3.4.3$ expect -c "spawn ls"
Code:
spawn ls
lfs:/mnt/lfs/sources/gcc-3.4.3$ patch -Np1 -i ../gcc-3.4.3-no_fixincludes-1.patch
Code:
patching file gcc/Makefile.in
lfs:/mnt/lfs/sources/gcc-3.4.3$ patch -Np1 -i ../gcc-3.4.3-specs-2.patch
Code:
patching file gcc/config/alpha/linux-elf.h
patching file gcc/config/arm/linux-elf.h
patching file gcc/config/i386/kfreebsdgnu.h
patching file gcc/config/i386/linux.h
patching file gcc/config/i386/linux64.h
patching file gcc/config/ia64/linux.h
patching file gcc/config/linux.h
patching file gcc/config/m32r/linux.h
patching file gcc/config/m68k/linux.h
patching file gcc/config/mips/linux.h
patching file gcc/config/mips/linux64.h
patching file gcc/config/mn10300/linux.h
patching file gcc/config/pa/pa-linux.h
patching file gcc/config/rs6000/linux64.h
patching file gcc/config/rs6000/sysv4.h
patching file gcc/config/s390/linux.h
patching file gcc/config/sh/linux.h
patching file gcc/config/sparc/linux.h
patching file gcc/config/sparc/linux64.h
patching file gcc/config/xtensa/linux.h
lfs:/mnt/lfs/sources/gcc-3.4.3$ mkdir ../gcc-build
Code:
mkdir: cannot create directory `../gcc-build': File exists
At this juncture I have a consideration;

On 5.4. GCC-3.4.3 - Pass 1
http://www.linuxfromscratch.org/lfs/...gcc-pass1.html

There I could not find instruction to remove "gcc-3.4.3", the directory. Maybe it has been mentioned somewhere according to my recollection. However here it mentioned "Create a separate build directory AGAIN"

Finally I continued as follows;
Removed the existing "/gcc-build" directory and its content created on GCC-3.4.3 - Pass 1. As safety measure I did not apply "rm -rf ../gcc-build". I started Konqueror as Root of FC3 Host to do the job.

Moved on;
lfs:/mnt/lfs/sources/gcc-3.4.3$ mkdir ../gcc-build
lfs:/mnt/lfs/sources/gcc-3.4.3$ cd ../gcc-build/
lfs:/mnt/lfs/sources/gcc-build$ ../gcc-3.4.3/configure --prefix=/tools \
> --libexecdir=/tools/lib --with-local-prefix=/tools \
> --enable-clocale=gnu --enable-shared \
> --enable-threads=posix --enable-__cxa_atexit \
> --enable-languages=c,c++ --disable-libstdcxx-pch
Code:
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /tools/bin/install -c
*** This configuration is not supported in the following subdirectories:
     target-libf2c target-libffi target-boehm-gc target-zlib target-libjava zlib fastjar target-libobjc
    (Any other directories should still work fine.)
checking for i686-pc-linux-gnu-ar... no
checking for ar... ar
checking for i686-pc-linux-gnu-as... no
checking for as... as
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... dlltool
checking for i686-pc-linux-gnu-ld... /mnt/lfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld
checking for i686-pc-linux-gnu-nm... no
checking for nm... nm
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-linux-gnu-windres... no
checking for windres... windres
checking for i686-pc-linux-gnu-objcopy... no
checking for objcopy... objcopy
checking for i686-pc-linux-gnu-objdump... no
checking for objdump... objdump
checking for i686-pc-linux-gnu-ar... no
checking for ar... ar
checking for i686-pc-linux-gnu-as... no
checking for as... as
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... dlltool
checking for i686-pc-linux-gnu-ld... no
checking for ld... ld
checking for i686-pc-linux-gnu-nm... no
checking for nm... nm
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-linux-gnu-windres... no
checking for windres... windres
checking whether to enable maintainer-specific portions of Makefiles... no
updating cache ./config.cache
creating ./config.status
creating Makefile
lfs:/mnt/lfs/sources/gcc-build$ make
lfs:/mnt/lfs/sources/gcc-build$ make -k check
Code:
......

                === gcc tests ===

Schedule of variations:
    unix

Running target unix
Using /tools/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /tools/share/dejagnu/config/unix.exp as generic interface file for target.
Using /mnt/lfs/sources/gcc-3.4.3/gcc/testsuite/config/default.exp as tool-and-target-specific interface file.
......
FAIL: gcc.dg/pch/cpp-1.c -O0 -g (test for excess errors)
FAIL: gcc.dg/pch/cpp-1.c -O0 -g assembly comparison
FAIL: gcc.dg/pch/cpp-1.c  -O1  (test for excess errors)
FAIL: gcc.dg/pch/cpp-1.c  -O3 -fomit-frame-pointer  (test for excess errors)
FAIL: gcc.dg/pch/cpp-1.c  -O3 -fomit-frame-pointer  assembly comparison
FAIL: gcc.dg/pch/cpp-1.c  -Os  assembly comparison
FAIL: gcc.dg/pch/cpp-2.c  -Os  assembly comparison
FAIL: gcc.dg/pch/decl-1.c -O0 -g (test for excess errors)
FAIL: gcc.dg/pch/decl-1.c  -O2  (test for excess errors)
FAIL: gcc.dg/pch/decl-1.c  -O3 -fomit-frame-pointer  assembly comparison
FAIL: gcc.dg/pch/decl-2.c  -O1  (test for excess errors)
FAIL: gcc.dg/pch/decl-2.c  -O2  (test for excess errors)
FAIL: gcc.dg/pch/decl-3.c -O0 -g (test for excess errors)
FAIL: gcc.dg/pch/decl-3.c  -O1  (test for excess errors)
FAIL: gcc.dg/pch/decl-3.c  -O3 -fomit-frame-pointer  (test for excess errors)
FAIL: gcc.dg/pch/decl-3.c  -O3 -g  (test for excess errors)
FAIL: gcc.dg/pch/decl-5.c  -O1  assembly comparison
FAIL: gcc.dg/pch/decl-5.c  -O2  (test for excess errors)
FAIL: gcc.dg/pch/decl-5.c  -O3 -fomit-frame-pointer  assembly comparison
FAIL: gcc.dg/pch/empty.c  -O0  assembly comparison
FAIL: gcc.dg/pch/empty.c  -O3 -g  (test for excess errors)
FAIL: gcc.dg/pch/except-1.c -O0 -g (test for excess errors)
FAIL: gcc.dg/pch/except-1.c  -O2  (test for excess errors)
FAIL: gcc.dg/pch/except-1.c  -O3 -fomit-frame-pointer  (test for excess errors)
FAIL: gcc.dg/pch/global-1.c -O0 -g assembly comparison
FAIL: gcc.dg/pch/global-1.c  -O1  (test for excess errors)
FAIL: gcc.dg/pch/global-1.c  -O3 -fomit-frame-pointer  (test for excess errors)
FAIL: gcc.dg/pch/inline-1.c -O0 -g (test for excess errors)
FAIL: gcc.dg/pch/inline-1.c  -O2  (test for excess errors)
FAIL: gcc.dg/pch/inline-2.c -O0 -g (test for excess errors)
FAIL: gcc.dg/pch/inline-2.c  -O0  (test for excess errors)
FAIL: gcc.dg/pch/inline-2.c  -O0  assembly comparison
FAIL: gcc.dg/pch/inline-2.c  -O1  assembly comparison
FAIL: gcc.dg/pch/inline-2.c  -O2  assembly comparison
FAIL: gcc.dg/pch/inline-3.c  -O2  (test for excess errors)
FAIL: gcc.dg/pch/inline-3.c  -Os  (test for excess errors)
FAIL: gcc.dg/pch/inline-4.c -O0 -g (test for excess errors)
FAIL: gcc.dg/pch/inline-4.c  -O0  (test for excess errors)
FAIL: gcc.dg/pch/inline-4.c  -O3 -g  (test for excess errors)
FAIL: gcc.dg/pch/inline-4.c  -Os  (test for excess errors)
FAIL: gcc.dg/pch/macro-1.c  -O3 -g  (test for excess errors)
FAIL: gcc.dg/pch/macro-2.c  -Os  (test for excess errors)
FAIL: gcc.dg/pch/macro-3.c -O0 -g (test for excess errors)
FAIL: gcc.dg/pch/macro-3.c  -O0  (test for excess errors)
FAIL: gcc.dg/pch/macro-3.c  -O2  assembly comparison
FAIL: gcc.dg/pch/macro-3.c  -Os  assembly comparison
FAIL: gcc.dg/pch/static-1.c  -O2  (test for excess errors)
FAIL: gcc.dg/pch/static-1.c  -O3 -fomit-frame-pointer  (test for excess errors)
FAIL: gcc.dg/pch/static-2.c  -O2  (test for excess errors)
FAIL: gcc.dg/pch/static-2.c  -O3 -g  assembly comparison
FAIL: gcc.dg/pch/static-2.c  -Os  (test for excess errors)
FAIL: gcc.dg/pch/static-3.c  -O1  (test for excess errors)
FAIL: gcc.dg/pch/static-3.c  -O3 -fomit-frame-pointer  (test for excess errors)
Running /mnt/lfs/sources/gcc-3.4.3/gcc/testsuite/gcc.dg/special/mips-abi.exp ...
......
                === gcc Summary ===

......
                === g++ tests ===

Schedule of variations:
    unix

Running target unix
....
Running /mnt/lfs/sources/gcc-3.4.3/gcc/testsuite/g++.old-deja/old-deja.exp ...
WARNING: g++.old-deja/g++.mike/p10769a.C compilation failed to produce executable
WARNING: g++.old-deja/g++.other/enum5.C compilation failed to produce executable
XPASS: g++.old-deja/g++.other/init5.C execution test
WARNING: g++.old-deja/g++.pt/friend44.C compilation failed to produce executable

                === g++ Summary ===
.....

else echo "WARNING: could not find \`runtest'" 1>&2; :;\
fi
WARNING: Couldn't find the global config file.
Test Run By lfs on Mon Jul 25 05:33:35 2005
Native configuration is i686-pc-linux-gnu

                === libstdc++ tests ===

Schedule of variations:
    unix

XPASS: 22_locale/locale/cons/12658_thread.cc execution test
FAIL: ext/enc_filebuf/char/13189.cc (test for excess errors)
WARNING: ext/enc_filebuf/char/13189.cc compilation failed to produce executable
FAIL: ext/enc_filebuf/wchar_t/13189.cc (test for excess errors)
WARNING: ext/enc_filebuf/wchar_t/13189.cc compilation failed to produce executable

                === libstdc++ Summary ===

make[3]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
make[1]: *** [check-recursive] Error 1
make[1]: Target `check' not remade because of errors.
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
make: *** [check-target-libstdc++-v3] Error 2
make[1]: Entering directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libiberty'
make[2]: Entering directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libiberty/testsuite'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libiberty/testsuite'
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libiberty'
make: Target `check' not remade because of errors.
lfs:/mnt/lfs/sources/gcc-build$ ../gcc-3.4.3/contrib/test_summary
Code:
cat <<'EOF' |
LAST_UPDATED: Obtained from CVS: -rgcc_3_4_3_release

Native configuration is i686-pc-linux-gnu

                === g++ tests ===


Running target unix
XPASS: g++.dg/rtti/tinfo1.C scan-assembler _ZTIP9CTemplateIhE:
XPASS: g++.dg/rtti/tinfo1.C scan-assembler-not .globl[ \\t]+_ZTIP9CTemplateIhE
WARNING: g++.old-deja/g++.mike/p10769a.C compilation failed to produce executable
WARNING: g++.old-deja/g++.other/enum5.C compilation failed to produce executable
XPASS: g++.old-deja/g++.other/init5.C execution test
WARNING: g++.old-deja/g++.pt/friend44.C compilation failed to produce executable

                === g++ Summary ===

# of expected passes            9730
# of unexpected successes       3
# of expected failures          71
# of unsupported tests          43
/mnt/lfs/sources/gcc-build/gcc/testsuite/../g++ version 3.4.3

                === gcc tests ===


Running target unix
FAIL: gcc.c-torture/execute/va-arg-25.c execution,  -Os
FAIL: gcc.dg/pch/cpp-1.c -O0 -g (test for excess errors)
FAIL: gcc.dg/pch/cpp-1.c -O0 -g assembly comparison
FAIL: gcc.dg/pch/cpp-1.c  -O1  (test for excess errors)
FAIL: gcc.dg/pch/cpp-1.c  -O3 -fomit-frame-pointer  (test for excess errors)
FAIL: gcc.dg/pch/cpp-1.c  -O3 -fomit-frame-pointer  assembly comparison
FAIL: gcc.dg/pch/cpp-1.c  -Os  assembly comparison
FAIL: gcc.dg/pch/cpp-2.c  -Os  assembly comparison
FAIL: gcc.dg/pch/decl-1.c -O0 -g (test for excess errors)
FAIL: gcc.dg/pch/decl-1.c  -O2  (test for excess errors)
FAIL: gcc.dg/pch/decl-1.c  -O3 -fomit-frame-pointer  assembly comparison
FAIL: gcc.dg/pch/decl-2.c  -O1  (test for excess errors)
FAIL: gcc.dg/pch/decl-2.c  -O2  (test for excess errors)
FAIL: gcc.dg/pch/decl-3.c -O0 -g (test for excess errors)
FAIL: gcc.dg/pch/decl-3.c  -O1  (test for excess errors)
FAIL: gcc.dg/pch/decl-3.c  -O3 -fomit-frame-pointer  (test for excess errors)
FAIL: gcc.dg/pch/decl-3.c  -O3 -g  (test for excess errors)
FAIL: gcc.dg/pch/decl-5.c  -O1  assembly comparison
FAIL: gcc.dg/pch/decl-5.c  -O2  (test for excess errors)
FAIL: gcc.dg/pch/decl-5.c  -O3 -fomit-frame-pointer  assembly comparison
FAIL: gcc.dg/pch/empty.c  -O0  assembly comparison
FAIL: gcc.dg/pch/empty.c  -O3 -g  (test for excess errors)
FAIL: gcc.dg/pch/except-1.c -O0 -g (test for excess errors)
FAIL: gcc.dg/pch/except-1.c  -O2  (test for excess errors)
FAIL: gcc.dg/pch/except-1.c  -O3 -fomit-frame-pointer  (test for excess errors)
FAIL: gcc.dg/pch/global-1.c -O0 -g assembly comparison
FAIL: gcc.dg/pch/global-1.c  -O1  (test for excess errors)
FAIL: gcc.dg/pch/global-1.c  -O3 -fomit-frame-pointer  (test for excess errors)
FAIL: gcc.dg/pch/inline-1.c -O0 -g (test for excess errors)
FAIL: gcc.dg/pch/inline-1.c  -O2  (test for excess errors)
FAIL: gcc.dg/pch/inline-2.c -O0 -g (test for excess errors)
FAIL: gcc.dg/pch/inline-2.c  -O0  (test for excess errors)
FAIL: gcc.dg/pch/inline-2.c  -O0  assembly comparison
FAIL: gcc.dg/pch/inline-2.c  -O1  assembly comparison
FAIL: gcc.dg/pch/inline-2.c  -O2  assembly comparison
FAIL: gcc.dg/pch/inline-3.c  -O2  (test for excess errors)
FAIL: gcc.dg/pch/inline-3.c  -Os  (test for excess errors)
FAIL: gcc.dg/pch/inline-4.c -O0 -g (test for excess errors)
FAIL: gcc.dg/pch/inline-4.c  -O0  (test for excess errors)
FAIL: gcc.dg/pch/inline-4.c  -O3 -g  (test for excess errors)
FAIL: gcc.dg/pch/inline-4.c  -Os  (test for excess errors)
FAIL: gcc.dg/pch/macro-1.c  -O3 -g  (test for excess errors)
FAIL: gcc.dg/pch/macro-2.c  -Os  (test for excess errors)
FAIL: gcc.dg/pch/macro-3.c -O0 -g (test for excess errors)
FAIL: gcc.dg/pch/macro-3.c  -O0  (test for excess errors)
FAIL: gcc.dg/pch/macro-3.c  -O2  assembly comparison
FAIL: gcc.dg/pch/macro-3.c  -Os  assembly comparison
FAIL: gcc.dg/pch/static-1.c  -O2  (test for excess errors)
FAIL: gcc.dg/pch/static-1.c  -O3 -fomit-frame-pointer  (test for excess errors)
FAIL: gcc.dg/pch/static-2.c  -O2  (test for excess errors)
FAIL: gcc.dg/pch/static-2.c  -O3 -g  assembly comparison
FAIL: gcc.dg/pch/static-2.c  -Os  (test for excess errors)
FAIL: gcc.dg/pch/static-3.c  -O1  (test for excess errors)
FAIL: gcc.dg/pch/static-3.c  -O3 -fomit-frame-pointer  (test for excess errors)

                === gcc Summary ===

# of expected passes            24797
# of unexpected failures        54
# of expected failures          70
# of untested testcases         42
# of unsupported tests          200
/mnt/lfs/sources/gcc-build/gcc/xgcc version 3.4.3


                === libstdc++-v3 check-abi Summary ===

# of added symbols:              9
# of missing symbols:            0
# of incompatible symbols:       0

using: /mnt/lfs/sources/gcc-3.4.3/libstdc++-v3/config/abi/i486-linux-gnu/baseline_symbols.txt

                === libstdc++ tests ===


Running target unix
XPASS: 22_locale/locale/cons/12658_thread.cc execution test
FAIL: ext/enc_filebuf/char/13189.cc (test for excess errors)
WARNING: ext/enc_filebuf/char/13189.cc compilation failed to produce executable
FAIL: ext/enc_filebuf/wchar_t/13189.cc (test for excess errors)
WARNING: ext/enc_filebuf/wchar_t/13189.cc compilation failed to produce executable

                === libstdc++ Summary ===

# of expected passes            2718
# of unexpected failures        2
# of unexpected successes       1
# of expected failures          6

Compiler version: 3.4.3
Platform: i686-pc-linux-gnu
configure flags: --prefix=/tools --libexecdir=/tools/lib --with-local-prefix=/tools --enable-clocale=gnu --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-languages=c,c++ --disable-libstdcxx-pch
EOF
Mail -s "Results for 3.4.3 testsuite on i686-pc-linux-gnu" gcc-testresults@gcc.gnu.org &&
mv /mnt/lfs/sources/gcc-build/./gcc/testsuite/g++.sum /mnt/lfs/sources/gcc-build/./gcc/testsuite/g++.sum.sent &&
mv /mnt/lfs/sources/gcc-build/./gcc/testsuite/gcc.sum /mnt/lfs/sources/gcc-build/./gcc/testsuite/gcc.sum.sent &&
mv /mnt/lfs/sources/gcc-build/./i686-pc-linux-gnu/libstdc++-v3/testsuite/libstdc++-abi.sum /mnt/lfs/sources/gcc-build/./i686-pc-linux-gnu/libstdc++-v3/testsuite/libstdc++-abi.sum.sent &&
mv /mnt/lfs/sources/gcc-build/./i686-pc-linux-gnu/libstdc++-v3/testsuite/libstdc++.sum /mnt/lfs/sources/gcc-build/./i686-pc-linux-gnu/libstdc++-v3/testsuite/libstdc++.sum.sent &&
mv /mnt/lfs/sources/gcc-build/./gcc/testsuite/g++.log /mnt/lfs/sources/gcc-build/./gcc/testsuite/g++.log.sent &&
mv /mnt/lfs/sources/gcc-build/./gcc/testsuite/gcc.log /mnt/lfs/sources/gcc-build/./gcc/testsuite/gcc.log.sent &&
mv /mnt/lfs/sources/gcc-build/./i686-pc-linux-gnu/libstdc++-v3/testsuite/libstdc++-abi.log /mnt/lfs/sources/gcc-build/./i686-pc-linux-gnu/libstdc++-v3/testsuite/libstdc++-abi.log.sent &&
mv /mnt/lfs/sources/gcc-build/./i686-pc-linux-gnu/libstdc++-v3/testsuite/libstdc++.log /mnt/lfs/sources/gcc-build/./i686-pc-linux-gnu/libstdc++-v3/testsuite/libstdc++.log.sent &&
true
lfs:/mnt/lfs/sources/gcc-build$ make install
Code:
.......
<snip>


  rm -f /tools/bin/i686-pc-linux-gnu-gcc-tmp; \
  ( cd /tools/bin && \
    ln gcc i686-pc-linux-gnu-gcc-tmp && \
    mv -f i686-pc-linux-gnu-gcc-tmp i686-pc-linux-gnu-gcc ); \
fi
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc'
make[1]: Entering directory `/mnt/lfs/sources/gcc-build/intl'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build/intl'
make[1]: Entering directory `/mnt/lfs/sources/gcc-build/libiberty'
make[2]: Entering directory `/mnt/lfs/sources/gcc-build/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/libiberty/testsuite'

<snip>

  done; \
fi
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
Making install in include
make[2]: Entering directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3/include'
make[3]: Entering directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3/include'
make[3]: Nothing to be done for `install-exec-am'.

<snip>

/gthr-posix.h ./i686-pc-linux-gnu/bits/gthr-default.h; do \
  /tools/bin/install -c -m 644 ${file} /tools/include/c++/3.4.3/./i686-pc-linux-gnu/bits; done
make[3]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3/include'
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3/include'
Making install in libmath
make[2]: Entering directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3/libmath'
make[3]: Entering directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3/libmath'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3/libmath'
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3/libmath'
Making install in libsupc++
make[2]: Entering directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3/libsupc++'
make[3]: Entering directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3/libsupc++'

<snip>
----------------------------------------------------------------------
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3/src'
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3/src'
Making install in po
make[2]: Entering directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3/po'
make[3]: Entering directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3/po'
make[3]: Nothing to be done for `install-exec-am'.
/bin/sh /mnt/lfs/sources/gcc-3.4.3/libstdc++-v3/../mkinstalldirs /tools/share/locale
catalogs='de.mo fr.mo'; \
for cat in $catalogs; do \
  cat=`basename $cat`; \
  lang=`echo $cat | sed 's/\.mo$//'`; \
  install_dir=/tools/share/locale/$lang/LC_MESSAGES; \
  /bin/sh /mnt/lfs/sources/gcc-3.4.3/libstdc++-v3/../mkinstalldirs $install_dir; \
  /tools/bin/install -c -m 644 $cat $install_dir/libstdc++.mo; \
done
make[3]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3/po'
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3/po'
Making install in testsuite
make[2]: Entering directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3/testsuite'
touch testsuite_wchar_t
make[3]: Entering directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3/testsuite'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3/testsuite'
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3/testsuite'
make[2]: Entering directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
: make ; exec make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CC_FOR_TARGET=/mnt/lfs/sources/gcc-build/gcc/
      fi; \
    fi; \

<snip>

  done; \
fi
make[4]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
make[1]: Entering directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libiberty'
make[2]: Entering directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libiberty/testsuite'
make[2]: Entering directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libiberty'
if [ -z "" ]; then \
  true; \

<snip>

      fi; \
    fi; \
  done; \
fi
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libiberty'
make[2]: Entering directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libiberty/testsuite'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libiberty/testsuite'
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libiberty'
Sanity Check:-
lfs:/mnt/lfs/sources$ echo 'main(){}' > dummy.c
lfs:/mnt/lfs/sources$ cc dummy.c
lfs:/mnt/lfs/sources$ readelf -l a.out | grep ': /tools'
Code:
      [Requesting program interpreter: /tools/lib/ld-linux.so.2]
[root@localhost ~]# find / -name ld-linux.so.2
Code:
/root/Desktop/Trash/glibc-build/elf/ld-linux.so.2
/mnt/lfs/sources/glibc-build/elf/ld-linux.so.2
/mnt/lfs/tools/lib/ld-linux.so.2
/opt/billgatliff/H-i686-pc-linux-gnu/sh4-linux/sh4-linux/lib/ld-linux.so.2
/lib/ld-linux.so.2
There are 2.
/mnt/lfs/sources/glibc-build/elf/ld-linux.so.2
/mnt/lfs/tools/lib/ld-linux.so.2

B.R.
satimis
 
Old 07-25-2005, 04:20 AM   #21
kjordan
Member
 
Registered: Jul 2004
Distribution: LFS, I felt the itch and scratched it
Posts: 227

Rep: Reputation: 31
That seems alright so far, as long as gcc works after that.
 
Old 07-27-2005, 07:11 AM   #22
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
Hi kjordan and folks,

LFS 6.1

Finally I got chroot done.

[root@localhost satimis]# /usr/sbin/chroot "$LFS" /tools/bin/env -i HOME=/root TERM="$TERM" PS1='\u:\w\$ ' PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin /tools/bin/bash --login +h
Code:
I have no name!:/#
The solution was removing basb-3.0 and to reinstall it from its tarball. Make sure;

/tools/bin/gcc
[Requesting program interpreter: /tools/lib/ld-linux.so.2]
/tools/bin/g++
[Requesting program interpreter: /tools/lib/ld-linux.so.2]
/mnt/lfs/tools/bin/bash
[Requesting program interpreter: /tools/lib/ld-linux.so.2]

and
echo $PATH
Code:
/tools/bin:/bin:/usr/bin
"/tools/bin" befor "/usr/bin"

I'm now moving on to following sections.

B.R.
satimis

Last edited by satimis; 07-27-2005 at 07:12 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
chroot: cannot run command `/tools/bin/env': No such file or directory Basel Linux From Scratch 10 06-09-2018 02:15 PM
bash: /usr/bin/localedef: No such file or directory satimis Linux From Scratch 2 07-28-2005 01:53 AM
Cannot Enter chroot /usr/bin/env directory not found Zero-0-Effect Linux From Scratch 2 03-13-2004 12:41 PM
bin/bash:usr/bin/lpr NO SUCH FILE OR DIRECTORY Adibe_Hamm Linux - Newbie 3 10-14-2003 02:30 AM
linux command error message bash: /usr/bin/find: No such file or directory sundaram123 Linux - General 8 04-02-2002 07:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 08:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration