This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: --disable-static on ELF fails


>>>>> Stanislav Brabec writes:

>> Description:
 > 	Trying to build, this will fail, because build binaries
 > 	in elf subdir are invalid (sln).

I've run in the same situation and added the appended patch to my
glibc tree.  The patch gives us a dynamically linked sln (I know
that's against the idea of sln = static ln but don't see another
solution since we're not building static libs).

Uli, could you add this to glibc 2.1 - or has anybody a better
solution?

Andreas

1998-11-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* elf/Makefile (others-static): Build sln only static if
	build-static==yes - otherwise we'll get a broken binary.

--- elf/Makefile.~1~	Sun Nov 15 22:33:04 1998
+++ elf/Makefile	Sun Nov 15 22:34:08 1998
@@ -66,7 +66,9 @@
 
 others		= sprof sln
 install-bin	+= sprof
+ifeq (yes,$(build-static))
 others-static   = sln
+endif
 install-rootsbin = sln
 
 ifeq (yes,$(has-ldconfig))



-- 
 Andreas Jaeger   aj@arthur.rhein-neckar.de    jaeger@informatik.uni-kl.de
  for pgp-key finger ajaeger@aixd1.rhrk.uni-kl.de


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]