LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 04-17-2013, 01:09 PM   #1
Larry114
LQ Newbie
 
Registered: Apr 2013
Posts: 1

Rep: Reputation: Disabled
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.
 
Old 04-18-2013, 09:23 AM   #2
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
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.
 
  


Reply



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
[SOLVED] LFS 6.7 glibc build error (ch 5.7) duineANaithnid Linux From Scratch 2 12-30-2010 08:27 PM
[SOLVED] LFS 6.7: section 6.9 Glibc make test error prakashsince92 Linux From Scratch 7 12-17-2010 04:05 PM
lfs 6.5 make error with glibc-2.10.1 section 5.7.1 from LiveCD-6.3-r2160 [fixed] Expertsetup Linux From Scratch 2 01-21-2010 05:52 PM
Error in section 5.7, glibc-2.8-20080929 build FarRed Linux From Scratch 3 04-01-2009 07:39 PM
LFS 6.2 Section 5.6 - Error making glibc-2.3.6 dustin_wielenga Linux From Scratch 3 01-05-2008 02:01 PM

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

All times are GMT -5. The time now is 03:58 PM.

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