Re: Problem Booting up the new system ?
On Wed, 10 Nov 2010 16:31:50 + dgfhfgh dfghdfgh solo9...@hotmail.com wrote: Sincerely, http://www.Q8h.net Date: Tue, 9 Nov 2010 23:04:33 +0800 From: dashing.m...@gmail.com To: lfs-support@linuxfromscratch.org Subject: Re: Problem Booting up the new system ? On Tue, 9 Nov 2010 12:04:05 + dgfhfgh dfghdfgh solo9...@hotmail.com wrote: Hello all, after going thought the book and try to boot the new system, the Bootloader work fine but when i try to boot the root filesystem my screen display alot of color (attached photo) without any message or anything. I try to do the book again it seem to be compiling ok without anything i could find. dont know what i did wrong and or what to do next, therefore, if anyone could help or point me to the right direction. thxbook SVN-20101027host lfcliveCD Maybe, you can attach your .config file to the list, so someone can test it on their machine. Maybe, you can copy your LFS root directory to another machine to test if it is only happen on that machine. -- littlebat -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page sorry forget to add the attachment :) here is a link http://linuxfromscratch.pastebin.com/mxmgFkV8 I tested your .config on my LFS6.6 system, I didn't change anything else except my system is vmware i386 machine, so the kernel config program changed some things automatically, see the diff result between the modified .config and yours: http://linuxfromscratch.pastebin.com/DLuCd850 Boot from the new compiled kernel, no any exception happened. After compiled the vmware disk driver(Fusion MPT device support) into kernel, I can boot and login into system with this kernel without error. So, I think maybe your hardware need some special kernel configs or your hardware has run into some new kernel bugs. I think. Good luck. littlebat -- 开源文化实验室 http://www.learndiary.com/ 孟大兴网站 http://www.openlong.com/ -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
gcc/g++ compiler in LFS
Hello All, I just completed the installation of all the tools specified in chapter 5 of LFS v6.7. While installing file-5.04 after gcc pass-2, I noticed the presence of i686-pc-linux-gnu folder when I ran .configure. I checked the /mnt/lfs/tools/ folder and found this: $ ls -l /mnt/lfs/tools/ total 40 drwxr-xr-x 2 lfs lfs 4096 Nov 9 20:22 bin drwxr-xr-x 2 lfs lfs 4096 Nov 7 19:06 etc *drwxr-xr-x 4 lfs lfs 4096 Nov 7 17:14 i686-lfs-linux-gnu drwxr-xr-x 4 lfs lfs 4096 Nov 7 19:36 i686-pc-linux-gnu *drwxr-xr-x 32 lfs lfs 4096 Nov 9 20:22 include drwxr-xr-x 7 lfs lfs 4096 Nov 9 20:22 lib drwxr-xr-x 4 lfs lfs 4096 Nov 7 19:06 libexec drwxr-xr-x 7 lfs lfs 4096 Nov 9 20:22 man drwxr-xr-x 2 lfs lfs 4096 Nov 7 19:06 sbin drwxr-xr-x 11 lfs lfs 4096 Nov 9 20:22 share I was of the impression that there should be no reference to '* i686-pc-linux-gnu*'. The config.guess script which I ran to find out the guessed name returned '*i686-lfs-linux-gnu*'. Both these folders have the same contents. ./configure for file-5.04 gave the following output: checking whether the gcc linker (/mnt/lfs/tools/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking for ld used by g++... /mnt/lfs/tools/i686-pc-linux-gnu/bin/ld checking if the linker (/mnt/lfs/tools/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking whether the g++ linker (/mnt/lfs/tools/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/mnt/lfs/tools/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes Does this mean I have to redo everything from Adjusting the tool chain step? Also in /mnt/lfs/tools/bin folder, I find -rwxr-xr-x 1 lfs lfs 2725723 Nov 7 17:14 i686-lfs-linux-gnu-addr2line -rwxr-xr-x 2 lfs lfs 2856241 Nov 7 17:14 i686-lfs-linux-gnu-ar -rwxr-xr-x 2 lfs lfs 4035121 Nov 7 17:14 i686-lfs-linux-gnu-as -rwxr-xr-x 1 lfs lfs 2703498 Nov 7 17:14 i686-lfs-linux-gnu-c++filt -rwxr-xr-x 1 lfs lfs 488288 Nov 7 17:56 i686-lfs-linux-gnu-cpp -rwxr-xr-x 2 lfs lfs 485385 Nov 7 17:56 i686-lfs-linux-gnu-gcc -rwxr-xr-x 2 lfs lfs 485385 Nov 7 17:56 i686-lfs-linux-gnu-gcc-4.5.1 -rwxr-xr-x 1 lfs lfs 16119 Nov 7 17:56 i686-lfs-linux-gnu-gccbug -rwxr-xr-x 1 lfs lfs 85427 Nov 7 17:56 i686-lfs-linux-gnu-gcov -rwxr-xr-x 1 lfs lfs 3109651 Nov 7 17:14 i686-lfs-linux-gnu-gprof -rwxr-xr-x 2 lfs lfs 3641292 Nov 7 17:14 i686-lfs-linux-gnu-ld -rwxr-xr-x 2 lfs lfs 2759384 Nov 7 17:14 i686-lfs-linux-gnu-nm -rwxr-xr-x 2 lfs lfs 3294785 Nov 7 17:14 i686-lfs-linux-gnu-objcopy -rwxr-xr-x 2 lfs lfs 3748901 Nov 7 17:14 i686-lfs-linux-gnu-objdump -rwxr-xr-x 2 lfs lfs 2856272 Nov 7 17:14 i686-lfs-linux-gnu-ranlib -rwxr-xr-x 1 lfs lfs 577126 Nov 7 17:14 i686-lfs-linux-gnu-readelf -rwxr-xr-x 1 lfs lfs 2752088 Nov 7 17:14 i686-lfs-linux-gnu-size -rwxr-xr-x 1 lfs lfs 2728516 Nov 7 17:14 i686-lfs-linux-gnu-strings -rwxr-xr-x 2 lfs lfs 3294776 Nov 7 17:14 i686-lfs-linux-gnu-strip * -rwxr-xr-x 4 lfs lfs 570947 Nov 7 20:39 i686-pc-linux-gnu-c++ -rwxr-xr-x 4 lfs lfs 570947 Nov 7 20:39 i686-pc-linux-gnu-g++ -rwxr-xr-x 3 lfs lfs 565980 Nov 7 20:39 i686-pc-linux-gnu-gcc -rwxr-xr-x 3 lfs lfs 565980 Nov 7 20:39 i686-pc-linux-gnu-gcc-4.5.1 * Can some one help me figure out why the compilers gcc and g++ are prefixed with i686-pc-linux-gnu and not i686-lfs-linux-gnu? Thanks for your time. Cheers, Anand. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: gcc/g++ compiler in LFS
On Thu, Nov 11, 2010 at 09:32:24AM -0500, Anand Arumugam wrote: I was of the impression that there should be no reference to '* i686-pc-linux-gnu*'. The config.guess script which I ran to find out the guessed name returned '*i686-lfs-linux-gnu*'. Both these folders have the same contents. The -lfs-linux-gnu programs are created in the cross-compile parts of chapter 5, i.e. binutils pass 1 and gcc pass 1. When we build the pass 2 versions, they have the normal names (i686-pc-linux-gnu in your case, x86_64-unknown-linux-gnu in mine). Does this mean I have to redo everything from Adjusting the tool chain step? No. The i686-*-linux-gnu- programs are hard linked to the programs in /tools/bin (and similarly in chapter 6 to the programs in /usr/bin). So, in the early parts of chapter 5 gcc and ld will be hardlinked to the -lfs- versions, and after the pass 2 versions have been installed they are linked to the -pc- versions. You can prove that with 'ls -i'. The only reason to redo everything would be if the programs in /tools/bin were linked to host libraries in /usr/lib instead of the libraries in /tools/lib. ĸen -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Problem Booting up the new system ?
2010/11/11 littlebat dashing.m...@gmail.com: On Wed, 10 Nov 2010 16:31:50 + dgfhfgh dfghdfgh solo9...@hotmail.com wrote: Sincerely, http://www.Q8h.net Date: Tue, 9 Nov 2010 23:04:33 +0800 From: dashing.m...@gmail.com To: lfs-support@linuxfromscratch.org Subject: Re: Problem Booting up the new system ? On Tue, 9 Nov 2010 12:04:05 + dgfhfgh dfghdfgh solo9...@hotmail.com wrote: Hello all, after going thought the book and try to boot the new system, the Bootloader work fine but when i try to boot the root filesystem my screen display alot of color (attached photo) without any message or anything. I try to do the book again it seem to be compiling ok without anything i could find. dont know what i did wrong and or what to do next, therefore, if anyone could help or point me to the right direction. thxbook SVN-20101027host lfcliveCD Maybe, you can attach your .config file to the list, so someone can test it on their machine. Maybe, you can copy your LFS root directory to another machine to test if it is only happen on that machine. -- littlebat -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page sorry forget to add the attachment :) here is a link http://linuxfromscratch.pastebin.com/mxmgFkV8 I tested your .config on my LFS6.6 system, I didn't change anything else except my system is vmware i386 machine, so the kernel config program changed some things automatically, see the diff result between the modified .config and yours: http://linuxfromscratch.pastebin.com/DLuCd850 Boot from the new compiled kernel, no any exception happened. After compiled the vmware disk driver(Fusion MPT device support) into kernel, I can boot and login into system with this kernel without error. So, I think maybe your hardware need some special kernel configs or your hardware has run into some new kernel bugs. I think. Good luck. littlebat -- 开源文化实验室 http://www.learndiary.com/ 孟大兴网站 http://www.openlong.com/ -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page littlebat, thx for looking into my problem, However i have a question on chapter 6.16. GCC-4.5.1 about the test suite results ? Is this ok : ../gcc-4.5.1/contrib/test_summary cat 'EOF' | LAST_UPDATED: Obtained from SVN: tags/gcc_4_5_1_release revision 162774 Native configuration is x86_64-unknown-linux-gnu === gcc tests === Running target unix FAIL: gcc.c-torture/compile/limits-exprparen.c -O0 (test for excess errors) FAIL: gcc.c-torture/compile/limits-exprparen.c -O1 (test for excess errors) FAIL: gcc.c-torture/compile/limits-exprparen.c -O2 (test for excess errors) FAIL: gcc.c-torture/compile/limits-exprparen.c -O3 -fomit-frame-pointer (test for excess errors) FAIL: gcc.c-torture/compile/limits-exprparen.c -O3 -g (test for excess errors) FAIL: gcc.c-torture/compile/limits-exprparen.c -Os (test for excess errors) === gcc Summary === # of expected passes61316 # of unexpected failures6 # of expected failures 165 # of unsupported tests 833 /sources/gcc-build/gcc/xgcc version 4.5.1 (GCC) === libgomp tests === Running target unix === libgomp Summary === # of expected passes1029 === libmudflap tests === Running target unix FAIL: libmudflap.c/pass46-frag.c (-O2) (test for excess errors) FAIL: libmudflap.c/pass46-frag.c (-O2) (test for excess errors) FAIL: libmudflap.c/fail31-frag.c (-O3) output pattern test FAIL: libmudflap.c/pass45-frag.c (-O3) execution test FAIL: libmudflap.c/pass45-frag.c (-O3) output pattern test FAIL: libmudflap.c/pass45-frag.c (-O3) execution test FAIL: libmudflap.c/pass45-frag.c (-O3) output pattern test FAIL: libmudflap.c/pass46-frag.c (-O3) (test for excess errors) FAIL: libmudflap.c/pass46-frag.c (-O3) (test for excess errors) FAIL: libmudflap.c++/pass41-frag.cxx execution test FAIL: libmudflap.c++/pass41-frag.cxx ( -O) execution test FAIL: libmudflap.c++/pass41-frag.cxx (-O2) execution test FAIL: libmudflap.c++/pass41-frag.cxx (-O3) execution test === libmudflap Summary === # of expected passes1414 # of unexpected failures13 === libstdc++ tests === Running target unix === libstdc++ Summary === # of expected passes7071 # of expected failures 95 # of unsupported tests 339 Compiler version: 4.5.1 (GCC) Platform: x86_64-unknown-linux-gnu configure flags: --prefix=/usr --libexecdir=/usr/lib --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++ --disable-multilib --disable-bootstrap --with-system-zlib EOF Mail -s Results for
Re: Problem Booting up the new system ?
Flan Alflani wrote: thx for looking into my problem, However i have a question on chapter 6.16. GCC-4.5.1 about the test suite results ? Is this ok : ../gcc-4.5.1/contrib/test_summary cat 'EOF' | LAST_UPDATED: Obtained from SVN: tags/gcc_4_5_1_release revision 162774 Native configuration is x86_64-unknown-linux-gnu === gcc tests === Running target unix FAIL: gcc.c-torture/compile/limits-exprparen.c -O0 (test for excess errors) FAIL: gcc.c-torture/compile/limits-exprparen.c -O1 (test for excess errors) FAIL: gcc.c-torture/compile/limits-exprparen.c -O2 (test for excess errors) FAIL: gcc.c-torture/compile/limits-exprparen.c -O3 -fomit-frame-pointer (test for excess errors) FAIL: gcc.c-torture/compile/limits-exprparen.c -O3 -g (test for excess errors) FAIL: gcc.c-torture/compile/limits-exprparen.c -Os (test for excess errors) From the svn version of the book: One set of tests in the GCC test suite is known to exhaust the stack, so increase the stack size prior to running the tests: ulimit -s 16384 Running target unix FAIL: libmudflap.c/pass46-frag.c (-O2) (test for excess errors) FAIL: libmudflap.c/pass46-frag.c (-O2) (test for excess errors) FAIL: libmudflap.c/fail31-frag.c (-O3) output pattern test FAIL: libmudflap.c/pass45-frag.c (-O3) execution test FAIL: libmudflap.c/pass45-frag.c (-O3) output pattern test FAIL: libmudflap.c/pass45-frag.c (-O3) execution test FAIL: libmudflap.c/pass45-frag.c (-O3) output pattern test FAIL: libmudflap.c/pass46-frag.c (-O3) (test for excess errors) FAIL: libmudflap.c/pass46-frag.c (-O3) (test for excess errors) FAIL: libmudflap.c++/pass41-frag.cxx execution test FAIL: libmudflap.c++/pass41-frag.cxx ( -O) execution test FAIL: libmudflap.c++/pass41-frag.cxx (-O2) execution test FAIL: libmudflap.c++/pass41-frag.cxx (-O3) execution test === libmudflap Summary === # of expected passes 1414 # of unexpected failures 13 http://www.linuxfromscratch.org/lfs/build-logs/6.7/core2duo/test-logs/077-gcc -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Problem Booting up the new system ?
On Fri, 12 Nov 2010 00:34:31 +0300 Flan Alflani falfl...@gmail.com wrote: 2010/11/11 littlebat dashing.m...@gmail.com: On Wed, 10 Nov 2010 16:31:50 + dgfhfgh dfghdfgh solo9...@hotmail.com wrote: Sincerely, http://www.Q8h.net Date: Tue, 9 Nov 2010 23:04:33 +0800 From: dashing.m...@gmail.com To: lfs-support@linuxfromscratch.org Subject: Re: Problem Booting up the new system ? On Tue, 9 Nov 2010 12:04:05 + dgfhfgh dfghdfgh solo9...@hotmail.com wrote: Hello all, after going thought the book and try to boot the new system, the Bootloader work fine but when i try to boot the root filesystem my screen display alot of color (attached photo) without any message or anything. I try to do the book again it seem to be compiling ok without anything i could find. dont know what i did wrong and or what to do next, therefore, if anyone could help or point me to the right direction. thxbook SVN-20101027host lfcliveCD Maybe, you can attach your .config file to the list, so someone can test it on their machine. Maybe, you can copy your LFS root directory to another machine to test if it is only happen on that machine. -- littlebat -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page sorry forget to add the attachment :) here is a link http://linuxfromscratch.pastebin.com/mxmgFkV8 I tested your .config on my LFS6.6 system, I didn't change anything else except my system is vmware i386 machine, so the kernel config program changed some things automatically, see the diff result between the modified .config and yours: http://linuxfromscratch.pastebin.com/DLuCd850 Boot from the new compiled kernel, no any exception happened. After compiled the vmware disk driver(Fusion MPT device support) into kernel, I can boot and login into system with this kernel without error. So, I think maybe your hardware need some special kernel configs or your hardware has run into some new kernel bugs. I think. Good luck. littlebat -- 开源文化实验室 http://www.learndiary.com/ 孟大兴网站 http://www.openlong.com/ -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page littlebat, thx for looking into my problem, However i have a question on chapter 6.16. GCC-4.5.1 about the test suite results ? Is this ok : ../gcc-4.5.1/contrib/test_summary cat 'EOF' | LAST_UPDATED: Obtained from SVN: tags/gcc_4_5_1_release revision 162774 Native configuration is x86_64-unknown-linux-gnu === gcc tests === Running target unix FAIL: gcc.c-torture/compile/limits-exprparen.c -O0 (test for excess errors) FAIL: gcc.c-torture/compile/limits-exprparen.c -O1 (test for excess errors) FAIL: gcc.c-torture/compile/limits-exprparen.c -O2 (test for excess errors) FAIL: gcc.c-torture/compile/limits-exprparen.c -O3 -fomit-frame-pointer (test for excess errors) FAIL: gcc.c-torture/compile/limits-exprparen.c -O3 -g (test for excess errors) FAIL: gcc.c-torture/compile/limits-exprparen.c -Os (test for excess errors) === gcc Summary === # of expected passes 61316 # of unexpected failures 6 # of expected failures165 # of unsupported tests833 /sources/gcc-build/gcc/xgcc version 4.5.1 (GCC) === libgomp tests === Running target unix === libgomp Summary === # of expected passes 1029 === libmudflap tests === Running target unix FAIL: libmudflap.c/pass46-frag.c (-O2) (test for excess errors) FAIL: libmudflap.c/pass46-frag.c (-O2) (test for excess errors) FAIL: libmudflap.c/fail31-frag.c (-O3) output pattern test FAIL: libmudflap.c/pass45-frag.c (-O3) execution test FAIL: libmudflap.c/pass45-frag.c (-O3) output pattern test FAIL: libmudflap.c/pass45-frag.c (-O3) execution test FAIL: libmudflap.c/pass45-frag.c (-O3) output pattern test FAIL: libmudflap.c/pass46-frag.c (-O3) (test for excess errors) FAIL: libmudflap.c/pass46-frag.c (-O3) (test for excess errors) FAIL: libmudflap.c++/pass41-frag.cxx execution test FAIL: libmudflap.c++/pass41-frag.cxx ( -O) execution test FAIL: libmudflap.c++/pass41-frag.cxx (-O2) execution test FAIL: libmudflap.c++/pass41-frag.cxx (-O3) execution test === libmudflap Summary === # of expected passes 1414 # of unexpected failures 13 === libstdc++ tests === Running target unix === libstdc++ Summary === # of expected passes 7071 # of expected failures95 # of unsupported tests339 Compiler version: 4.5.1 (GCC) Platform: x86_64-unknown-linux-gnu configure flags:
Re: LFS 6.7 Chapter 5.7 glibc configure warning
On Wed, Nov 10, 2010 at 2:36 PM, David Shaw dj.s...@btconnect.com wrote: checking cpuid.h presence... yes configure: WARNING: cpuid.h: present but cannot be compiled configure: WARNING: cpuid.h: check for missing prerequisite headers? configure: WARNING: cpuid.h: see the Autoconf documentation configure: WARNING: cpuid.h: section Present But Cannot Be Compiled configure: WARNING: cpuid.h: proceeding with the preprocessor's result configure: WARNING: cpuid.h: in the future, the compiler will take precedence checking for cpuid.h... yes Really, it's just a harmless warning. You can keep building. -- William Immendorf The ultimate in free computing. Messages in plain text, please, no HTML. GPG key ID: 1697BE98 If it's not signed, it's not from me. -- Every nonfree program has a lord, a master -- and if you use the program, he is your master. Richard Stallman -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page