public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* make warning?
@ 2003-01-01 11:57 Andreas Jaeger
  2003-01-01 12:12 ` Jakub Jelinek
  2003-02-21  9:32 ` Roland McGrath
  0 siblings, 2 replies; 3+ messages in thread
From: Andreas Jaeger @ 2003-01-01 11:57 UTC (permalink / raw)
  To: GNU libc hacker


With current CVS I get:

make[2]: Entering directory `/cvs/libc/linuxthreads'
Makefile:117: warning: overriding commands for target `/builds/test-install/lib/libpthread.so'
../o-iterator.mk:9: warning: ignoring old commands for target `/builds/test-install/lib/libpthread.so'
make[2]: Nothing to be done for `subdir_lib'.

What's wrong here?

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj

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

* Re: make warning?
  2003-01-01 11:57 make warning? Andreas Jaeger
@ 2003-01-01 12:12 ` Jakub Jelinek
  2003-02-21  9:32 ` Roland McGrath
  1 sibling, 0 replies; 3+ messages in thread
From: Jakub Jelinek @ 2003-01-01 12:12 UTC (permalink / raw)
  To: Andreas Jaeger; +Cc: GNU libc hacker

On Wed, Jan 01, 2003 at 12:56:54PM +0100, Andreas Jaeger wrote:
> 
> With current CVS I get:
> 
> make[2]: Entering directory `/cvs/libc/linuxthreads'
> Makefile:117: warning: overriding commands for target `/builds/test-install/lib/libpthread.so'
> ../o-iterator.mk:9: warning: ignoring old commands for target `/builds/test-install/lib/libpthread.so'
> make[2]: Nothing to be done for `subdir_lib'.
> 
> What's wrong here?

This is the same warning as has been present in NPTL builds for quite some
time already.
I tried to do something about it yesterday, but haven't succeeded.
The thing is that the makefile chunk at ~ line 950 in Makerules defines
$(inst_libdir)/libpthread.so rule whcih {linuxthreads,nptl}/Makefile
overrides (because it wants to install a linker script, not a symlink).
This warning went away, but another one appeared (and that one was far
less clear on what's going on).

--- libc/Makerules.jj	2002-12-31 01:14:34.000000000 +0100
+++ libc/Makerules	2002-12-31 01:16:25.000000000 +0100
@@ -947,7 +947,7 @@ ifneq (,$(versioned))
 define o-iterator-doit
 $(inst_libdir)/$o: $(inst_slibdir)/$o$($o-version) $(+force); $$(make-link)
 endef
-object-suffixes-left := $(versioned)
+object-suffixes-left := $(filter-out $(libdir-linker-script), $(versioned))
 include $(o-iterator)
 
 # Make symlinks in the build directory, because the versioned names might
--- libc/nptl/Makefile.jj	2002-12-30 19:40:54.000000000 +0100
+++ libc/nptl/Makefile	2002-12-31 01:34:54.000000000 +0100
@@ -173,6 +173,10 @@ endif
 # These tests are linked with libc before libpthread
 tests-reverse += tst-cancel5
 
+# Tell Makerules $(inst_libdir)/libpthread.so is a linker script
+# handled here.
+libdir-linker-script += libpthread.so
+
 include ../Rules
 
 # What we install as libpthread.so for programs to link against is in fact a
--- libc/linuxthreads/Makefile.jj	2002-12-30 19:40:54.000000000 +0100
+++ libc/linuxthreads/Makefile	2002-12-31 01:34:54.000000000 +0100
@@ -173,6 +173,10 @@ endif
 # These tests are linked with libc before libpthread
 tests-reverse += tst-cancel5
 
+# Tell Makerules $(inst_libdir)/libpthread.so is a linker script
+# handled here.
+libdir-linker-script += libpthread.so
+
 include ../Rules
 
 # What we install as libpthread.so for programs to link against is in fact a


	Jakub

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

* Re: make warning?
  2003-01-01 11:57 make warning? Andreas Jaeger
  2003-01-01 12:12 ` Jakub Jelinek
@ 2003-02-21  9:32 ` Roland McGrath
  1 sibling, 0 replies; 3+ messages in thread
From: Roland McGrath @ 2003-02-21  9:32 UTC (permalink / raw)
  To: Andreas Jaeger; +Cc: GNU libc hacker

I've fixed the libpthread.so make warning.

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

end of thread, other threads:[~2003-02-21  9:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-01 11:57 make warning? Andreas Jaeger
2003-01-01 12:12 ` Jakub Jelinek
2003-02-21  9:32 ` Roland McGrath

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).