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

* [Bug nscd/2508] cross-compiling nscd fails when using --with-headers
  2006-04-04  4:32 [Bug nscd/2508] New: cross-compiling nscd fails when using --with-headers vapier at gentoo dot org
@ 2006-04-04  7:32 ` roland at gnu dot org
  2006-04-04  7:32 ` cvs-commit at gcc dot gnu dot org
  2006-04-04  7:35 ` roland at gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: roland at gnu dot org @ 2006-04-04  7:32 UTC (permalink / raw)
  To: glibc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|drepper at redhat dot com   |roland at gnu dot org
             Status|NEW                         |ASSIGNED


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

* [Bug nscd/2508] cross-compiling nscd fails when using --with-headers
  2006-04-04  4:32 [Bug nscd/2508] New: cross-compiling nscd fails when using --with-headers vapier at gentoo dot org
  2006-04-04  7:32 ` [Bug nscd/2508] " roland at gnu dot org
@ 2006-04-04  7:32 ` cvs-commit at gcc dot gnu dot org
  2006-04-04  7:35 ` roland at gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2006-04-04  7:32 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2006-04-04 07:32 -------
Subject: Bug 2508

CVSROOT:	/cvs/glibc
Module name:	libc
Changes by:	roland@sources.redhat.com	2006-04-04 07:32:46

Modified files:
	nscd           : Makefile 

Log message:
	2006-04-04  Roland McGrath  <roland@redhat.com>
	
	[BZ #2508]
	* nscd/Makefile ($(objpfx)nscd_stat.o: sysincludes): Move setting
	inside [$(have-selinux) = yes].
	($(objpfx)selinux.o: sysincludes): Likewise.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/nscd/Makefile.diff?cvsroot=glibc&r1=1.48&r2=1.49



-- 


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

* [Bug nscd/2508] cross-compiling nscd fails when using --with-headers
  2006-04-04  4:32 [Bug nscd/2508] New: cross-compiling nscd fails when using --with-headers vapier at gentoo dot org
  2006-04-04  7:32 ` [Bug nscd/2508] " roland at gnu dot org
  2006-04-04  7:32 ` cvs-commit at gcc dot gnu dot org
@ 2006-04-04  7:35 ` roland at gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: roland at gnu dot org @ 2006-04-04  7:35 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From roland at gnu dot org  2006-04-04 07:35 -------
I made those override settings conditional on $(have-selinux).
Using --with-headers may still run afoul of those in other situations.
But for the bootstrap case, this should work OK for the first glibc build.
After you have built all the other libraries that might be used by the glibc
build (libselinux, libaudit, libgd, etc), you should do a new glibc build to get
the final proper form.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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

end of thread, other threads:[~2006-04-04  7:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-04  4:32 [Bug nscd/2508] New: cross-compiling nscd fails when using --with-headers vapier at gentoo dot org
2006-04-04  7:32 ` [Bug nscd/2508] " roland at gnu dot org
2006-04-04  7:32 ` cvs-commit at gcc dot gnu dot org
2006-04-04  7:35 ` roland at gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).