Build problems on x86_64

Ralf Corsepius rc040203 at freenet.de
Thu May 19 10:39:21 UTC 2005


On Thu, 2005-05-19 at 05:28 -0500, Quentin Spencer wrote:
> I'm having more problems building packages on x86_64. In this case the 
> package cln had already build successfully on PPC, but about 2/3 of the 
> way through the build on x86_64 I get the following error:
> 
>  g++ -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m64 
> -mtune=nocona -I../include -I../include -I./integer -I./base/digitseq 
> -I./base/digit -Ibase -I./base -c ./integer/conv/cl_I_mul10plus.cc  
> -fPIC -DPIC -o .libs/cl_I_mul10plus.o
> {standard input}: Assembler messages:
> {standard input}:154: Error: suffix or operands invalid for `mul'
> 
> I've never seen an error like this before.
This is the assembler ("as") complaining about the code being passed to
it containing invalid assembly code.

>  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.

You will want to have a look into the preprocessed sources 
(gcc -save-temps) and check for the origin of this complaint.

Ralf





More information about the fedora-extras-list mailing list