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

Issue 859953 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Last visit > 30 days ago
Closed: Aug 31
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug
Build-Toolchain

Blocking:
issue 834385



Sign in to add a comment

lmbench: failed to build with glibc 2.27

Project Member Reported by yunlian@chromium.org, Jul 3

Issue description

With glibc 2.27,
emerge-samus lmbench

In file included from msleep.c:1:
./bench.h:39:10: fatal error: 'rpc/rpc.h' file not found
#include        <rpc/rpc.h>
                ^~~~~~~~~~~

 
Project Member

Comment 1 by bugdroid1@chromium.org, Jul 17

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

commit 83c577bcc53974e60881959010213b63f1400ddc
Author: Yunlian Jiang <yunlian@google.com>
Date: Tue Jul 17 09:26:25 2018

lmbench: make it builds with glibc 2.27

Newer glibc has dropped rpc headers and it removes some
functions. This makes lmbench failed to build.
This patch adds the rpc support from libtirpc to fix that.

BUG= chromium:859953 
TEST=emerge-samus lmbench with glibc 2.27 and glibc 2.23

Change-Id: I22ff69474ccd48b6dce4b1c23d6ead0bf25208d2
Reviewed-on: https://chromium-review.googlesource.com/1124975
Commit-Ready: Yunlian Jiang <yunlian@chromium.org>
Tested-by: Yunlian Jiang <yunlian@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[rename] https://crrev.com/83c577bcc53974e60881959010213b63f1400ddc/app-benchmarks/lmbench/lmbench-3.0_alpha9-r2.ebuild
[add] https://crrev.com/83c577bcc53974e60881959010213b63f1400ddc/app-benchmarks/lmbench/files/lmbench-cflags.patch
[modify] https://crrev.com/83c577bcc53974e60881959010213b63f1400ddc/app-benchmarks/lmbench/lmbench-3.0_alpha9.ebuild

Status: Assigned (was: Untriaged)
This bug has an owner, thus, it's been triaged. Changing status to "assigned".
Status: Verified (was: Assigned)

Sign in to add a comment