LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Glibc-2.17 not compiling on section 6.9 of LFS SVN-20130419 (http://www.linuxquestions.org/questions/linux-from-scratch-13/glibc-2-17-not-compiling-on-section-6-9-of-lfs-svn-20130419-a-4175459368/)

blackv1rus 04-23-2013 09:45 PM

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

spiky0011 04-24-2013 11:33 AM

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?

blackv1rus 04-24-2013 03:41 PM

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.

stoat 04-26-2013 03:45 PM

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.

blackv1rus 04-26-2013 07:31 PM

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 :-)


All times are GMT -5. The time now is 02:29 PM.