From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,RDNS_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: (qmail 31797 invoked from network); 26 Mar 2020 14:49:57 -0000 Received-SPF: pass (mother.openwall.net: domain of lists.openwall.com designates 195.42.179.200 as permitted sender) receiver=inbox.vuxu.org; client-ip=195.42.179.200 envelope-from= Received: from unknown (HELO mother.openwall.net) (195.42.179.200) by inbox.vuxu.org with ESMTP; 26 Mar 2020 14:49:57 -0000 Received: (qmail 12160 invoked by uid 550); 26 Mar 2020 14:49:54 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 12133 invoked from network); 26 Mar 2020 14:49:54 -0000 Date: Thu, 26 Mar 2020 10:49:41 -0400 From: Rich Felker To: musl@lists.openwall.com Cc: Baruch Siach Message-ID: <20200326144941.GB11469@brightrain.aerifal.cx> References: <87lfnndzwv.fsf@tarshish> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87lfnndzwv.fsf@tarshish> User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [musl] Switch to 64-bit time_t breaks strace build On Thu, Mar 26, 2020 at 03:11:12PM +0200, Baruch Siach wrote: > Hi musl list, > > Commit 381433396 (switch all existing 32-bit archs to 64-bit time_t) > changed the IPC_STAT value on 32-bit arches from 2 to 0x102. This break > strace build time assertion of IPC_STAT value: > > In file included from ./static_assert.h:11, > from xlat/msgctl_flags.h:4, > from ipc_msgctl.c:32: > xlat/msgctl_flags.h:22:1: error: static assertion failed: "IPC_STAT != 2" > static_assert((IPC_STAT) == (2), "IPC_STAT != 2"); > > I that a strace bug? Yes, it's one of the things mentioned in the time64 release notes: https://musl.libc.org/time64.html The upstream bug is: https://github.com/strace/strace/issues/116 and it's fixed in: https://github.com/strace/strace/commit/ce2c968a614ae2a3cf2354620b3b8200f003e87c There are also some other non-build-breaking bugs with decoding of structs, such as: https://github.com/strace/strace/issues/122 I suspect most if not all are fixed now but I haven't checked lately. Rich