Build problems on x86_64

Ignacio Vazquez-Abrams ivazquez at ivazquez.net
Thu May 19 11:07:52 UTC 2005


On Thu, 2005-05-19 at 05:58 -0500, Quentin Spencer wrote:
> Ralf Corsepius wrote:
> 
> >On Thu, 2005-05-19 at 05:28 -0500, Quentin Spencer wrote:
> >  
> >
> >> Is there any possible 
> >>explanation other than a bug in gcc?
> >>    
> >>
> >Yes, broken inline asm, bug in as, bug in g++, bug in libstdc++
> >(templates can contain inline asm), invalid source code, etc.
> >  
> >
> Shouldn't g++ catch invalid source code? If it builds on another arch 
> (completed on ppc, and builds on my i386), doesn't that exclude invalid 
> source code as a possible cause here?

Yes (but no) and no.

g++ can catch invalid C++ code, but it's not responsible for converting
the C++ into native code. It converts it into assembly via libstdc++,
then gas converts that into native code. Also, GCC makes architecture-
specific native code, and different architectures have different
libraries used to create native code. Some of the different
architecture's libraries may be fine, others not.

-- 
Ignacio Vazquez-Abrams <ivazquez at ivazquez.net>
http://fedora.ivazquez.net/

gpg --keyserver hkp://subkeys.pgp.net --recv-key 38028b72
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-extras-list/attachments/20050519/38e9ce8b/attachment.sig>


More information about the fedora-extras-list mailing list