LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   LFS 7.3 Glibc-2.17 section 5.7 build error (https://www.linuxquestions.org/questions/linux-from-scratch-13/lfs-7-3-glibc-2-17-section-5-7-build-error-4175458514/)

Larry114 04-17-2013 01:09 PM

LFS 7.3 Glibc-2.17 section 5.7 build error
 
This is my first time building LFS. I was able to solve the errors along the way, but I was clueless about this error.

The error message is
Quote:

../sysdeps/ieee754/flt-32/s_isnanf.c:37:1: error: '__EI___isnanf' aliased to external symbol '__GI___isnanf'
make[2]: *** [/mnt/lfs/sources/glibc-build/math/s_isnanf.os] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.17/math'
make[1]: *** [math/subdir_lib] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.17'
make: *** [all] Error 2
The only thing I have done differently is running
Quote:

ln -sv libgcc.a $($LFS_TGT-gcc -print-libgcc-file-name | sed 's/libgcc/&_eh/')
instead of
Quote:

ln -sv libgcc.a `$LFS_TGT-gcc -print-libgcc-file-name | sed 's/libgcc/&_eh/'`
from the book.

There are also two warnning messages from configure
Quote:

configure: WARNING: using cross tools not prefixed with host triplet
Quote:

*** These auxiliary programs are missing or incompatible versions: autoconf
*** some features will be disabled.
*** Check the INSTALL file for required versions.
I have installed the autoconf on the host system and remove the build folder, build the Glibc again received the same warning and error message.

The result of version check is
Quote:

bash, version 4.2.37(1)-release
/bin/sh -> /bin/bash
Binutils: (GNU Binutils for Ubuntu) 2.22.90.20120924
bison (GNU Bison) 2.5
/usr/bin/yacc -> /usr/bin/bison.yacc
bzip2, Version 1.0.6, 6-Sept-2010.
Coreutils: 8.13
diff (GNU diffutils) 3.2
find (GNU findutils) 4.4.2
GNU Awk 4.0.1
/usr/bin/awk -> /usr/bin/gawk
gcc (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2
(Ubuntu EGLIBC 2.15-0ubuntu20) 2.15
grep (GNU grep) 2.12
gzip 1.5
Linux version 3.5.0-17-generic (buildd@roseapple) (gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1) ) #28-Ubuntu SMP Tue Oct 9 19:32:08 UTC 2012
m4 (GNU M4) 1.4.16
GNU Make 3.81
patch 2.6.1
Perl version='5.14.2';
GNU sed version 4.2.1
tar (GNU tar) 1.26
Texinfo: makeinfo (GNU texinfo) 4.13
xz (XZ Utils) 5.1.0alpha
gcc compilation OK
I have rebuilded binutil, gcc, and kernel API header all over again, but the problem remained. I will appreciate any insights and let me know if you need more information.

Keith Hedger 04-18-2013 09:23 AM

I've come across some references to this being a problem with the version of binutils installed try upgrading to binutils-2.23.1, also someone fixed it by reinstalling the linux headers.

You said you had fixed some other errors what were they? they may have a bearing on this problem.


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