Build regression on 32-bit hosts [Re: [PATCH, nds32] Code refactoring of relaxation.]
Gionnovi Chen
best124612@gmail.com
Mon Sep 22 02:23:00 GMT 2014
Hi, Jan Kratochvil
Thanks for your finding.
I've fixed the build error in following patch.
2014-09-21 4:33 GMT+08:00 Jan Kratochvil <jan.kratochvil@redhat.com>:
> Hi,
>
> on Fedora 21 i686 (that is on a fully 32-bit host):
>
> CFLAGS= ./configure --without-python --disable-plugins --disable-binutils --disable-gas --disable-gold --disable-gprof --disable-ld --disable-gdb --enable-targets=all --enable-64-bit-bfd
> make
>
> elf32-nds32.c: In function 'nds32_elf_ex9_replace_instruction':
> elf32-nds32.c:14542:9: error: passing argument 6 of 'nds32_elf_ex9_relocation_check' from incompatible pointer type [-Werror]
> elf32-nds32.c:14274:1: note: expected 'long unsigned int *' but argument is of type 'bfd_vma *'
> Makefile:1605: recipe for target 'elf32-nds32.lo' failed
> make[4]: *** [elf32-nds32.lo] Error 1
>
> gcc-4.9.1-7.fc21.i686
>
> 1c8f6a4d1fcca9e56ac705a224778bf690122a07 is the first bad commit
> commit 1c8f6a4d1fcca9e56ac705a224778bf690122a07
> Author: Kuan-Lin Chen <kuanlinchentw@gmail.com>
> Date: Thu Sep 11 14:25:05 2014 +0800
> NDS32: Code refactoring of relaxation.
>
>
> Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-NDS32-bfd-Synchronize-the-argument-type.patch
Type: application/octet-stream
Size: 1924 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20140922/eb56d50b/attachment.obj>
More information about the Binutils
mailing list