From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) by sourceware.org (Postfix) with ESMTPS id 23BD7386F027 for ; Fri, 19 Mar 2021 20:33:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 23BD7386F027 Received: by mail-qt1-x82e.google.com with SMTP id g24so7795642qts.6 for ; Fri, 19 Mar 2021 13:33:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=KonCE0vth+2iRGS3S26bf/0wOLggb/GTHgPB+xzR/Fc=; b=dWQhBNNVvtFrC11riRDJcl4ox5UD0f2FZSj71/7J/wr5cxQC81Jcm7NGrviiNFZSIP iE5XeDGAfb8WB8hWTCyRK4N5XSJWw3VrECY8r2EztKRwC9waem5xv/IXyRkbp7PaEqJH 1v20PrilS6AMAAxQaA0V5rJeakr56/6flZMCApFCtNVcGtXWiejGn2laTSC2l2cWbvvw SQSx7eB1iSKMFreAul5mp3Qp8/S3OTg2Dm0MYQz4JJY43AfkbVi5kpeH4q9ljT2JLVlw /ZtkABekkYIh1vbgfFV2zZ2AJinFW/hwPL9QAGlGrvQqRHPI1TTgGlol/xJk6vByREuT Zbbg== X-Gm-Message-State: AOAM532rjH/I6ZRkEugwSkCb4xwU1AzV81YTlnTbDEhVJZLMd9O4jnJE NK5UbpdDFtKN2MGa6zu5zvdq8zoBm3ImRRX+ X-Google-Smtp-Source: ABdhPJzVYNXguXZjGWR0SbLqRltmntPxYpARjwbuLm6sO/uvojaf5PiO3kjEXuKCoVB1Igi8uwOTFg== X-Received: by 2002:ac8:1403:: with SMTP id k3mr469402qtj.266.1616185998631; Fri, 19 Mar 2021 13:33:18 -0700 (PDT) Received: from [192.168.1.4] ([177.194.48.209]) by smtp.googlemail.com with ESMTPSA id k8sm4487555qth.74.2021.03.19.13.33.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 19 Mar 2021 13:33:18 -0700 (PDT) Subject: Re: [RFC 2/2] Fold compat_symbol_unique functionality into compat_symbol To: Florian Weimer Cc: libc-alpha@sourceware.org References: <965a0d7e0c28a5a0ce292a2b0bd39f2ba31d1a84.1616095061.git.fweimer@redhat.com> <37e68057-c3be-b522-98a3-1837b02c490a@linaro.org> <8735wqj3ub.fsf@oldenburg.str.redhat.com> <87y2eihop2.fsf@oldenburg.str.redhat.com> From: Adhemerval Zanella Message-ID: <1fe2618f-9dca-fa4f-57d2-b8aca228148f@linaro.org> Date: Fri, 19 Mar 2021 17:33:16 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <87y2eihop2.fsf@oldenburg.str.redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Mar 2021 20:33:20 -0000 On 19/03/2021 17:29, Florian Weimer wrote: > * Adhemerval Zanella: > >> The __attribute__ ((nocommon)) on the malloc hook fixed the build issue. > > I've fixed this locally, and also added to versioned_symbol: > > If LOCAL is a data symbol and does not have a non-zero initializer, > it should be defined with __attribute__ ((nocommon)) for > compatibility with GCC versions that default to -fcommon. */ > > Should I posted a v3? I don't think is a need, I will review the v2.