From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-4318.protonmail.ch (mail-4318.protonmail.ch [185.70.43.18]) by sourceware.org (Postfix) with ESMTPS id 05EB33858C74 for ; Mon, 13 Feb 2023 16:55:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 05EB33858C74 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=protonmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=protonmail.com Date: Mon, 13 Feb 2023 16:55:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1676307315; x=1676566515; bh=TE9Y91nE159Fsoi5Nr9LO5BpxEm4PTX61eSa68ShOPo=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=KtftMCJm2PzRnygRbnaS3CP5ByteaBGJB34XWga5fzUf6+A0rsxGOyJQWjlL872nM q0A1bSM0htx1alejB+m/esVA9Tqlv7mxUBxL3yeCPLtrvIQQajDBSEaLL72T6bCiEW qf36Vd8H5XUoW4WC1WkVfJpHIwAsTB+PbNGA3Cd+0zo5MztaGfq9pA8bmjYrpW5dLD gCoM4haCuTDbFST1wnOf/vw7kCtd+2PsJzDzPHpZSIQsJmZz2uFk6lf9l2qG9Mn8py IZ+BI5Ev75y7R+80MiAAqE5ljkJZvZRUD2OkyxLGTrdLvjhe/OkpEyXoV0r+n4Mhsm NLrzDke25Z9QQ== To: "binutils@sourceware.org" From: Marco Frigerio Subject: usage of the libdep plugin of LD Message-ID: Feedback-ID: 30622938:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi, Is there a way of making sure that the libdep plugin of LD is used? I have a static .a library with the __.LIBDEP section, but linking it to an= executable raises linking errors. All the errors go away if I specify manually the same '-lXXX' which is writ= ten in __.LIBDEP, suggesting that the latter is ignored. GNU Binutils v 2.38, gcc 11.3.0, on Ubuntu Linux. I could not find anything in the man pages, and the LD docs (section 4) do = not say anything about enabling/loading plugins. I hope this is the right place for this kind of questions, my apologies oth= erwise. Thanks - MF