From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26586 invoked by alias); 18 Jul 2008 18:13:34 -0000 Received: (qmail 26563 invoked by uid 22791); 18 Jul 2008 18:13:33 -0000 X-Spam-Check-By: sourceware.org Received: from sif.is.scarlet.be (HELO sif.is.scarlet.be) (193.74.71.28) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 18 Jul 2008 18:13:04 +0000 Received: from [172.17.1.2] (ip-62-235-161-158.dsl.scarlet.be [62.235.161.158] (may be forged)) by sif.is.scarlet.be (8.14.2/8.14.2) with ESMTP id m6IICgJb016955; Fri, 18 Jul 2008 20:12:45 +0200 Subject: Re: Your bfd changes broke sh sim From: Danny Backx Reply-To: danny.backx@scarlet.be To: Hans-Peter Nilsson Cc: dannybackx@users.sourceforge.net, binutils@sourceware.org, gdb@sourceware.org In-Reply-To: <200807181622.m6IGMcqq001357@ignucius.se.axis.com> References: <200807181622.m6IGMcqq001357@ignucius.se.axis.com> Content-Type: text/plain Date: Fri, 18 Jul 2008 18:51:00 -0000 Message-Id: <1216404759.30145.33.camel@dannypc> Mime-Version: 1.0 X-Mailer: Evolution 2.8.0-1mdv2007.0 Content-Transfer-Encoding: 7bit X-DCC--Metrics: sif 0; Body=5 Fuz1=5 Fuz2=5 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-07/txt/msg00208.txt.bz2 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