This is the mail archive of the binutils@sourceware.org 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 regression on 32-bit hosts [Re: [PATCH, nds32] Code refactoring of relaxation.]


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

Attachment: 0001-NDS32-bfd-Synchronize-the-argument-type.patch
Description: Binary data


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