From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.CeBiTec.Uni-Bielefeld.DE (smtp.CeBiTec.Uni-Bielefeld.DE [129.70.160.84]) by sourceware.org (Postfix) with ESMTPS id 14859385E457 for ; Tue, 19 Dec 2023 22:23:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 14859385E457 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=CeBiTec.Uni-Bielefeld.DE Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=cebitec.uni-bielefeld.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 14859385E457 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=129.70.160.84 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703024637; cv=none; b=OOox+jfL4HtcPYwjHtov3ijO93YHVuKaXa+0CVovuJk4Fza6QJtFgH5msSLk25uwNju+bBXa0CKBJSfrcpd3kPJZbuCHDm9hdXyGrD4UBcTfUIZxz3zqWRo4dhXRAQVDBh6hduANDjZOmXkY6E1jiV2ajFyLYpxCK1PshVnUGXo= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703024637; c=relaxed/simple; bh=a9hjcUrmDjjgGVxNGMxGWOsRaIadbBubVqSYT0oyWDU=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=WTDMGZPgbDJf5yS6l+18NZShKDzzpH4OTWys7D2xSQNMGpCaQbw1U38G3NXdgCg+OjZEYiOdXIOa2CjsQlKnV+zE5oetMMurcXPTuFwHOQEVYuFrRhkNoJHtJcCIRr0bjA7Ldl7nxEtodJU8LwmgYGUCMY5Mp9TB/Vt6e355Ve4= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from localhost (localhost [127.0.0.1]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 129C867C11 for ; Tue, 19 Dec 2023 23:23:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= cebitec.uni-bielefeld.de; h=content-type:content-type :mime-version:user-agent:message-id:in-reply-to:date:date :references:subject:subject:from:from:received:received; s= 20200306; t=1703024633; bh=a9hjcUrmDjjgGVxNGMxGWOsRaIadbBubVqSYT 0oyWDU=; b=CQqEbzknyMHRpcuBr7jcvbNMrHJLnnpwht87ykrTAOSJAifHtIyaF WhirJDlxpZTfGT9+b7R5A1iuUSRioCO5RdrpURm/3qpqDRN0MUGDKE97ITQjgGNH O8WpJJbwyDlmdYwh9s2V9b0eZK2HVQVdoOghRmNYrbOJEpeM4wLdHTd9Ch7iLpaP iXjjhqVKpUKEvZJLWueyDCFwb0m7qfWrZfEOO/2sGz90hurEsOONtZmP+c7gKs0F rHHh9PfS/jfOdcIVnXDL03goyH8KxxSaQk2niMDMiIulIHH96UxUaoZ8vi7JfV68 KBoOL7oH/nDlUljEEjgabyfL63WZydbFg== X-Virus-Scanned: amavisd-new at cebitec.uni-bielefeld.de Received: from smtp.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (smtp.cebitec.uni-bielefeld.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id iCNrhdzApSjY for ; Tue, 19 Dec 2023 23:23:53 +0100 (CET) Received: from manam.CeBiTec.Uni-Bielefeld.DE (p4fddb508.dip0.t-ipconnect.de [79.221.181.8]) (Authenticated sender: ro) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPSA id 6725B67934 for ; Tue, 19 Dec 2023 23:23:53 +0100 (CET) From: Rainer Orth To: binutils@sourceware.org Subject: Re: [PATCH] ld: Add lib32 directories for 32-bit emulation on FreeBSD/amd64 References: Date: Tue, 19 Dec 2023 23:23:52 +0100 In-Reply-To: (Rainer Orth's message of "Wed, 13 Dec 2023 10:33:05 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.90 (usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-3785.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,KAM_NUMSUBJECT,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Ping? It's been a week: https://sourceware.org/pipermail/binutils/2023-December/131178.html Rainer > GNU ld currently fails to link 32-bit executables on FreeBSD/amd64 when > the linked libraries have dependencies on shared objects themselves: > > $ gcc -m32 -o ei ei.c -lexecinfo > /var/gcc/binutils/amd64/lib/gcc/amd64-pc-freebsd14.0/13.2.0/../../../../amd64-pc-freebsd14.0/bin/ld: > warning: libelf.so.2, needed by /usr/lib/../lib32/libexecinfo.so, not found > (try using -rpath or -rpath-link) > /var/gcc/binutils/amd64/lib/gcc/amd64-pc-freebsd14.0/13.2.0/../../../../amd64-pc-freebsd14.0/bin/ld: > /usr/lib/../lib32/libexecinfo.so: undefined reference to `elf_begin@R1.0' > [...] > > Fixed by handling FreeBSD/amd64 like Linux/x86. > > Tested on amd64-pc-freebsd14.0. > > Ok for trunk? > > Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University