mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Baruch Siach <baruch@tkos.co.il>
To: musl@lists.openwall.com
Subject: [musl] Switch to 64-bit time_t breaks strace build
Date: Thu, 26 Mar 2020 15:11:12 +0200	[thread overview]
Message-ID: <87lfnndzwv.fsf@tarshish> (raw)

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?

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -

             reply	other threads:[~2020-03-26 13:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-26 13:11 Baruch Siach [this message]
2020-03-26 14:49 ` Rich Felker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lfnndzwv.fsf@tarshish \
    --to=baruch@tkos.co.il \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).