From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from hetzner.pbcl.net (mail.pbcl.net [88.198.119.4]) by mail.openembedded.org (Postfix) with ESMTP id 84BCF71C8F for ; Sat, 5 Nov 2016 00:10:04 +0000 (UTC) Received: from blundell.swaffham-prior.co.uk ([91.216.112.25] helo=tp13) by hetzner.pbcl.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84) (envelope-from ) id 1c2oYd-0006IY-QC; Sat, 05 Nov 2016 01:10:04 +0100 Message-ID: <1478304597.3662.28.camel@pbcl.net> From: Phil Blundell To: "Burton, Ross" , Nicolas Dechesne Date: Sat, 05 Nov 2016 00:09:57 +0000 In-Reply-To: References: <1476952202-8842-1-git-send-email-koen.kooi@linaro.org> X-Mailer: Evolution 3.20.5-1 Mime-Version: 1.0 Cc: Koen Kooi , OE-core Subject: Re: [PATCH] libbsd 0.8.3: BBCLASSEXTEND to native and nativesdk X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Nov 2016 00:10:05 -0000 Content-Type: multipart/alternative; boundary="=-a9zCtRVxEjbtvLkO9e07" --=-a9zCtRVxEjbtvLkO9e07 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Fri, 2016-11-04 at 23:24 +0000, Burton, Ross wrote: > > No, I checked the files in /usr on the host, as this is a native build it should be linking against the host libc. > > $ grep -r getrandom > x86_64-linux-gnu/bits/syscall.h:#define SYS_getrandom __NR_getrandom > x86_64-linux-gnu/bits/syscall.h:#define SYS_getrandom __NR_getrandom > x86_64-linux-gnu/bits/syscall.h:#define SYS_getrandom __NR_getrandom > > > Yes, looks like Debian headers are a bit broken. > > > That would happen if your glibc was compiled against a newer version of the kernel headers than you actually have installed (bits/syscall.h is auto-generated from the kernel headers at build time). If this is a clean Debian install then it does sound like they have messed up the packaging somehow. p. --=-a9zCtRVxEjbtvLkO9e07 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 7bit
On Fri, 2016-11-04 at 23:24 +0000, Burton, Ross wrote:
No, I checked the files in /usr on the host, as this is a native build it should be linking against the host libc.

$ grep -r getrandom
x86_64-linux-gnu/bits/syscall.h:#define SYS_getrandom __NR_getrandom
x86_64-linux-gnu/bits/syscall.h:#define SYS_getrandom __NR_getrandom
x86_64-linux-gnu/bits/syscall.h:#define SYS_getrandom __NR_getrandom

Yes, looks like Debian headers are a bit broken.

That would happen if your glibc was compiled against a newer version of the kernel headers than you actually have installed (bits/syscall.h is auto-generated from the kernel headers at build time). If this is a clean Debian install then it does sound like they have messed up the packaging somehow.

p.

--=-a9zCtRVxEjbtvLkO9e07--