This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Your bfd changes broke sh sim
- From: Danny Backx <danny dot backx at scarlet dot be>
- To: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- Cc: dannybackx at users dot sourceforge dot net, binutils at sourceware dot org, gdb at sourceware dot org
- Date: Fri, 18 Jul 2008 20:12:39 +0200
- Subject: Re: Your bfd changes broke sh sim
- References: <200807181622.m6IGMcqq001357@ignucius.se.axis.com>
- Reply-to: danny dot backx at scarlet dot be
I've tested (and tested again) with
./configure --enable-targets=all
Is this different ? Are some problems not caught this way ?
Danny
On Fri, 2008-07-18 at 18:22 +0200, Hans-Peter Nilsson wrote:
> Check out the cvs module "sim" (like "binutils")
> configure with --target=sh-elf
> make all-sim
>
> Observe:
> gcc -DHAVE_CONFIG_H -DPROFILE=1 -DWITH_PROFILE=-1 -DDEFAULT_INLINE=0 -I. -I/tmp/hpautotest-sim/src/sim/sh -I../common -I/tmp/hpautotest-sim/src/sim/sh/../common -I../../include -I/tmp/hpautotest-sim/src/sim/sh/../../include -I../../bfd -I/tmp/hpautotest-sim/src/sim/sh/../../bfd -I../../opcodes -I/tmp/hpautotest-sim/src/sim/sh/../../opcodes -g -O2 -o run \
> run.o libsim.a ../../bfd/libbfd.a ../../opcodes/libopcodes.a ../../libiberty/libiberty.a -lz -lnsl -lm
> ../../bfd/libbfd.a(coff-sh.o):(.rodata+0x1bc8): undefined reference to `pe_print_ce_compressed_pdata'
> ../../bfd/libbfd.a(coff-sh.o):(.rodata+0x1d28): undefined reference to `pe_print_ce_compressed_pdata'
> collect2: ld returned 1 exit status
> make[3]: Leaving directory `/tmp/hpautotest-sim/sh-elf/sim/sh'
> make[3]: *** [run] Error 1
>
> Please fix.
>
> brgds, H-P
>
--
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info