LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware64 current gcc-4.8.1 and glibc-2.17 (https://www.linuxquestions.org/questions/slackware-14/slackware64-current-gcc-4-8-1-and-glibc-2-17-a-4175464648/)

hendrickxm 04-27-2014 04:45 PM

Started to build gcc-4.9.0 and after that I will rebuild libtool, headers, binutils, glibc and the base system. Hopefully everything goes ok this time :).
Failure again...
this time I got to gcc-4.9.0 and rebuild libtool and kernel-headers. Oprofile failed, but I tried glibc as well and the same:
Code:

checking for .preinit_array/.init_array/.fini_array support... no
configure: error: Need linker with .init_array/.fini_array support.
make: *** No targets specified and no makefile found.  Stop.

Pff, this is frustrating.
I found out it must have something to do with my rebuild of binutils after gcc-4.9.0, well that is something.

EDIT: So binutils is recompiled, so is glibc and I removed popt and oprofile.
I am going to continue and see where I get stuck this time.

hendrickxm 04-29-2014 01:46 PM

Build seems fine, I am continuing with a full upgrade. If anything goes wrong, I will mention it.

j_v 04-29-2014 03:55 PM

I'm not clear if post #66 covers the following issue with gcc-4.9.0:
http://lists.linuxfromscratch.org/pi...il/069229.html
(I think that the gcc regressions below might be ref'd at end of linked bug report of post #66)

I will be incorporating these patches into my lfs build:
http://gcc.gnu.org/viewcvs/gcc/trunk...pathrev=209716
http://gcc.gnu.org/viewcvs/gcc/trunk...pathrev=209860

Regards

hendrickxm 04-29-2014 04:32 PM

It probably won't be the cause of my build problems but it is quite serious. Luckily I was only just starting the rebuild. I will rebuild gcc with these patches as well. Thanks!

tuxbg 05-02-2014 12:35 PM

Quote:

Originally Posted by hendrickxm (Post 5161517)
It probably won't be the cause of my build problems but it is quite serious. Luckily I was only just starting the rebuild. I will rebuild gcc with these patches as well. Thanks!

After rebuilding gcc you MUST REBUILD LIBTOOL


All times are GMT -5. The time now is 05:55 PM.