This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Build regression on 32-bit hosts [Re: [PATCH, nds32] Code refactoring of relaxation.]
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Kuan-Lin Chen <kuanlinchentw at gmail dot com>
- Cc: "binutils at sourceware dot org Development" <binutils at sourceware dot org>, Wei-cheng Wang <cole945 at gmail dot com>
- Date: Sat, 20 Sep 2014 22:33:15 +0200
- Subject: Build regression on 32-bit hosts [Re: [PATCH, nds32] Code refactoring of relaxation.]
- Authentication-results: sourceware.org; auth=none
- References: <CAJr6u0giecAukHNVA3eFYj9xY+M-RwqyHCJr9n9D2xLJsaT5Fg at mail dot gmail dot 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