From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by sourceware.org (Postfix) with ESMTPS id 77B6A3857689; Sun, 6 Nov 2022 15:14:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 77B6A3857689 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=physik.fu-berlin.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=zedat.fu-berlin.de Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.95) with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (envelope-from ) id 1orhMH-003gIm-5j; Sun, 06 Nov 2022 16:14:49 +0100 Received: from dynamic-077-188-106-112.77.188.pool.telefonica.de ([77.188.106.112] helo=[192.168.1.11]) by inpost2.zedat.fu-berlin.de (Exim 4.95) with esmtpsa (TLS1.3) tls TLS_AES_128_GCM_SHA256 (envelope-from ) id 1orhMG-000Vqj-W5; Sun, 06 Nov 2022 16:14:49 +0100 Message-ID: Date: Sun, 6 Nov 2022 16:14:48 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 Subject: Re: [PATCH] csu: Fix static when PIE is enabled but static PIE is not supported (BZ #29575) Content-Language: en-US To: Adhemerval Zanella , Siddhesh Poyarekar References: <20221005170851.2350343-1-adhemerval.zanella@linaro.org> Cc: libc-alpha@sourceware.org From: John Paul Adrian Glaubitz In-Reply-To: <20221005170851.2350343-1-adhemerval.zanella@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Original-Sender: glaubitz@physik.fu-berlin.de X-Originating-IP: 77.188.106.112 X-Spam-Status: No, score=0.5 required=5.0 tests=BAYES_00,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,NICE_REPLY_A,RCVD_IN_BARRACUDACENTRAL,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hello! On 10/5/22 19:08, Adhemerval Zanella wrote: > On architectures where static PIE is not supported, both libc and > static binaries are built still with -fPIE and -DPIC. It leads to > wrong code for some architectures (for instance sparc). Just noticed today that this issue affects the sh4 architecture as well [1]. Adrian > [1] https://sourceware.org/bugzilla/show_bug.cgi?id=29575#c4 -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913