This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: build failure for ia64 (due to -Werror)


On Fri, Mar 18, 2005 at 11:24:26AM +0000, Nick Clifton wrote:
> Hi Ben,
> 
> >gcc -DHAVE_CONFIG_H -I. -I/home/bje/source/src/bfd -I. -D_GNU_SOURCE 
> >-DTRAD_CORE -I.
> >-I/home/bje/source/src/bfd -I/home/bje/source/src/bfd/../include
> >-I/home/bje/source/src/bfd/../intl -I../intl -W -Wall -Wstrict-prototypes
> >-Wmissing-prototypes -Werror -g -O2 -c elf32-ia64.c -o elf32-ia64.o
> >elf32-ia64.c: In function `elf32_ia64_install_value':
> >elf32-ia64.c:3311: warning: dereferencing type-punned pointer will break
> >strict-aliasing rules
> 
> I am unable to reproduce this problem :-(
> 
> Can you tell me how you configured the toolchain that produces this 
> problem and which version of gcc you are using ?

I would guess 32-bit host, no --enable-64-bit-bfd.  Then "bfd_vma insn"
is 32-bit and ia64_insn is long long.  There's worse things in that code
than type-punned pointers..

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]