Re: LFS 6.8 chap 5.5 gcc 4.5.2 make fails short version
hi, Andy, here is as by your request: franze@ubuntulu:~$ bash version-check.sh bash, version 4.2.8(1)-release /bin/sh - /bin/bash Binutils: (GNU Binutils for Ubuntu) 2.21.0.20110327 bison (GNU Bison) 2.4.1 /usr/bin/yacc - /usr/bin/bison.yacc bzip2, Version 1.0.5, 10-Dec-2007. Coreutils: 8.5 diff (GNU diffutils) 3.0 find (GNU findutils) 4.4.2 GNU Awk 3.1.7 /usr/bin/awk - /usr/bin/gawk gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2 *** GNU C Library (Ubuntu EGLIBC 2.13-0ubuntu13) stable release version 2.13 *** GNU grep 2.6.3 gzip 1.3.12 Linux version 2.6.38-10-generic (buildd@vernadsky) (gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4) ) #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011 m4 (GNU M4) 1.4.14 GNU Make 3.81 patch 2.6 Perl version='5.10.1'; GNU sed version 4.2.1 tar (GNU tar) 1.25 Texinfo: makeinfo (GNU texinfo) 4.13 Compilation OK (the answer to ---/lib/libc.so.6 | head -n1 | cut -d, -f1 --- was displayed only after I manually created a symlink to /lib/i386-linux-gnu/libc.so.6; this is a deviation from the book) _ Hi, William, pls find appended excerpt of /mnt/lfs/sources/gcc-build/i686-lfs-linux-gnu/libgcc/config.log configure:2993: /mnt/lfs/sources/gcc-build/./gcc/xgcc -B/mnt/lfs/sources/gcc-build/./gcc/ -B/tools/i686-lfs-linux-gnu/bin/ -B/tools/i686-lfs-linux-gnu/lib/ -isystem /tools/i686-lfs-linux-gnu/include -isystem /tools/i686-lfs-linux-gnu/sys-include-V 5 xgcc: '-V' must come at the start of the command line configure:3004: $? = 1 configure:2993: /mnt/lfs/sources/gcc-build/./gcc/xgcc -B/mnt/lfs/sources/gcc-build/./gcc/ -B/tools/i686-lfs-linux-gnu/bin/ -B/tools/i686-lfs-linux-gnu/lib/ -isystem /tools/i686-lfs-linux-gnu/include -isystem /tools/i686-lfs-linux-gnu/sys-include-qversion 5 xgcc: unrecognized option '-qversion' xgcc: no input files configure:3004: $? = 1 configure:3020: /mnt/lfs/sources/gcc-build/./gcc/xgcc -B/mnt/lfs/sources/gcc-build/./gcc/ -B/tools/i686-lfs-linux-gnu/bin/ -B/tools/i686-lfs-linux-gnu/lib/ -isystem /tools/i686-lfs-linux-gnu/include -isystem /tools/i686-lfs-linux-gnu/sys-include-o conftest -g -O2 conftest.c 5 /mnt/lfs/sources/gcc-build/./gcc/as: line 83: exec: : not found configure:3023: $? = 1 configure:3211: checking for suffix of object files configure:3233: /mnt/lfs/sources/gcc-build/./gcc/xgcc -B/mnt/lfs/sources/gcc-build/./gcc/ -B/tools/i686-lfs-linux-gnu/bin/ -B/tools/i686-lfs-linux-gnu/lib/ -isystem /tools/i686-lfs-linux-gnu/include -isystem /tools/i686-lfs-linux-gnu/sys-include-c -g -O2 conftest.c 5 /mnt/lfs/sources/gcc-build/./gcc/as: line 83: exec: : not found configure:3237: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME GNU C Runtime Library | #define PACKAGE_TARNAME libgcc | #define PACKAGE_VERSION 1.0 | #define PACKAGE_STRING GNU C Runtime Library 1.0 | #define PACKAGE_BUGREPORT | #define PACKAGE_URL http://www.gnu.org/software/libgcc/; | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3251: error: in `/mnt/lfs/sources/gcc-build/i686-lfs-linux-gnu/libgcc': configure:3254: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. ... configure: exit 1 Would appreciate your comment on why and/or what went wrong with above libgcc config. In the meantime, I will start from scratchSCRATCH, i.e. reinstall Ubuntu, establish LFS Host System Requirements, etc etc - (I may have hit one or the other wrong key in the process!?) Thanks -- Dipl. Ing. Franz L. Kuhlmann Mitteranger 34 82418 Murnau -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: LFS 6.8 chap 5.5 gcc 4.5.2 make fails short version
On Sun, Aug 21, 2011 at 4:55 AM, Franz L. Kuhlmann f_kuhlm...@freenet.de wrote: Hi, William, pls find appended excerpt of /mnt/lfs/sources/gcc-build/i686-lfs-linux-gnu/libgcc/config.log I said ATTACHED, not APPENDED. Do you not understand email attachments? There should be a place to make one in your email client, and do that next time when sending in config.log files. The alternative is to use Pastebin (at www.pastebin.com), which works quite well too. configure:3233: /mnt/lfs/sources/gcc-build/./gcc/xgcc -B/mnt/lfs/sources/gcc-build/./gcc/ -B/tools/i686-lfs-linux-gnu/bin/ -B/tools/i686-lfs-linux-gnu/lib/ -isystem /tools/i686-lfs-linux-gnu/include -isystem /tools/i686-lfs-linux-gnu/sys-include -c -g -O2 conftest.c 5 /mnt/lfs/sources/gcc-build/./gcc/as: line 83: exec: : not found Heuh... The build fails because it's can't find the exec command, but that's supposed to be built into Bash... I think that there is something wrong with your host system, don't know exactly what, but it's definitely wrong. That should not be happening. In the meantime, I will start from scratchSCRATCH, i.e. reinstall Ubuntu, establish LFS Host System Requirements, etc etc - (I may have hit one or the other wrong key in the process!?) Go ahead and do that. Still, a broken shell is quite strange... -- 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 -- Are you a Gmail user? Please read this important notice: http://www.fsf.org/campaigns/jstrap/gmail?31450. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: LFS 6.8 chap 5.5 gcc 4.5.2 make fails short version
On Sun, Aug 21, 2011 at 4:55 AM, Franz L. Kuhlmann f_kuhlm...@freenet.de wrote: bash, version 4.2.8(1)-release /bin/sh - /bin/bash This looks OK. Binutils: (GNU Binutils for Ubuntu) 2.21.0.20110327 Again, normal. bison (GNU Bison) 2.4.1 /usr/bin/yacc - /usr/bin/bison.yacc This looks normal. GNU Awk 3.1.7 /usr/bin/awk - /usr/bin/gawk Again, normal. gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2 Umm, but isn't the Linaro toolchain meant for, ya know, ARM systems (like most Android phones these days)? I happen to know this because I used it to build Cyanogenmod (a popular aftermarket Android ROM) and Clockworkmod (a custom recovery) for my Inspire with this toolchain. I don't know, maybe you should use the one that came with the host? (the answer to --- /lib/libc.so.6 | head -n1 | cut -d, -f1 --- was displayed only after I manually created a symlink to /lib/i386-linux-gnu/libc.so.6; this is a deviation from the book) I think that Ubuntu should make a symlink for /lib/libc.so.6 by itself, but I could be wrong. Either way, the compilation came out fine on your host. But, your suggestion should work, as long as you backup all of your data. -- 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 -- Are you a Gmail user? Please read this important notice: http://www.fsf.org/campaigns/jstrap/gmail?31450. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: LFS 6.8 chap 5.5 gcc 4.5.2 make fails short version
On Sun, 21 Aug 2011 10:39:09 -0500 William Immendorf will.immend...@gmail.com wrote: On Sun, Aug 21, 2011 at 4:55 AM, Franz L. Kuhlmann f_kuhlm...@freenet.de wrote: configure:3233: /mnt/lfs/sources/gcc-build/./gcc/xgcc -B/mnt/lfs/sources/gcc-build/./gcc/ -B/tools/i686-lfs-linux-gnu/bin/ -B/tools/i686-lfs-linux-gnu/lib/ -isystem /tools/i686-lfs-linux-gnu/include -isystem /tools/i686-lfs-linux-gnu/sys-include -c -g -O2 conftest.c 5 /mnt/lfs/sources/gcc-build/./gcc/as: line 83: exec: : not found Heuh... The build fails because it's can't find the exec command, but that's supposed to be built into Bash... I think that there is something wrong with your host system, don't know exactly what, but it's definitely wrong. That should not be happening. In the meantime, I will start from scratchSCRATCH, i.e. reinstall Ubuntu, establish LFS Host System Requirements, etc etc - (I may have hit one or the other wrong key in the process!?) Go ahead and do that. Still, a broken shell is quite strange... Unless /bin/sh is a symlink pointing at /bin/dash, that's not quite so strange. However, I've never had a problem building gcc with /bin/sh being dash and the output of version-check.sh shows /bin/sh - /bin/bash so I don't know what's going on. Andy -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page