bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: Error building gas from binutils-2.13.1


From: Daniel Jacobowitz
Subject: Re: Error building gas from binutils-2.13.1
Date: Tue, 12 Nov 2002 18:44:55 -0500
User-agent: Mutt/1.5.1i

On Wed, Nov 13, 2002 at 12:16:37AM +0100, Thomas Koeller wrote:
> When building binutils-2.13.1 from sources, I get a couple of warnings
> that look very suspicious to me. I am building a cross assembler for a
> powerpc-eabi target on a i686-pc-linux-gnu host. Compilation of
> gas/config/tc-ppc.c produces the following output:
> 
> -----
> 
> /home/thomas/src/gnu/binutils-2.13.1/gas/config/tc-ppc.c: In function 
> `md_assemble':
> /home/thomas/src/gnu/binutils-2.13.1/gas/config/tc-ppc.c:2188: warning: right 
> shift count >= width of type
> /home/thomas/src/gnu/binutils-2.13.1/gas/config/tc-ppc.c:2190: warning: right 
> shift count >= width of type
> /home/thomas/src/gnu/binutils-2.13.1/gas/config/tc-ppc.c:2195: warning: right 
> shift count >= width of type
> /home/thomas/src/gnu/binutils-2.13.1/gas/config/tc-ppc.c:2197: warning: right 
> shift count >= width of type
> /home/thomas/src/gnu/binutils-2.13.1/gas/config/tc-ppc.c:2202: warning: right 
> shift count >= width of type
> /home/thomas/src/gnu/binutils-2.13.1/gas/config/tc-ppc.c:2204: warning: right 
> shift count >= width of type
> /home/thomas/src/gnu/binutils-2.13.1/gas/config/tc-ppc.c:2209: warning: right 
> shift count >= width of type
> /home/thomas/src/gnu/binutils-2.13.1/gas/config/tc-ppc.c:2211: warning: right 
> shift count >= width of type
> /home/thomas/src/gnu/binutils-2.13.1/gas/config/tc-ppc.c: In function 
> `md_apply_fix3':
> /home/thomas/src/gnu/binutils-2.13.1/gas/config/tc-ppc.c:5404: warning: right 
> shift count >= width of type
> /home/thomas/src/gnu/binutils-2.13.1/gas/config/tc-ppc.c:5411: warning: right 
> shift count >= width of type
> /home/thomas/src/gnu/binutils-2.13.1/gas/config/tc-ppc.c:5418: warning: right 
> shift count >= width of type
> /home/thomas/src/gnu/binutils-2.13.1/gas/config/tc-ppc.c:5425: warning: right 
> shift count >= width of type
> /home/thomas/src/gnu/binutils-2.13.1/gas/config/tc-ppc.c:5553: Internal 
> compiler error in simplify_subreg, at simplify-rtx.c:2452
> 
> -----
> 
> I already reported the ICE to the gcc bug tracking system 
> (optimization/8557). It seems to me, however,
> that the warnings generated indicate a severe problem with this source 
> module's logic.

These come from the macros PPC_HIGHER, PPC_HIGHERA, PPC_HIGHEST, and
PPC_HIGHESTA.  It's not a problem, since they're only used for a ppc64
target and the ppc64 assembler will be using a 'long long' for those
fields... but the warning is annoying.  Alan, should this code even be
compiled for a PPC32 assembler?

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer




reply via email to

[Prev in Thread] Current Thread [Next in Thread]