LinuxQuestions.org
Visit Jeremy's Blog.
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-23-2013, 09:45 PM   #1
blackv1rus
Member
 
Registered: Apr 2005
Location: switzerland
Distribution: slackware
Posts: 54

Rep: Reputation: 4
Glibc-2.17 not compiling on section 6.9 of LFS SVN-20130419


Funny thing happening. on the first time, I could compile it without any problem, then now I restarted from beginning and for the seventh time, when I reach this point of the build I get this this

Code:
/tools/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/../../../../x86_64-unknown-linux-gnu/bin/ld: /sources/glibc-build/libc_pic.os: relocation R_X86_64_PC32 against undefined hidden symbol `__strcasecmp_avx' can not be used when making a shared object
/tools/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/../../../../x86_64-unknown-linux-gnu/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
make[2]: *** [/sources/glibc-build/libc.so] Error 1
make[2]: Leaving directory `/sources/glibc-2.17/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory `/sources/glibc-2.17'
make: *** [all] Error 2
My host system is Slackware current 64 and I 'm building also a 64 LFS version as of SVN-20130419.

I keep reusing the environment that I build before, also SVN-20130419 to compile my LFS.

I heard about something that binutils could be the problem... any help?

Thanks
 
Old 04-24-2013, 11:33 AM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,660
Blog Entries: 1

Rep: Reputation: 242Reputation: 242Reputation: 242
Hi

Quote:
I keep reusing the environment that I build before,
not sure what this means!!!
I hope you have removed the glibc dir and glibc-build dir each time?
 
Old 04-24-2013, 03:41 PM   #3
blackv1rus
Member
 
Registered: Apr 2005
Location: switzerland
Distribution: slackware
Posts: 54

Original Poster
Rep: Reputation: 4
Sorry for the unclear sentence. I meant I keep using the same Temporary System as in section 5, to create the current LFS... And yes the directories are removed after each attempt.

Funny is it worked once.
 
Old 04-26-2013, 03:45 PM   #4
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 467

Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by blackv1rus

I keep reusing the environment that I build before, also SVN-20130419 to compile my LFS.
Quote:
Originally Posted by blackv1rus

I meant I keep using the same Temporary System as in section 5, to create the current LFS...
I guess I would feel sort of compelled to start over and build a new tool chain. Also consider building the stable 7.3 version. I had no issues with it. And there have been no errata published for it so far.
 
Old 04-26-2013, 07:31 PM   #5
blackv1rus
Member
 
Registered: Apr 2005
Location: switzerland
Distribution: slackware
Posts: 54

Original Poster
Rep: Reputation: 4
After I rebooted my machine and entered the build environment again, everything went fine. FInished the LFS part already, everything works great so far, now I'm on my way to get Xorg installed in BLFS :-)
 
  


Reply

Tags
compilation, error2, glibc, lfs, problem


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
LFS 7.3 Glibc-2.17 section 5.7 build error Larry114 Linux From Scratch 1 04-18-2013 09:23 AM
[SOLVED] Problems in glibc section section 5.7.1 lfs 6.7 abhiklall Linux From Scratch 1 04-19-2011 02:42 AM
error using lfs while compiling lfs book's 6.12 (gcc-4.1.2) section aditya_gpch Linux From Scratch 3 04-24-2008 04:23 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
LFS 4.1 book install hung at section 6.14: Glibc-2.3.1 SparceMatrix Linux From Scratch 4 05-30-2003 04:56 PM


All times are GMT -5. The time now is 11:19 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration