From nobody Thu Apr 18 23:44:31 2024 X-Original-To: freebsd-arch@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VLDs42tqhz5HLX8 for ; Thu, 18 Apr 2024 23:44:40 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4VLDs35yX2z4mj9; Thu, 18 Apr 2024 23:44:39 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Authentication-Results: mx1.freebsd.org; none Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.17.1/8.17.1) with ESMTP id 43INiVPS028488; Thu, 18 Apr 2024 16:44:31 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) DKIM-Filter: OpenDKIM Filter v2.10.3 troutmask.apl.washington.edu 43INiVPS028488 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=troutmask.apl.washington.edu; s=troutmask; t=1713483871; bh=rSK6USDa0WMXZ+31t/kGf36h0AgCveHU3mkWmlzQ94w=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=Gjed5Jr0+3AS1d9YY8I7EA39SnD/1ON5CSmBr8r2EePsPPYxD536g2Jq+NEHGtdb4 OEyf3P7E2OUcmp3YQUFdyUL+75w8EEwzXGjr17NHSSTDZW/c/jB8r+h9kNW4SBeOx3 fOEx83ioyA2Iid3fWuoL6/SJpp1bKStOtTkL3Z5ZEWlhnE3DCC9HC7IEbu1M0tBfEm Tb/hugHOaZcmGLa7NL+tgcBvvcrm/D3l63ui0HDWkf0D6Ug5HyToJGtet3yiVcthmQ EMW9MtT4sY/8ctRgsnePLtefkrxmqzB494nmtlMscKXbJ/xX5C46PbKKnzEcG08a64 S/ejTtKlTGsCQ== Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.17.1/8.17.1/Submit) id 43INiVcB028487; Thu, 18 Apr 2024 16:44:31 -0700 (PDT) (envelope-from sgk) Date: Thu, 18 Apr 2024 16:44:31 -0700 From: Steve Kargl To: Brooks Davis Cc: freebsd-arch@freebsd.org, Michael Dexter Subject: Re: RFC: linking with --no-undefined-version Message-ID: Reply-To: sgk@troutmask.apl.washington.edu References: List-Id: Discussion related to FreeBSD architecture List-Archive: https://lists.freebsd.org/archives/freebsd-arch List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arch@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:73, ipnet:128.95.0.0/16, country:US] X-Rspamd-Queue-Id: 4VLDs35yX2z4mj9 On Thu, Apr 18, 2024 at 11:35:19PM +0000, Brooks Davis wrote: > As of LLVM 16, lld default to --no-undefined-version which means that if > a symbol is listed in the symbol version map it must be present or lld > will fail to link. This is good because it prevents that accidental loss > of symbols which breaks our ABI compatibility. Unfortunately, it's > somewhat complicating because our symbol version maps may vary > per-architecture or based on options. As a result we added > --undefined-version to LDFLAGS. > Just to be clear, does this extend into /usr/ports? I only have 3020 *.so in /usr/local/lib. I can image that some software package may have missing symbols. -- Steve