From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id +VvHJL2auWMlrREAWB0awg (envelope-from ) for ; Sat, 07 Jan 2023 11:15:57 -0500 Received: by simark.ca (Postfix, from userid 112) id 8B4071E222; Sat, 7 Jan 2023 11:15:57 -0500 (EST) Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=XSyXhdpZ; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-5.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 0A49B1E0D3 for ; Sat, 7 Jan 2023 11:15:57 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 5560C3858C53 for ; Sat, 7 Jan 2023 16:15:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5560C3858C53 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1673108156; bh=mS4pUtGrEl5XDxC5yBiXI4BPmULptzE0WZC3ApZOChw=; h=Date:To:CC:In-Reply-To:Subject:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=XSyXhdpZ2SHWYk3JntdQhncqdYRw4sxcN9F09CS3ZgjomAMGu1gD8gbUY05Ee1tr3 UmX+Qy2f4cgl9BKpv7Fb2pDgeRvX4I9Ni3zcDLaVYxyGUFrV1fuzFJ/muplPAbz6eV an+LlznnT3pksKDTaCyTbJBFLn380UwnPK93Gvgw= Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 5EDBE3858D35 for ; Sat, 7 Jan 2023 16:15:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5EDBE3858D35 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pEBr5-0001ve-9B; Sat, 07 Jan 2023 11:15:35 -0500 Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pEBr4-0004ZN-GT; Sat, 07 Jan 2023 11:15:34 -0500 Date: Sat, 07 Jan 2023 18:15:55 +0200 Message-Id: <83y1qeqq10.fsf@gnu.org> To: schwab@linux-m68k.org CC: gdb-patches@sourceware.org In-Reply-To: <83zgauqqa5.fsf@gnu.org> (message from Eli Zaretskii via Gdb-patches on Sat, 07 Jan 2023 18:10:26 +0200) Subject: Re: Two observations using GDB 13 snapshot References: <83h6xugc5v.fsf@gnu.org> <83r0w6uaad.fsf@gnu.org> <87fscmemeo.fsf@linux-m68k.org> <83358mu1tv.fsf@gnu.org> <87bknaek9z.fsf@linux-m68k.org> <83v8lisjlx.fsf@gnu.org> <87lemeh4wz.fsf@igel.home> <83h6x2sb5x.fsf@gnu.org> <87cz7qh2db.fsf@igel.home> <83a62usabj.fsf@gnu.org> <878rieh194.fsf@igel.home> <838ries9je.fsf@gnu.org> <874jt2h0hq.fsf@igel.home> <835ydis7qt.fsf@gnu.org> <87zgaufj4w.fsf@igel.home> <83zgauqqa5.fsf@gnu.org> X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Eli Zaretskii via Gdb-patches Reply-To: Eli Zaretskii Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" > Date: Sat, 07 Jan 2023 18:10:26 +0200 > Cc: gdb-patches@sourceware.org > From: Eli Zaretskii via Gdb-patches > > > >> That does not happen for me. Did you configure with --enable-shared? > > > > > > No. Why would I need to? > > > > Without it, libtool should have no reason to put gdb in .libs. > > I see. Well, here it is. Could it be related to the warnings I got from libtool during the build: /bin/sh ./libtool --tag=CC --mode=link gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Wno-format -Werror -O2 -gdwarf-4 -g3 -release `cat libtool-soversion` -Wl,--stack,12582912 -o libbfd.la -rpath d:/usr/lib archive.lo archures.lo bfd.lo bfdio.lo bfdwin.lo cache.lo coff-bfd.lo compress.lo corefile.lo elf-properties.lo format.lo hash.lo init.lo libbfd.lo linker.lo merge.lo opncls.lo reloc.lo section.lo simple.lo stab-syms.lo stabs.lo syms.lo targets.lo binary.lo ihex.lo srec.lo tekhex.lo verilog.lo `cat ofiles` d:/usr/lib/libintl.a d:/usr/lib/libiconv.a -lz *** Warning: Trying to link with static lib archive d:/usr/lib/libintl.a. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have *** because the file extensions .a of this argument makes me believe *** that it is just a static archive that I should not use here. *** Warning: Trying to link with static lib archive d:/usr/lib/libiconv.a. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have *** because the file extensions .a of this argument makes me believe *** that it is just a static archive that I should not use here. libtool: link: warning: undefined symbols not allowed in i686-pc-mingw32 shared libraries Same warning in opcodes and in ibctf. I ignored those, because they don't prevent the build, but maybe libtool acted as if --enable-shared was specified, without me saying so?