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 0249A3858C20 for ; Mon, 22 Aug 2022 08:54:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0249A3858C20 Received: from mail-yw1-f200.google.com (mail-yw1-f200.google.com [209.85.128.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-524-ddhQagAfPgqGM_6UeEBIow-1; Mon, 22 Aug 2022 04:54:22 -0400 X-MC-Unique: ddhQagAfPgqGM_6UeEBIow-1 Received: by mail-yw1-f200.google.com with SMTP id 00721157ae682-3345ad926f2so178028707b3.12 for ; Mon, 22 Aug 2022 01:54:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:x-gm-message-state:from:to:cc; bh=4jRSv5Es/0Ipue6JzJaAaDCkdQrpaKnuon7fV8n37Jw=; b=x+R9HiFuI+r3T02/lBW743fRgGTY1fcNLrMRHTVvlj/87R0L3MBttqUjOxd3SpRbZ3 /ONGWZb5S0uTRotGWvod+OhGFGGXyCDSnJ6SGOFLDAkBA7G9zQqW/IFnieRVHnNAXddI Owfn7hWIMMecRLC/wYv3kKOrmuH/a/z9/0ZP3J0NdsPCJKvpCFUbwbxCSA8TtwJHJJXZ V6uqO5MbdxnrGNIYIpMZsw2b8+PTpJSsb9HL62flfJ+QIE0tbImOaV6V4H4N98ktnRrj mrhqQ8OWIQDvcJlnbxMXRbSiXXHqRbhvOqtJiJMNs4UTkzratDH3pmWrnpPn/O/xFa4A iRLg== X-Gm-Message-State: ACgBeo2EPZlTMJ5IPCF7N8/cKfDMFjG1xNGKAZQpUdKitF5xAiniGVlL WcEQzYv2hv3viR7dBquFi0kAFYIIsiFblpXuj9ludsuPaweIGH29CLYMQ21XHLmYzrkMt01bxo5 peJMwzbfXUMQKrSDdqRZCkmqDT5ncdA== X-Received: by 2002:a81:81c1:0:b0:31e:7378:960c with SMTP id r184-20020a8181c1000000b0031e7378960cmr19412549ywf.266.1661158461755; Mon, 22 Aug 2022 01:54:21 -0700 (PDT) X-Google-Smtp-Source: AA6agR4hAVmyIKtMuyYUKbTi4f3LhFY4ZUgDgyVYx2vPqIZcUrvyi8N6aa+rSg42JrXLFqf5Iylw/4duNeZt+Zwpv1M= X-Received: by 2002:a81:81c1:0:b0:31e:7378:960c with SMTP id r184-20020a8181c1000000b0031e7378960cmr19412540ywf.266.1661158461551; Mon, 22 Aug 2022 01:54:21 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a05:6918:778c:b0:d6:5452:a393 with HTTP; Mon, 22 Aug 2022 01:54:21 -0700 (PDT) In-Reply-To: <87o7wc4qn4.fsf@oldenburg.str.redhat.com> References: <87o7wc4qn4.fsf@oldenburg.str.redhat.com> From: Reid Wahl Date: Mon, 22 Aug 2022 01:54:21 -0700 Message-ID: Subject: Re: -fno-builtin not preventing __builtin___snprintf_chk in gcc 11.2.0-19ubuntu1 To: Florian Weimer Cc: Reid Wahl via Gcc-help X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, HTML_MESSAGE, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_NONE, 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 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Aug 2022 08:54:25 -0000 On Monday, August 22, 2022, Florian Weimer wrote: > * Reid Wahl via Gcc-help: > >> I have no idea what's causing the unit test to fail on Fedora 36 Power >> 9 LE (the only system in the test bed that's still failing), but I >> don't have a reproducer or enough information to ask a question. I'll >> try to get one set up this week and go from there. > > The POWER failure could be related to the float128 redirects. The > snprintf symbol is necessarily different there as well > (__snprintfieee128). This is completely unrelated to fortification. It is, thank you :) I later got a test system and discovered this -- planned to send a follow-up email and you beat me to it. > > I must say I do not find it particularly helpful to label this as > off-topic on the gcc-help list. Source foritification is a feature that > sits between GCC and glibc. GCC is very much aware of what the chk > variants do. > > Thanks, > Florian > > -- Regards, Reid Wahl (He/Him) Senior Software Engineer, Red Hat RHEL High Availability - Pacemaker