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: RFC: Add 32bit x86-64 support to binutils


> Date: Thu, 30 Dec 2010 10:23:08 -0800
> From: "H.J. Lu" <hongjiu.lu@intel.com>

> This patch adds 32bit x86-64 support to binutils. Support in compiler,
> library and OS is required to use it.  It can be used to implement the
> new 32bit OS for x86-64.  Any comments?

Broke 32-bit bfd build.  Try building on a 32-bit host (or if
you have none handy, use 'CC=gcc -m32' as below with gcc-4.3.x)
for target --target=cris-axis-elf and cris-axis-linux-gnu but I
don't think the target is important.

...
libtool: compile:  gcc -O2 -m32 -DHAVE_CONFIG_H -I. -I/tmp/hpautotest-binutils/bsrc/src/bfd -I. -I/tmp/hpautotest-binutils/bsrc/src/bfd -I/tmp/hpautotest-binutils/bsrc/src/bfd/../include -DHAVE_cris_aout_vec -DHAVE_bfd_elf32_us_cris_vec -DHAVE_bfd_elf32_cris_vec -DHAVE_ieee_vec -DHAVE_bfd_elf32_little_generic_vec -DHAVE_bfd_elf32_big_generic_vec -DBINDIR=\"/usr/local/bin\" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT elflink.lo -MD -MP -MF .deps/elflink.Tpo -c /tmp/hpautotest-binutils/bsrc/src/bfd/elflink.c -o elflink.o
cc1: warnings being treated as errors
/tmp/hpautotest-binutils/bsrc/src/bfd/elflink.c: In function 'elf64_r_sym':
/tmp/hpautotest-binutils/bsrc/src/bfd/elflink.c:12776: warning: right shift count >= width of type
make[4]: Leaving directory `/tmp/hpautotest-binutils/cris-axis-elf/bfd'
make[3]: Leaving directory `/tmp/hpautotest-binutils/cris-axis-elf/bfd'
make[2]: Leaving directory `/tmp/hpautotest-binutils/cris-axis-elf/bfd'
make[1]: Leaving directory `/tmp/hpautotest-binutils/cris-axis-elf'
make[4]: *** [elflink.lo] Error 1

brgds, H-P


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