From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id A3A183858D38 for ; Tue, 26 Mar 2024 11:31:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A3A183858D38 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A3A183858D38 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711452724; cv=none; b=q0Ye7H7cwxTkgfO9k3L802cjyc3PXhVr1TyhtxXB2S+mcWrv+H0JoawFzaMAK+y5hX9OhLPM7PyVbFtqp27jTPQxbZ9r8fVOzb2WID9J2bI6a4LjUJVCqIx4ECv/NTwgkBBmVgt3c+7BpLuT45/MOCRUi5KyGRKdFgluw4U48g8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711452724; c=relaxed/simple; bh=JpGAfxWme5EF4x83nuUZH3zzSiYe3sWHqViukzjmfAk=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=pywGj639BFEJLYhLCexlGDl2qXndSS3tNA6PZ+/OgefoFM2Y+s9smZUdR4gcZ49XaA0ydsLgO9+uLiniRpBn6Z8GqpNTkCzTqI5XWpzJNXnDeNf5r0xsHMNXcnWWodWDRDIJaS6nttU9mrD8rnCD8fliKj8ExnRsm/B7wo+Bs9o= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1711452713; 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:autocrypt:autocrypt; bh=ZL4U2GFQ2PF7kqGTC1Ljv7ju13v3Act8v5xlQrZOXFc=; b=UBIu1GE6Rfz6V7vQnkhfmKtcS2Y5IhDjTkGCuQU13fO+xtzOFJ0/VtYSj/KI2dWNxSqawy Hp3vJqMcT6rUOdeD2qai8hBRFz4vs70t8THxuW+nhaWbYskvLe8KkjeU7kA25bSBjyevQ8 IkobQ0XHJxb2mFSIIsaVDyB5fSlIAww= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-472-F5T7sj_1NJ63nuDtzUFdEQ-1; Tue, 26 Mar 2024 07:31:52 -0400 X-MC-Unique: F5T7sj_1NJ63nuDtzUFdEQ-1 Received: by mail-wm1-f70.google.com with SMTP id 5b1f17b1804b1-4148b739698so7092885e9.0 for ; Tue, 26 Mar 2024 04:31:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711452710; x=1712057510; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ZL4U2GFQ2PF7kqGTC1Ljv7ju13v3Act8v5xlQrZOXFc=; b=vZj+3ITOvEvdiJymkyYxzlrGgKNPYo8K1dpP8gndrXB1XahIIyGB2AHFFJDLA8aTl4 0in6atN3vF/FLfi77XGSQ1iMIBAEFDYtrCXAgLzKG/5r4xN5dvFH5q2jzAADXWS4v3AM s+LuB3iPd/FrhiUPx5EkNdF2Jp8dYUofeIzODCegrxjYKU7DfvFK6fHPUUQ3FwSkF+RF +SsOXUfi0HRzRMLivGYQ0Wi9YVNmJGqQIyxpil7xOhQr4tu8+Gk3ihGFOmcpAwNYDDGi 8jGMk6RiyxFhDGQ1RyuFZl9jtBoKYIl+hptQBlqr+l1D84JdJ39UsUNqtk2A/AfnWqSe iLLA== X-Gm-Message-State: AOJu0YwHHZjjv9KIMVcS83uPY7ezzCMYUw1/g16WJF71oxNx5m0S57UP FrUPGaz252r7ltBj2DVMDmTzwsVvD+j4LEzSSYqQXs1JOVv9o0lsDYGAZ1Gsx++FT5t7tCk0Yq2 Z9Kjx4mkfn1LyfMLkTKd9ub8qXp7b+SFJbT+PtD1jG2/3xbPGMjSIU70r03rk9A== X-Received: by 2002:a5d:5886:0:b0:33e:790f:5f83 with SMTP id n6-20020a5d5886000000b0033e790f5f83mr7543666wrf.47.1711452709912; Tue, 26 Mar 2024 04:31:49 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGM02ULqJwzGcvu8t/G2p54uj0RIQqTVg8UFT2lDsmapq8d7XeR5VqHkaMP02oFGZ3Epczprw== X-Received: by 2002:a5d:5886:0:b0:33e:790f:5f83 with SMTP id n6-20020a5d5886000000b0033e790f5f83mr7543651wrf.47.1711452709569; Tue, 26 Mar 2024 04:31:49 -0700 (PDT) Received: from [192.168.1.18] ([79.123.79.31]) by smtp.gmail.com with ESMTPSA id cr8-20020a05600004e800b0033e7715bafasm11971518wrb.59.2024.03.26.04.31.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 26 Mar 2024 04:31:48 -0700 (PDT) Message-ID: Date: Tue, 26 Mar 2024 11:31:48 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: global-file-syms for clang To: grant@hcubed.com Cc: annobin@sourceware.org, 'Tulio Magno Quites Machado Filho' References: <3672709c299b649008957acb6e9f072d@hcubed.com> <008301da7edb$4db9c9d0$e92d5d70$@hcubed.com> From: Nick Clifton Autocrypt: addr=nickc@redhat.com; keydata= xsFNBFm/2cUBEADkvRqMWfAryJ52T4J/640Av5cam9ojdFih9MjcX7QWFxIzJfTFYq2z+nb4 omdfZosdCJL2zGcn6C0AxpHNvxR9HMDkEyFHKrjDh4xWU+pH4z9azQEqJh331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qQ/6ApUwgsZz tps0MOdRddjPwz44pWXS5MG45irMQXELGQyxkrafc8lwHeABYstoK8dpopTcJGE3dZGL3JNz 1YWxQ5AV4uyqBn5N8RubcA8NzR6DQP+OGPIwzMketvVC/cbbKDZqf0uTDy3jP65OFhSkTEIy nYv1Mb4JJl3Sq+haUbfWLAV5nboSuHmiZE6Bz2+TjdoVkNwHBfpqxu6MlWka+P98SUcmY8iV hPy9QC1XFOGdFDFf1kYgHW27mFwds35NQhNARgftAVz9FZXruW6tFIIfisjr3rVjD9R8VgL7 l5vMr9ylOFpepnI6+wd2X1566HW7F1Zw1DIrY2NHL7kL5635bHrJY4n7o/n7Elk/Ca/MAqzd IZxz6orfXeImsqZ6ODn4Y47PToS3Tr3bMNN9N6tmOPQZkJGHDBExbhAi/Jp8fpWxMmpVCUl6 c85cOBCR4s8tZsvGYOjR3CvqKrX4bb8GElrhOvAJa6DdmZXc7AyoVMaTvhpq3gJYKmC64oqt 7zwIHwaCxTbP6C6oUp9ENRV7nHnXN3BlvIgCo4QEs6HkDzkmgYlCEOKBiDyVMSkPDZdsspa+ K4GlU2Swi/BDJMjtDxyo+K0M81LXXxOeRfEIfPtZ3ddxBKPva1uSsuz+pbN9d1JY8Ko5T/h1 6susi2ReUyNJEJaSnjO5z13TQ1U= In-Reply-To: <008301da7edb$4db9c9d0$e92d5d70$@hcubed.com> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-GB Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,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_NONE,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 Grant, > 1) Will the new annobin plugin/annocheck work with clang version16.0.6-1.el9)? Yes. Well assuming that you are using a version of the annobin clang plugin that was compiled with clang 16. If you are using RHEL-9 then there may be a slight issue in that annobin version 12.46 has not been made available for CentOS-9/RHEL-9 yet. You are always free to compile it yourself, but if you want to use the official CentOS-9/RHEL-9 annobin rpm then you will probably need to file a bug report/enhancement request to get the new version. As for annocheck, it is completely architecture and version agnostic. It will run on any architecture and can check files built for any architecture (not just the architecture type of the host on which it is run) by any version of any compiler. > Specifically, will the interaction between annocheck & the compile cause any issues/false positives or negatives? No. Or at least it should not, and if any issues or false positives do arise then this is due to bug(s) in annocheck. (In which case please do report them...) > 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. Err, maybe ? It depends upon where the gaps are located. If they are in those standard libraries that have not been recompiled, then it would make sense. If the gaps are in code that has been recompiled and therefore should have annobin data, then something has gone wrong. LTO compilation does cause problems for annobin and annocheck, but these days they should mostly be solved. Having said that though, I have mostly been working with LTO using GCC rather than Clang, so there could still be some issues that need addressing. If you have an example binary that you would care to upload I can take a closer look and maybe find out some more. Cheers Nick