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

Issue 616881 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner: ----
Closed: Aug 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

ltp: failed to build with glibc 2.23

Project Member Reported by yunlian@chromium.org, Jun 2 2016

Issue description

emerge-falco  autotest-deps-ltp

x86_64-cros-linux-gnu-gcc -O2 -pipe -clang-syntax -O2 -pipe -march=corei7 -g -fno-exceptions -fno-unwind-tables   -fno-asynchronous-unwind-tables  -clang-syntax -clang-syntax -g -O2 -fno-strict-aliasing -pipe -Wall -W -O2 -pipe -clang-syntax -O2 -pipe -march=corei7 -g -fno-exceptions -fno-unwind-tables   -fno-asynchronous-unwind-tables  -clang-syntax -clang-syntax -Wold-style-definition  -I/build/falco/tmp/portage/chromeos-base/autotest-deps-ltp-0.20150119-r12/work/autotest-deps-ltp-0.20150119/testcases/kernel/include -I../../../../include -I../../../../include -Wl,-O1 -Wl,-O2 -Wl,--as-needed  -L../../../../lib  bdflush01.c   -lltp -o bdflush01
bdflush01.c:84:10: fatal error: 'sys/kdaemon.h' file not found
#include <sys/kdaemon.h>
         ^

The kdaemon.h was removed in glibc 2.23. So the error happens.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Jun 3 2016

Labels: merge-merged-chromeos-20150119
The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/ltp/+/7fea30a4ad5b7b4e99865afcee8b6bfd19ec8b03

commit 7fea30a4ad5b7b4e99865afcee8b6bfd19ec8b03
Author: Yunlian Jiang <yunlian@google.com>
Date: Thu Jun 02 20:49:51 2016

ltp: remove inclusion of deprecated sys/kdaemon.h header

commit 739bcd5619250b67f7d4eb28eb3ac68ac05db0f1
Author: Khem Raj <raj.khem@gmail.com>
Date:   Thu Jan 7 07:38:01 2016 +0000

    bdflush: remove inclusion of deprecated sys/kdaemon.h header

    glibc 2.23+ has dropped this header and moreover its not used in
    testcase (which is using ltp_syscall to make the call).

    Signed-off-by: Khem Raj <raj.khem@gmail.com>
    Reviewed-by: Jan Stancek <jstancek@redhat.com>

BUG= chromium:616881 
TEST=emerge-falco autotest-deps-ltp still passes.

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

[modify] https://crrev.com/7fea30a4ad5b7b4e99865afcee8b6bfd19ec8b03/testcases/kernel/syscalls/bdflush/bdflush01.c

Cc: yunlian@chromium.org
Yunlian, is this bug fixed now?
Labels: Needs-Feedback
Components: Build
Status: Fixed (was: Untriaged)

Sign in to add a comment