New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 846387 link

Starred by 2 users

Issue metadata

Status: Verified
Owner:
Last visit > 30 days ago
Closed: Jun 2018
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocking:
issue 834385



Sign in to add a comment

qemu: failed to build with glibc 2.27

Project Member Reported by yunlian@chromium.org, May 24 2018

Issue description

when building qemu with glibc 2.27, I got

qemu-2.6.0-r3:       static declaration of 'memfd_create' follows non-static declaration
qemu-2.6.0-r3: static int memfd_create(const char *name, unsigned int flags)
qemu-2.6.0-r3:            ^
qemu-2.6.0-r3: /usr/include/bits/mman-shared.h:46:5: note: previous declaration is here
qemu-2.6.0-r3: int memfd_create (const char *__name, unsigned int __flags) __THROW;
qemu-2.6.0-r3:     ^
qemu-2.6.0-r3: 1 error generated.
 
Project Member

Comment 1 by bugdroid1@chromium.org, May 29 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/72f161195bbf4b47ec6935597f9263086aef2b58

commit 72f161195bbf4b47ec6935597f9263086aef2b58
Author: Yunlian Jiang <yunlian@google.com>
Date: Tue May 29 20:37:40 2018

qemu: backport 2 upstream patches.

This backports two upstream patches to make it build with glibc 2.27.

BUG= chromium:846387 
TEST=sudo emerge qemu with new glibc.

Change-Id: Icd485fa1e2aa9cb3b00a2811aafa6f9cafd75eda
Reviewed-on: https://chromium-review.googlesource.com/1072040
Commit-Ready: Yunlian Jiang <yunlian@chromium.org>
Tested-by: Yunlian Jiang <yunlian@chromium.org>
Reviewed-by: Manoj Gupta <manojgupta@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[rename] https://crrev.com/72f161195bbf4b47ec6935597f9263086aef2b58/app-emulation/qemu/qemu-2.6.0-r4.ebuild
[add] https://crrev.com/72f161195bbf4b47ec6935597f9263086aef2b58/app-emulation/qemu/files/qemu-2.6.0-memfd.patch
[add] https://crrev.com/72f161195bbf4b47ec6935597f9263086aef2b58/app-emulation/qemu/files/qemu-2.6.0-ucontext.patch
[modify] https://crrev.com/72f161195bbf4b47ec6935597f9263086aef2b58/app-emulation/qemu/qemu-2.6.0.ebuild

Status: Verified (was: Untriaged)

Sign in to add a comment