Re: building gcc 4.4.5 from source on Fedora 13

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/29/2010 01:59 PM, Mr Dash Four wrote:
> 
>>> None of the rpm or manual built of GCC picked the dependency on
>>> libgcc.i686 either (executing yum-builddep gcc-4.4.5-2.fc13.src.rpm
>>> lists all the dependencies EXCEPT for libgcc.i686).

I'm surprised that is a dependency: you're building a cross-compiler
from x86-64 to i686.  The gcc build will build libgcc for all its
multilibs.

>>
>> Again, talk to Fedora.
>>   
> If I know how/where I will...The only way I can think of is to submit a
> bug via Bugzilla.

I don't think that would help.  We haven't yet established that
there is a bug.

>>> There is another problem though -
>>>
>>> [root@test1 ~]# ls -las /usr/lib/gcc/x86_64-redhat-linux/4.4.4/32/
>>> total 3464
>>>  4 drwxr-xr-x. 2 root root    4096 Nov 26 23:40 .
>>>  4 drwxr-xr-x. 4 root root    4096 Nov 26 23:40 ..
>>>  4 -rw-r--r--. 1 root root    1740 Nov 26 20:46 crtbegin.o
>>>  4 -rw-r--r--. 1 root root    2164 Nov 26 20:46 crtbeginS.o
>>>  4 -rw-r--r--. 1 root root    2048 Nov 26 20:46 crtbeginT.o
>>>  4 -rw-r--r--. 1 root root    1312 Nov 26 20:46 crtend.o
>>>  4 -rw-r--r--. 1 root root    1568 Nov 26 20:46 crtendS.o
>>>  4 -rw-r--r--. 1 root root    4088 Nov 26 20:46 crtfastmath.o
>>>  4 -rw-r--r--. 1 root root    2100 Nov 26 20:46 crtprec32.o
>>>  4 -rw-r--r--. 1 root root    2108 Nov 26 20:46 crtprec64.o
>>>  4 -rw-r--r--. 1 root root    2100 Nov 26 20:46 crtprec80.o
>>> 3236 -rw-r--r--. 1 root root 3311740 Nov 26 20:46 libgcc.a
>>>  48 -rw-r--r--. 1 root root   45148 Nov 26 20:46 libgcc_eh.a
>>>  0 lrwxrwxrwx. 1 root root      18 Nov 26 23:40 libgcc_s.so ->
>>> /lib/libgcc_s.so.1
>>>  36 -rw-r--r--. 1 root root   33982 Nov 26 20:46 libgcov.a
>>>  92 -rw-r--r--. 1 root root   92262 Nov 26 20:46 libgomp.a
>>> -->-----
>>>  0 lrwxrwxrwx. 1 root root      28 Nov 26 23:40 libgomp.so ->
>>> ../../../../libgomp.so.1.0.0
>>>  0 lrwxrwxrwx. 1 root root      45 Nov 26 23:40 libmudflap.a ->
>>> ../../../i686-redhat-linux/4.4.5/libmudflap.a
>>> ---<-----
>>>  4 -rw-r--r--. 1 root root      39 Nov 26 20:46 libmudflap.so
>>> -->-----
>>>  0 lrwxrwxrwx. 1 root root      47 Nov 26 23:40 libmudflapth.a ->
>>> ../../../i686-redhat-linux/4.4.5/libmudflapth.a
>>> ---<-----
>>>  4 -rw-r--r--. 1 root root      41 Nov 26 20:46 libmudflapth.so
>>> -->-----
>>>  0 lrwxrwxrwx. 1 root root      44 Nov 26 23:40 libstdc++.a ->
>>> ../../../i686-redhat-linux/4.4.5/libstdc++.a
>>>  0 lrwxrwxrwx. 1 root root      31 Nov 26 23:40 libstdc++.so ->
>>> ../../../../libstdc++.so.6.0.13
>>>  0 lrwxrwxrwx. 1 root root      44 Nov 26 23:40 libsupc++.a ->
>>> ../../../i686-redhat-linux/4.4.5/libsupc++.a
>>> ---<-----
>>>
>>> The symlinks above (with the exception of libgcc_s.so.1 which is OK
>>> once I MANUALLY install libgcc.i686) are all DEAD - none of these
>>> files are installed by gcc or any other package, nor are they picked
>>> up as a required dependency. I do not think that's right.
>>>     
>>
>> Those files come from glibc, specifically the glibc-devel.i686 package.
>>   
> No, they are not! The last 3 DEAD symlinks come from libstdc++.i686,
> which is (or should be as its x86_64 counterpart is compiled in) part of
> the GCC packages (at least that is the case with Fedora).

It is a gcc package; you haven't installed it.

/usr/lib/gcc/x86_64-redhat-linux/4.4.4/32/libstdc++.so -->
/usr/lib/libstdc++.so.6.0.13
 $ rpm -qf /usr/lib/libstdc++.so.6.0.13
libstdc++-4.4.4-10.fc12.i686

> libmudflap* is also built as part
> of the GCC package on Fedora, but again, the i686 counterpart is NOT
> built nor is it provided. Same goes for the libgomp.i686 package -
> x86_64 is built, libgomp.i686 is not built, nor provided. Madness -
> multilib my ar**!

You surely don't expect all the legacy 32-bit stuff to be installed
by default.

Andrew.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux