[PATCH ARC 1/8] BFD: new ARC port
Nick Clifton
nickc@redhat.com
Wed Sep 16 08:17:00 GMT 2015
Hi Claudiu,
>> bfd/elf32-arc.c:1359:97: error: cast from pointer to integer of
>> different size [-Werror=pointer-to-int-cast]
> Please can you tell me more about the test system. For my 32bit testing, I am using xubuntu 15.04 distoro, with gcc4.8/gcc5.
Ah - you caught me. I was not compiling on a 32-bit system at all. I
was compiling on a 64-bit x86_64 host running Fedora 22, but running the
compiler with -m32 specified. Ie I configured the build with:
CC="gcc -m32" CXX="g++ -m32" ABI="32" setarch i686 \
$(SOURCE_DIR)/configure \
--quiet \
--enable-plugins \
--cache-file=/dev/null \
--prefix=`pwd`/install \
--disable-shared \
--disable-symvers \
--enable-targets=all
The version of gcc that I use is:
gcc 5.1.1 20150618 (Red Hat 5.1.1-4)
Does this help ?
Cheers
Nick
More information about the Binutils
mailing list