Message ID | cover.1709355051.git.nvinson234@gmail.com |
---|---|
Headers |
Return-Path: <binutils-bounces+patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 3C9A238582A9 for <patchwork@sourceware.org>; Sat, 2 Mar 2024 05:01:18 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from mail-qv1-xf30.google.com (mail-qv1-xf30.google.com [IPv6:2607:f8b0:4864:20::f30]) by sourceware.org (Postfix) with ESMTPS id DE54C3858D39 for <binutils@sourceware.org>; Sat, 2 Mar 2024 05:00:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DE54C3858D39 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org DE54C3858D39 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::f30 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709355649; cv=none; b=p9+AdpqUFUYJCUnXQfXBwbwQUgA4NFz7JtZ8XMz9OZi1wzV2CvGUCh1zwlky+yyIcl5zDxohpazMhDsYwnu6F7Dfd0kSZxqjo/O/JfFvrRGANcXvNdl6gFZ5CHjHEn2W/PVJ0/TN8cKyv1S6D8p9cExcMXF95bEWlGJG5jjE2ss= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709355649; c=relaxed/simple; bh=Jn71PPcaQAtdBB+wmBGHL1iL0uN0KllvFSroCQzw3pg=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=NX0Ca9SPj2N88xyEvcc2fFZeIQZbvmsukjZSGbuOSbgka24h7XfPhH1L/YpPjRVKkwdvjn++rA4h6Ol8oyUvOAjK/2BUIAmEnGoHpfooMwJfknLqtR1CDAXu8ebrnOkQ0YBjzMGYiz6fIBDpNvId6dyNu0iYxm3koB9YFnnSi80= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-qv1-xf30.google.com with SMTP id 6a1803df08f44-68fe8e20259so15909506d6.2 for <binutils@sourceware.org>; Fri, 01 Mar 2024 21:00:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709355642; x=1709960442; darn=sourceware.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=mFb2dTsAQDsSZO4ICCKFtYrPTEmjznA1pqDC2j2m0Dw=; b=FHdlvtZCpnc/6XXsCRbHsf+jiF/q0LuNnMKeEsjajUuvJNr/hyS2/ulpLqBMyWxIUH LlQRmhf53raqFQwPOQ42zu4hps7Gym7CTrH8jUgpmYxh3lPIg2ESPfOifr16j3VgwgVc /X5m7yulKFA/VoKKDYaqqdyQEjF7beAjQ2dXNGOplXMLYUH8rW9NX/987wcXtOm/VZcw ZaCdrc4hiwvBUzFkqrSVs5bDgeDhd16yT52/P/JonMbSHggWhRchxLkxUYsF/ijVKuvQ NXq7AuCdatOdvY/XX1srLjfscnKzDi2e/HYLvCkJKyl4vaBwjqnxMuBGrjOA2tIMeqCw /2+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709355642; x=1709960442; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=mFb2dTsAQDsSZO4ICCKFtYrPTEmjznA1pqDC2j2m0Dw=; b=h2LTo1Pz22F/7QWaVfac8MJ8U5Sh5Szfi97hOpxGEXq5N2CHcBDHRaWXkeU5/l+hWc ZT5Zghh+pTtKrjIrhbTMlxrdR/b1cNWnujKr+O6nNwwYaQ/yjQPSIUgnv/7tLQJw78qe AW1Kun6Z55pjqkbOi0adesdc61aALNKFBB9lv6dTM3pcFgZIiM1Ay8jEDxw2ibM4hK+m ncrhWrcNAZ61Yg6N1F+6HHCKhDqotkIQv5dk+8TTkJVErZrogHi9OU2wfIhppNCMVxKF 19LVHwsqQ9UFDF7tbXAxHb/tmAjzvRY8g23oMbtTX8DCgCi4fGPNUIwovQfA28hLqTDG FHgA== X-Gm-Message-State: AOJu0YwchmK2fzehaiCvsrGy8amTfLlRbzvQCUMoJso9IibuKKuly6Ep CEcw19wOB0tU1exIO7leZI6pPyT4qx3SjyDNMDParQZ8JzhhSHHFUyfBA19G X-Google-Smtp-Source: AGHT+IG2XSDH6turbfo0lE46GvdGez0IiupLz/kBT/H2R8g2Zjdo0Z6TmV1DbPL3xElQ3GQG76CQhQ== X-Received: by 2002:a0c:c788:0:b0:68f:a452:3d64 with SMTP id k8-20020a0cc788000000b0068fa4523d64mr3557325qvj.36.1709355642154; Fri, 01 Mar 2024 21:00:42 -0800 (PST) Received: from localhost.localdomain ([2602:47:d95e:101:a380:d480:67ea:14d2]) by smtp.googlemail.com with ESMTPSA id nw3-20020a0562143a0300b0068ffe7b2914sm2577330qvb.107.2024.03.01.21.00.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 21:00:41 -0800 (PST) From: Nicholas Vinson <nvinson234@gmail.com> To: binutils@sourceware.org Cc: Nicholas Vinson <nvinson234@gmail.com>, Sam Jones <sam@gentoo.org>, Nick Alcock <nick.alcock@oracle.com> Subject: [PATCH 0/3] Fix ld.lld-17 libctf version script symbol not defined errors Date: Fri, 1 Mar 2024 23:59:58 -0500 Message-ID: <cover.1709355051.git.nvinson234@gmail.com> X-Mailer: git-send-email 2.43.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Binutils mailing list <binutils.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/binutils>, <mailto:binutils-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/binutils/> List-Post: <mailto:binutils@sourceware.org> List-Help: <mailto:binutils-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/binutils>, <mailto:binutils-request@sourceware.org?subject=subscribe> Errors-To: binutils-bounces+patchwork=sourceware.org@sourceware.org |
Series |
Fix ld.lld-17 libctf version script symbol not defined errors
|
|
Message
Nicholas Vinson
March 2, 2024, 4:59 a.m. UTC
Starting with ld.lld-17, ld.lld is invoked with the option
--no-undefined-version enabled by default. This causes ld.lld to error whenever
a versioned symbol map contains undefined symbols. As a result, ld.lld emits
errors when building libctf.
Together these patches fix the undefined symbol errors that occur when building
libctf.
Special thanks to Sam Jones and Nick Alcock for their assitance in creating this
patch set.
Fixes Gentoo bug 914640 (https://bugs.gentoo.org/914640)
Signed-off-by: Nicholas Vinson <nvinson234@gmail.com>
Nicholas Vinson (3):
libctf: Remove undefined functions from ver. map
libctf: Add comment for conditionally def'd sym
libctf: Regnerate configure
libctf/configure | 3 ++-
libctf/configure.ac | 3 ++-
libctf/libctf.ver | 5 +----
3 files changed, 5 insertions(+), 6 deletions(-)