LFS-6.3: Binutils-2.17 - Pass 1 Failed

Baho Utot baho-utot at columbus.rr.com
Tue Nov 13 14:35:24 PST 2007


On Tuesday 13 November 2007 6:40 am, Ken Moffat wrote:
> On Mon, Nov 12, 2007 at 07:42:59PM -0500, Baho Utot wrote:

[putolin]

>  You seem to have damaged the fedora installation.  If you were able
> to compile anything recently, think back to what you have changed
> since then.

I did just do a yum update and it did upgrade gcc and company.

It still just throws errors when I try to compile binutils.

I just compiled ecryptfs and keyutils and installed it on the build machine, 
and it is Ok and works.

> You *should* find libgcc_s.so{,.1} in /usr/lib on a 
> 32-bit host.  Maybe you can use rpm to check the gcc installation
> and fix it.
>

Yes, I did found it but it is over there -->
baho-utot at scrat ~]$ ls -l /lib/libgcc*
-rwxr-xr-x 1 root root 45064 Jun 27 17:58 /lib/libgcc_s-4.1.2-20070626.so.1
lrwxrwxrwx 1 root root    28 Nov 12 19:21 /lib/libgcc_s.so.1 -> 
libgcc_s-4.1.2-20070626.so.1

>  I suppose it's just about possible that you managed to create a
> specs file on the fedora host during your build of 6.2: try "gcc
> -dumpspecs | grep '/tools'" - If it finds any matches, delete the
> specs file from the host.
>

Found nothing in the gcc --dumpspecs with any reference to /tools

I did find this though:

[root at scrat ~]# find / -name specs
/media/FC6/usr/lib/gcc/i386-redhat-linux/4.1.1/specs
/media/RH9/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs
/media/RH9/usr/lib/gcc-lib/i386-redhat-linux7/2.96/specs
/media/RH9/usr/src/linux-2.4.20-31.9/fs/umsdos/specs

Maybe gcc is getting confused?.... Maybe I am confused? :)

I found no specs file other than the above but they are for other systems that 
I boot to from grub.

I'll try to umount the partitions in /media and retry
binutils.

I was thinking of compiling gcc into /opt and then removing the rpm version of 
gcc, then recompling gcc to its "proper place",  But that is a huge task as 
rpm wants to pretty much remove the entire "build system" due to 
dependencies.

Maybe this will give me the push to install FC 7 and start over from there :)

Salamat 

--
Dancin in the ruins tonight
Tayo'y Mga Pinoy



More information about the lfs-support mailing list