Build errors (due to warnings) with your ldlang.c change

H.J. Lu hjl.tools@gmail.com
Sun Jan 27 16:29:00 GMT 2008


It is

http://www.sourceware.org/bugzilla/show_bug.cgi?id=5670

H.J.
On Jan 25, 2008 9:06 AM, Hans-Peter Nilsson <hans-peter.nilsson@axis.com> wrote:
> Hi Alan.
>
> My autotester, running from a Fedora 8 installation (recent
> update) complains:
>
> gcc -O2 -m32 -DHAVE_CONFIG_H -I. -I/tmp/hpautotest-binutils/bsrc/src/ld -I. -I. -I/tmp/hpautotest-binutils/bsrc/src/ld -I../bfd -I/tmp/hpautotest-binutils/bsrc/src/ld/../bfd -I/tmp/hpautotest-binutils/bsrc/src/ld/../include  -g -O2 -DLOCALEDIR="\"/usr/local/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c /tmp/hpautotest-binutils/bsrc/src/ld/ldlang.c
> cc1: warnings being treated as errors
> /tmp/hpautotest-binutils/bsrc/src/ld/ldlang.c: In function 'process_insert_statements':
> /tmp/hpautotest-binutils/bsrc/src/ld/ldlang.c:3398: warning: dereferencing type-punned pointer will break strict-aliasing rules
> /tmp/hpautotest-binutils/bsrc/src/ld/ldlang.c:3405: warning: dereferencing type-punned pointer will break strict-aliasing rules
> make[4]: Leaving directory `/tmp/hpautotest-binutils/criself/ld'
>
> The target is cris-elf but that shouldn't matter.
>
> rpm -q gcc:
> gcc-4.1.2-33
>
> brgds, H-P
>



More information about the Binutils mailing list