public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nscd/2508] New: cross-compiling nscd fails when using --with-headers
@ 2006-04-04  4:32 vapier at gentoo dot org
  2006-04-04  7:32 ` [Bug nscd/2508] " roland at gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: vapier at gentoo dot org @ 2006-04-04  4:32 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread