From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23255 invoked by alias); 23 Oct 2009 09:47:27 -0000 Received: (qmail 23245 invoked by uid 22791); 23 Oct 2009 09:47:26 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mailhost.u-strasbg.fr (HELO mailhost.u-strasbg.fr) (130.79.200.154) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 23 Oct 2009 09:47:23 +0000 Received: from baal.u-strasbg.fr (baal.u-strasbg.fr [IPv6:2001:660:2402::41]) by mailhost.u-strasbg.fr (8.14.2/jtpda-5.5pre1) with ESMTP id n9N9lKcK010898 for ; Fri, 23 Oct 2009 11:47:20 +0200 (CEST) (envelope-from muller@ics.u-strasbg.fr) Received: from mailserver.u-strasbg.fr (ms2.u-strasbg.fr [IPv6:2001:660:2402:d::11]) by baal.u-strasbg.fr (8.14.0/jtpda-5.5pre1) with ESMTP id n9N9k20h088389 for ; Fri, 23 Oct 2009 11:46:24 +0200 (CEST) (envelope-from muller@ics.u-strasbg.fr) Received: from d620muller (gw-ics.u-strasbg.fr [130.79.210.225]) (user=mullerp mech=LOGIN) by mailserver.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id n9N9k0r4041645 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Fri, 23 Oct 2009 11:46:01 +0200 (CEST) (envelope-from muller@ics.u-strasbg.fr) From: "Pierre Muller" To: Subject: More record.c build failures Date: Fri, 23 Oct 2009 09:47:00 -0000 Message-ID: <000301ca53c5$a332ab30$e9980190$@u-strasbg.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit x-cr-hashedpuzzle: nyw= xyQ= AAon AFq1 Agdk BnOd B3sf B6k2 GK5N Ibht IvnG I2pu JEot JfDY J+9X KfsZ;1;ZwBkAGIALQBwAGEAdABjAGgAZQBzAEAAcwBvAHUAcgBjAGUAdwBhAHIAZQAuAG8AcgBnAA==;Sosha1_v1;7;{D3CF921F-F48B-4466-BAFE-D20F06D71773};bQB1AGwAbABlAHIAQABpAGMAcwAuAHUALQBzAHQAcgBhAHMAYgBnAC4AZgByAA==;Fri, 23 Oct 2009 09:45:58 GMT;TQBvAHIAZQAgAHIAZQBjAG8AcgBkAC4AYwAgAGIAdQBpAGwAZAAgAGYAYQBpAGwAdQByAGUAcwA= x-cr-puzzleid: {D3CF921F-F48B-4466-BAFE-D20F06D71773} Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-10/txt/msg00564.txt.bz2 record.c is bound to give problems on all targets that do not compile gcore.c source. gcore.o is a optional object that is only added to the list of compiled object in the config directory. Thus it is not possible to use this without some configure test... This is the outcome of Cygwin compilation with beta cygwin 1.7: gcc -g -O2 -Wl,--stack,8388608 \ -o gdb.exe gdb.o libgdb.a \ ../readline/libreadline.a ../opcodes/libopcodes.a ../bfd/libbfd.a -lintl ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -ltermcap -lz -lm -liconv -lexpat ../libiberty/libiberty.a -luser32 -limagehlp gnulib/libgnu.a libgdb.a(record.o): In function `cmd_record_save': /home/Famille/gdbcvs/build-norm/gdb/../../src/gdb/record.c:2223: undefined reference to `_create_gcore_bfd' /home/Famille/gdbcvs/build-norm/gdb/../../src/gdb/record.c:2280: undefined reference to `_write_gcore_file' collect2: ld returned 1 exit status make[1]: *** [gdb.exe] Error 1 Can someone fix this, please? Pierre Muller