From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bumble.birch.relay.mailchannels.net (bumble.birch.relay.mailchannels.net [23.83.209.25]) by sourceware.org (Postfix) with ESMTPS id BC5E53858418 for ; Mon, 25 Mar 2024 17:38:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BC5E53858418 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=hcubed.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=hcubed.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org BC5E53858418 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=23.83.209.25 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1711388340; cv=pass; b=cv98P50rErUWGEQjs7OAcb2gzjtW4YkfUoVieKPQGwxr5QG1Q0I4QKIOE/OpibMKWzkR+n0EV/ZQ0oJ+tRg3VwOzBaoIAwTOYLff32JoUxCp2v9LbtvtF223gqN2OeZkKVORKuvEbAylmh61RVFKCG9eMPgSHXjyXpcBYPY06+0= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1711388340; c=relaxed/simple; bh=QuhYeZgnhly+vNuuBRSKr/67ZerA9ThydEhVmM6ixYc=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=Xn6NV7ndoTwMMyfjJI4y0GCoCCdSPqtLlhoGueJ5lZ3ctK3jIbJMCGQIMFWRwZsSdP4UWeUdRJk3KC+iV0gu1Xf06w+qPlAneO/YJ1yQfHO36x2rfTC7X6ov+qp0CqdZ7ZQp4N4w+v6e4RSnBivCCu7W+fXchj86wWwE0ObXwyI= ARC-Authentication-Results: i=2; server2.sourceware.org X-Sender-Id: hostpapa|x-authuser|grant@hcubed.com Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 9357A1425EF; Mon, 25 Mar 2024 17:38:57 +0000 (UTC) Received: from s127.servername.online (unknown [127.0.0.6]) (Authenticated sender: hostpapa) by relay.mailchannels.net (Postfix) with ESMTPA id D4F6D142952; Mon, 25 Mar 2024 17:38:53 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1711388334; a=rsa-sha256; cv=none; b=KD3t7ewNYMfFF0OJ0aTkwqChJRRDFsGiI+W8E/4HTywrr4Gc53xhff7jbdLBcB6bNV0PTE 3uIA2DC1co6GhQGHH0ZMtFxQilC1zmr0sKTKygT0np/RRY9pSesQyYeIWE5m8CXVkD7t6e qdysJxQ4Y781KsU4M+wmQw0M5xRrqhZX67hixvdN/y1YxMJHt+KELoDwrdB2ztPdyhKWky pFXCbmp9701OQ/THstP8iOhBCsvO8edz40SKtEa7qk6LT/ySA8WZ6/155WQGxuwGJCnjj2 nkWXHJVRkCz78t9n/BUhutf1RjoxXxkCP5qn+26cmQHXkt4tg06sHWU9yANIoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1711388334; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=hKdzDycnRdqlJfrWSNxWK1qp8vMoMbZsKMfxKsAD2N4=; b=htomhtAHNFFekeltxQpMZ1qwBO8o2C2PRCPOHUw2mAMkawu0LbBWJ8dbtf6L4/8cODfxvr sh1Bp1++jVlm/vwsdAxz3KPW+NtSA3SfB85gAbHhvSmBiVPlBHIukqZ4fYDVyINkgLQYl9 8ZFTOP/nInioNBozstzyUsdAuK3sox7E+igdxB/dF+ZojbGOGAbinjke4yAfjC8sGqwI1s qZ7yuQ0vGq8Y4A0Uow7u3KQNqcX0mY9VxL5pihxK6hhQDu121DsVBNRosOojNLWNBrRj7T Fhk7EwyfGQvP6exxPP86tCPYKltEfsZm4qrQ2gAPRTMiU95CnzsShK3DDpA71w== ARC-Authentication-Results: i=1; rspamd-dbbfdf895-8wl4q; auth=pass smtp.auth=hostpapa smtp.mailfrom=grant@hcubed.com X-Sender-Id: hostpapa|x-authuser|grant@hcubed.com X-MC-Relay: Neutral X-MailChannels-SenderId: hostpapa|x-authuser|grant@hcubed.com X-MailChannels-Auth-Id: hostpapa X-Chemical-Tart: 17e6219643df5c25_1711388335274_3422229424 X-MC-Loop-Signature: 1711388335273:3106717430 X-MC-Ingress-Time: 1711388335273 Received: from s127.servername.online (s127.servername.online [204.44.192.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.118.191.199 (trex/6.9.2); Mon, 25 Mar 2024 17:38:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=hcubed.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: Date:Subject:In-Reply-To:References:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=hKdzDycnRdqlJfrWSNxWK1qp8vMoMbZsKMfxKsAD2N4=; b=e9l3TPLAz4uxOuBP0wjUxumeW6 HHBgTd47bhrrAALDm1biQd/ezqSm1tWRv9QDL/hrNVoTHYbdyMLtBrFwW2L8RPvMguuJnZXWWuIo6 1kgkm/DvwnV70gL+m3CsFNkCWgFWgsQju/EcOT3LPfb2sEZ4OxYLockvn8aBXsbhSBTZBvovJ1HMz Y1aUA2rGLFFyYt1grTwEXpQo2vosK+DWFUeJ3LAtm+z6X+kd3bzbEFxkK5SVKLnn6RkaWCpM0MtgY vvJp3whwMA6u1hiezSveEotUYMtIxCTnSTiXYwBGroaAzdZMGguT4ZJfPStgn2i0X6BLRITe4F/yX M2CL8RvQ==; Received: from c-73-202-250-56.hsd1.ca.comcast.net ([73.202.250.56]:60089 helo=xps151) by s127.servername.online with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1rooHd-00Blja-23; Mon, 25 Mar 2024 10:38:53 -0700 From: To: "'Nick Clifton'" Cc: , "'Tulio Magno Quites Machado Filho'" References: <3672709c299b649008957acb6e9f072d@hcubed.com> In-Reply-To: Subject: RE: global-file-syms for clang Date: Mon, 25 Mar 2024 10:38:52 -0700 Message-ID: <008301da7edb$4db9c9d0$e92d5d70$@hcubed.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Content-Language: en-us Thread-Index: AQILpB8pH2pUN1E46fGV59eqJZJwVwC/MhJ6AgfgzcIB6mUe8rDA4Thw X-AuthUser: grant@hcubed.com X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,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: Nick, Thanks! Couple of questions: 1) Will the new annobin plugin/annocheck work with clang = version16.0.6-1.el9)? Specifically, will the interaction between = annocheck & the compile cause any issues/false positives or negatives? 2) I noticed that annocheck has a considerable number of errors around = gaps. This is after regenerating all the source (except standard = libraries) with annobin plugins. Is this expected. For reference, LTO is = enabled in these cases. Thanks again, Grant Haidinyak -----Original Message----- From: Nick Clifton =20 Sent: Monday, March 25, 2024 10:19 AM To: grant@hcubed.com Cc: annobin@sourceware.org; Tulio Magno Quites Machado Filho = Subject: Re: global-file-syms for clang Hi Grant, > Thanks. As a data point, when I use the GCC toolchain, I didn't need=20 > to set the global-file-syms flag. I believe the issue is an=20 > interaction between the LLVM gold plugin and the annobin plugin and = linking in LTO archives that have objects that have the same filename = for the source. The LLVM gold plugin tries to bring in all the fine = annobin symbols, rather than just bringing the annobin symbols from the = first file that satisfies the symbols for linking. Hmm, strange. It sounds like an issue with the LLVM plugin, but I doubt = if it is likely to be fixed... > I was just going to use the global-file-syms to overcome the LLVM gold = plugin/LTO issue. Fair enough. Please try the 12.46 sources, available from the annobin = repository. This has Tulio's patch to implement the global-file-syms option for the = Clang and LLVM plugins. (For the LLVM plugin you have to pass the = options in the ANNOBIN environment variable, since LLVM does not support = passing options to plugins). Cheers Nick