From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/11805 Path: news.gmane.org!.POSTED!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: SIOCGSTAMPNS definition missing Date: Sun, 13 Aug 2017 18:03:01 +0200 Message-ID: <20170813160301.GG15263@port70.net> References: <20170812005338.GP1627@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1502640259 6488 195.159.176.226 (13 Aug 2017 16:04:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 13 Aug 2017 16:04:19 +0000 (UTC) User-Agent: Mutt/1.6.0 (2016-04-01) To: musl@lists.openwall.com Original-X-From: musl-return-11818-gllmg-musl=m.gmane.org@lists.openwall.com Sun Aug 13 18:04:11 2017 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1dgvN4-0001Gq-T2 for gllmg-musl@m.gmane.org; Sun, 13 Aug 2017 18:04:11 +0200 Original-Received: (qmail 28547 invoked by uid 550); 13 Aug 2017 16:03:14 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 28529 invoked from network); 13 Aug 2017 16:03:14 -0000 Mail-Followup-To: musl@lists.openwall.com Content-Disposition: inline In-Reply-To: <20170812005338.GP1627@brightrain.aerifal.cx> Xref: news.gmane.org gmane.linux.lib.musl.general:11805 Archived-At: * Rich Felker [2017-08-11 20:53:38 -0400]: > On Tue, Aug 01, 2017 at 10:08:02AM +0000, yamabiko@onenetbeyond.org wrote: > > Hello, > > when I tried to compile qemu on a Gentoo musl based system it > > complained about "SIOCGSTAMPNS" being undeclared. Using > > "-DSIOCGSTAMPNS=0x8907" as CFLAG worked as a workaround. So it looks > > like the definition it's missing from some header file (ioctl.h?) > > See https://forums.gentoo.org/viewtopic-t-1066924.html for more info > > Thanks for the report. > > Has anyone else looked at this yet? It probably needs per-arch > additions to the bits/ioctl.h headers. > it seems to be defined in asm/sockios.h which is included via sys/socket.h in glibc i think so musl should put it into sys/socket.h if anywhere.