This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nscd/2508] New: cross-compiling nscd fails when using --with-headers
- From: "vapier at gentoo dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 4 Apr 2006 04:32:24 -0000
- Subject: [Bug nscd/2508] New: cross-compiling nscd fails when using --with-headers
- Reply-to: sourceware-bugzilla at sourceware dot org
http://sourceware.org/ml/libc-ports/2006-03/msg00027.html
as noted on the libc-ports list, cross-compiling glibc and using the
--with-headers configure option ends in a build failure in nscd
as noted by Atsushi Nemoto and Jim Gifford, the problem lies in the nscd
makefile which disables the sysincludes setting:
http://sourceware.org/ml/libc-ports/2006-03/msg00036.html
# The configure.in check for libselinux and its headers did not use
# $SYSINCLUDES. The directory specified by --with-headers usually
# contains only the basic kernel interface headers, not something like
# libselinux. So the simplest thing is to presume that the standard
# system headers will be ok for this file.
$(objpfx)nscd_stat.o: sysincludes = # nothing
$(objpfx)selinux.o: sysincludes = # nothing
cutting these lines allowed my mips64 cross to build again ... but i'm not using
selinux in anything
--
Summary: cross-compiling nscd fails when using --with-headers
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: nscd
AssignedTo: drepper at redhat dot com
ReportedBy: vapier at gentoo dot org
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=2508
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.