From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS17314 8.43.84.0/22 X-Spam-Status: No, score=-5.3 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,PDS_RDNS_DYNAMIC_FP,RCVD_IN_DNSWL_HI, RDNS_DYNAMIC,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 4FE1C1F8C6 for ; Mon, 16 Aug 2021 11:27:27 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 2FF8B3943410 for ; Mon, 16 Aug 2021 11:27:26 +0000 (GMT) Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by sourceware.org (Postfix) with ESMTPS id A2B28383B433 for ; Mon, 16 Aug 2021 11:27:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A2B28383B433 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.cz Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id DB1AD21D7C; Mon, 16 Aug 2021 11:27:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1629113225; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xR4WDRRF4V/y/+oH+n0QhCZBOlI3/q5Ce8P3zcHqdCo=; b=cetEfvjtFstLY00QbBnWnnEQbzIR2Ha55RYm4LndtCdkxmxuMuSGy75sW6M57u6bk4+/KX wgYw//Kj7jUQobn0S35/wEPC0K92X7ySwfDQ/l7x17K7uTbOPZwq7GWbwLcDm166+B3z52 9Lc4ej6vbfODb2fBFC+SrEEB666sn4I= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1629113225; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xR4WDRRF4V/y/+oH+n0QhCZBOlI3/q5Ce8P3zcHqdCo=; b=HJs12N3bO261lIu5RSvD7t0NhrjuIOhFJ2X8PR7/WO1zigPAQLxBA0O661SKIWek0uQrIV XjmPyXr5XbqbARDQ== Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap1.suse-dmz.suse.de (Postfix) with ESMTPS id C2A8F13301; Mon, 16 Aug 2021 11:27:05 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap1.suse-dmz.suse.de with ESMTPSA id cHcNLolLGmH8GAAAGKfGzw (envelope-from ); Mon, 16 Aug 2021 11:27:05 +0000 Subject: Re: [RFC patch] avoid warning on accesses to hardwired address To: Martin Sebor , GNU C Library References: <59b05c40-d0a8-233a-27c5-104b24bdc9b4@gmail.com> From: =?UTF-8?Q?Martin_Li=c5=a1ka?= Message-ID: Date: Mon, 16 Aug 2021 13:27:05 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <59b05c40-d0a8-233a-27c5-104b24bdc9b4@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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: , Errors-To: libc-alpha-bounces+e=80x24.org@sourceware.org Sender: "Libc-alpha" Hello. Small note here, the patch is incomplete as i386 target still fails: [ 96s] cc1: all warnings being treated as errors [ 96s] make[2]: *** [../o-iterator.mk:9: /home/abuild/rpmbuild/BUILD/glibc-2.34.9000.39.g6e8a0aac2f/cc-base/intl/loadmsgcat.o] Error 1 [ 96s] make[2]: *** Waiting for unfinished jobs.... [ 96s] In file included from ../sysdeps/i386/i686/nptl/tls.h:33, [ 96s] from ../sysdeps/generic/libc-tsd.h:44, [ 96s] from ../include/../locale/localeinfo.h:224, [ 96s] from ../include/ctype.h:26, [ 96s] from loadmsgcat.c:29: [ 96s] loadmsgcat.c: In function '_nl_load_domain': [ 96s] ../sysdeps/i386/nptl/tls.h:239:4: error: array subscript 0 is outside array bounds of '__seg_gs struct pthread * __seg_gs[0]' [-Werror=array-bounds] [ 96s] 239 | (*(struct pthread *__seg_gs *) offsetof (struct pthread, header.self)) [ 96s] | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 96s] ../sysdeps/nptl/libc-lock.h:92:18: note: in expansion of macro 'THREAD_SELF' [ 96s] 92 | void *self = THREAD_SELF; \ [ 96s] | ^~~~~~~~~~~ [ 96s] loadmsgcat.c:770:3: note: in expansion of macro '__libc_lock_lock_recursive' [ 96s] 770 | __libc_lock_lock_recursive (lock); [ 96s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~