FW: libtool update likely breaks modules...
that supports tags which supports this functionality, but that doesn't help since the feature is not in the officially released version. -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun.com/hyc -Origin
AIX details
Use the -bexpall flag when linking programs, to support self dlopen. The hardcoded libpath support is messy, I've cleaned it up a little. -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com
AIX libltdl
that can panic the kernel when using AIX dlopen on a corrupted shared library. Loading using the native loader doesn't have this problem.) -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http:/
RE: AIX details
es so we don't possibly > end up stepping on each other? > > Dan McNichol > IBM Austin, Texas > > > From: "Howard Chu" <[EMAIL PROTECTED]> > > > > I've made some patches to libtool 1.3.3 (and now 1.3.5) for AIX that I'd > > like
branch 1.3 ltdl.c AIX win32
odules on AIX 4, that's why.) There are also a couple small bugfixes to the win32 support - don't call strchr on NULL filenames, and treat a NULL handle as a reference to the main program. I will try to generate a patch against the HEAD branch next. Howard Chu - Black GTS http:/
RE: [Patch] interlibrary dependency parsing in libltdl from CVS HEAD
That's not a problem, since stat() follows symlinks. -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun.com/hyc > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Beha
RE: Finding command size; was Re: FIX for Arg list too long...
able" length, like 512 or 1024, and leave it at that. > Q: Are there any platforms that cannot make a shared > library out of an archive file? (AIX 4.2+ ?) AIX can do it using the -nogc (no garbage collection) linker option. -- Howard Chu C
RE: $whole_archive_flag_spec and AIX
w a linker like this was the 68000 SVR4 ABI linker I wrote for my Atari ST. And before you go off complaining that IBM was stupid to take "Unix" and do it differently, note that there still are perfectly legitimate ways to run things that are 100% compatible with every other Unix out
RE: $whole_archive_flag_spec and AIX
> As far as I can tell, all of the technical advantages of AIX would not > prevent providing an interface that is familiar. Of course, that is > what Libtool is for. :) There ya go. }-) > > While I've got you here, what exactly does 'ar' do under AIX? > Seemingly not the same thing as Linux o
RE: libtool´Ô ¾È³çÇϼ¼¿ä?
Title: My thoughts exactly, that was most enlightening. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of ¿Â¶óÀÎÄÚ¸®¾ÆSent: Wednesday, May 16, 2001 1:09 PMTo: [EMAIL PROTECTED]Subject: libtool´Ô ¾È³çÇϼ¼¿ä? ¢Ä ¿À´ÃÀÇ À¯¸Ó ¢Å ... ¾Æ¹«ÂÉ·
Re: z/OS
; in that case it is easier if you provide pointers and test suggested patches from us). Hope that helps. Cheers, Ralf ___ http://lists.gnu.org/mailman/listinfo/libtool -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Di
Re: [EXTERNAL] Re: Q: library dependencies
not successfully link due to unresolved symbols. -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/
Re: solaris 10: [EMAIL PROTECTED]
linker rather than the GNU linker. This is based on past experience learned the hard way. Agreed. The GNU linker used to be pretty good up to the SunOS 4 days, but we always use the Solaris linker on our builds now. Again, past experience... -- -- Howard Chu Chief Architect, Symas
libtool AC_ARG_WITH and autoconf 2.59
pears to reserve AC_ARG_WITH solely for specifying external packages, instead of for specifying options, this would seem to be the correct fix. Any thoughts? -- -- Howard Chu Chief Architect, Symas Corp. http://www.symas.com Director, Highland Sunhttp://highlandsun.com/hyc OpenLD
Re: how to link with installed libltdl?
DULES_LIBS=-lltdl AC_DEFINE(HAVE_LIBLTDL,1,[define if you have libtool -ltdl]) ]) if test "$ac_cv_lib_ltdl_lt_dlinit" = no ; then AC_MSG_ERROR([could not locate libtool -lltdl]) fi -- -- Howard Chu Chief Architect, Symas Corp. http://www.symas.com Di
libtool 1.5 -static and installed libraries
libdb.) So the question is, why does linking with -static cause libtool to behave like -all-static was used, why does it ignore the installed status of the libraries? -- -- Howard Chu Chief Architect, Symas Corp. http://www.symas.com Director, Highland Sunhttp://highlandsun.com
Re: ITS#3977 libtool 1.5.18 and installed libraries
and always statically linking them. This patch tweaks prefer_static_libs to distinguish between the -static and -all-static cases so that the link step can actually perform as documented. -- -- Howard Chu Chief Architect, Symas Corp. http://www.symas.com Director, Highland Sun
Re: How to configure libtool so that it doesn't run some tests ?
0 lines from our configure script and completes faster as well (which is a real godsend on some of the ultra slow dev systems we port to). -- -- Howard Chu Chief Architect, Symas Corp. http://www.symas.com Director, Highland Sunhttp://highlandsun.com/hyc OpenLDAP Core Team
Re: libtool 1.5 -static and installed libraries
Ralf Wildenhues wrote: Hi Howard, Alexandre, others, * Howard Chu wrote on Sun, Aug 28, 2005 at 10:19:03PM CEST: We just migrated from libtool-1.4.3 to 1.5.18 in the OpenLDAP CVS HEAD, and are seeing a new linking problem. You've migrated *already*? :-) This was actually our 2nd o
Re: how to link with installed libltdl?
Andreas Jellinghaus wrote: Howard Chu wrote: In OpenLDAP's configure.in we use ... so does libltdl never need any libraries linked to it? like "-ldl" on some systems or something else? all that complexity is usualy hidden in an m4 macro package, a libfoo-config script
Re: libtool 1.5 -static and installed libraries
agree on fixing the documentation? Considering that 1.4 behavior and doc agreed, I can only view this as a regression since 1.5. -- -- Howard Chu Chief Architect, Symas Corp. http://www.symas.com Director, Highland Sunhttp://highlandsun.com/hyc OpenLDAP Core Team
Re: use of modules, static vs shared, and dependencies
$(SLAPD_STATIC_STUFF): blah blah blah slapd: $(SLAPD_STATIC_STUFF) blah blah blah dummy2 $(SLAPD_DYNAMIC_STUFF): slapd blah blah blah -- -- Howard Chu Chief Architect, Symas Corp. http://www.symas.com Director, Highland Sunhttp://highlandsun.com/hyc
Re: use of modules, static vs shared, and dependencies
modules; for example our configure script generates a backends.c file that contains an array of references to the entry points of all the static backends. Cheers, and thanks for your explanations and the pointer! Ralf -- -- Howard Chu Chief Architect, Symas Corp. http://www.symas.com D
SYSROOT/DESTDIR (was Re: static vs. dynamic linking)
ot;clever" and always prepends build paths to any explicitly provided -R/-rpath options, and I usually comment that bit out of libtool in our builds. It seems like a pretty simple thing to get working, without any negative side effects. -- -- Howard Chu Chief Architect, Symas Cor
Re: Is it possible to pass different options to static/shared builds?
t separate commandline options for static vs shared, use explicit make rules. Have one rule invoke "libtool --tag=disable-static" to produce only the shared files, and another with "libtool --tag=disable-shared" to produce only the static files. -- -- Howard Chu Chie
Re: -dlopen self on AIX
enerally not useful for user code anyway. (In contrast to older releases of AIX, where they really did export everything, and you'd get clashes for stupid things like __init and such that never should have been exported in the first place.) -- -- Howard Chu Chief Architect, Symas
Re: -dlopen self on AIX
a number of static libraries that are not usually compiled as PIC code. It would be a pretty drastic change to get that all working. -- -- Howard Chu Chief Architect, Symas Corp. http://www.symas.com Director, Highland Sunhttp://highlandsun.com/hyc OpenLDAP Core Team
Re: -dlopen self on AIX
s against libtool 1.4. Maybe you should just download our CDS3 packages... -- -- Howard Chu Chief Architect, Symas Corp. http://www.symas.com Director, Highland Sunhttp://highlandsun.com/hyc OpenLDAP Core Teamhttp://www.openldap.org/project/ _
Re: -dlopen self on AIX
Albert Chin wrote: On Sun, Oct 30, 2005 at 11:38:26AM -0800, Howard Chu wrote: Albert Chin wrote: On Sun, Oct 30, 2005 at 11:14:14AM -0600, Albert Chin wrote: [snip ...] This means the method libtool uses to support -dlopen self on AIX won't work (by building a list of symbols into
Re: 1.5.18: suppressing non-C language checks / pass flags to cc in link mode
we're complaining about libtool-1.5 even checking for those languages -mike This is a more relevant post: http://lists.gnu.org/archive/html/libtool/2005-08/msg00137.html -- -- Howard Chu Chief Architect, Symas Corp. http://www.symas.com Director, Highland Sunhttp://highlandsun.com/hyc
Re: libltdl examples
uses libltdl from the main executable. servers/slapd/overlays/ppolicy.c is a loadable module that also uses libltdl to load other modules. -- -- Howard Chu Chief Architect, Symas Corp. http://www.symas.com Director, Highland Sunhttp://highlandsun.com/hyc OpenLDAP Core Team
Re: Spaces in path names
(Philosophically, spaces/"user-friendly" filenames only make sense in the world of computer-illiterate GUI users. Command-line users want tokens that are small and fast to type, and Cygwin is a command-line environment after all.) -- -- Howard Chu Chief Architect, Symas
1.5.22 fails to configure on AIX 5.1
is a usable value. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` ;; esac fi + test '' = set + i=0 + teststring=ABCD + case $build_os in + SHELL=/bin/sh + teststring= expr $lt_cv_sys_max_cmd_len \/ 2 ++ expr / 2 expr: syntax error + lt_cv_sys_max_cmd_len= It
Re: 1.5.22 fails to configure on AIX 5.1
ing_string" = "X$echo_test_string"; then CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL export CONFIG_SHELL SHELL="$CONFIG_SHELL" export SHELL echo="$CONFIG_SHELL $0 --fallback-echo" elif echo_testing_string=`($CONFIG_SHELL "$0"
Re: 1.5.22 fails to configure on AIX 5.1
arens, e.g., elif ((set -o posix)) >/dev/null 2>&1; then set -o posix fi I was thinking that, or ((set -o posix) >/dev/null 2>*1); ... Will give it a shot. -- -- Howard Chu Chief Architect, Symas Corp. http://www.symas.com Director, Highland Sunhttp://highlandsu
Re: 1.5.22 fails to configure on AIX 5.1
t of: At this point, it just looks like a corrupted . Sorry for the trouble. -- -- Howard Chu Chief Architect, Symas Corp. http://www.symas.com Director, Highland Sunhttp://highlandsun.com/hyc OpenLDAP Core Teamhttp://www.openldap.org/project/
Re: 1.5.22 fails to configure on AIX 5.1
Howard Chu wrote: Well damn, after the reboot the problem seems to have disappeared, configure runs cleanly start to finish. (A colleague of mine requested the reboot, to clear up some "linker path problem" which suggests to me that we had some corrupted shared library or somesuc
Re: -dlopen self and optimizing away symbols
to use both, but dropped -export-dynamic because it seemed to misbehave. Those changes are way back in the mists of time. -- -- Howard Chu Chief Architect, Symas Corp. http://www.symas.com Director, Highland Sunhttp://highlandsun.com/hyc OpenLDAP Core Team
Re: Support for VC++ toolchain (was Re: Absolute paths generated by libtool.)
lating Unix cc options to switches that MSVC understands. With these I can use an unmodified libtool script to build most autoconf'd packages on Windows. -- -- Howard Chu Chief Architect, Symas Corp. http://www.symas.com Director, Highland Sunhttp://highlandsun.com/hyc OpenLDA
Re: Support for VC++ toolchain (was Re: Absolute paths generated by libtool.)
vars32.bat before starting up rxvt. It's not the job of the compiler-driver to set up the environment. It's the job of the *user* to do so. -- -- Howard Chu Chief Architect, Symas Corp. http://www.symas.com Director, Highland Sunhttp://highlandsun.com/hyc OpenLD
Re: MS lib program in msys
hat the Cygwin/MSVC combo works with Libtool now... On MSYS //foo becomes /foo, so it would work. On Cygwin //foo is left alone, so it would not work. Please just change everything to use dashes. -- -- Howard Chu Chief Architect, Symas Corp. http://www.symas.com Director, Highland Sun
Re: windows static archive, missing symbols
port declspecs there. This means for any Windows library that you use, you have to know whether you will be using a static or a dynamic version, whenever compiling an app that uses the library. Very braindead, and there's no solution to that problem. The workaround is to never export variables
Re: windows static archive, missing symbols
Bob Rossi wrote: On Fri, Jan 19, 2007 at 06:30:19PM -0800, Howard Chu wrote: The next question is, why is it looking for an import symbol instead of using the real symbol. The answer to that must lie in your header files; they probably declare the function to be a DLL export, which causes
Re: windows static archive, missing symbols
acros is nothing but ignorant, and hasn't been necessary for at least 5 years. http://www.cygwin.com/ml/cygwin/2002-01/msg00236.html -- -- Howard Chu Chief Architect, Symas Corp. http://www.symas.com Director, Highland Sunhttp://highlandsun.com/hyc OpenLDAP Core Team
Re: Windows C++ support impossible?
only applies to C++, C works allready in most cases ;o) Such a truism... -- -- Howard Chu Chief Architect, Symas Corp. http://www.symas.com Director, Highland Sunhttp://highlandsun.com/hyc OpenLDAP Core Teamhttp://www.openldap.org/pr
Re: Why is "setting LD_LIBRARY_PATH very bad"?
hs that are padded out with excess NULs, and to provide a tool to rewrite those paths at install time. I suppose you could write a tool using libbfd to rewrite the binaries in a more portable/less kludgy manner. -- -- Howard Chu Chief Architect, Symas Corp. http://www.symas.com
Re: libltdl is inefficient and a security hazard
ing is doing a lousy job of second-guessing, and on SVR4/ELF-based platforms it's not even needed. -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, O
Re: dlopening the C runtime library
one ever did something like this? Such as, determining that lt_dlopenext() ends up really opening "libc.so.6", so that's what I really need to open? None of this guesswork should be needed. Since the main program already depends on libc, you should be able to lt_dlopen(NULL) an
RE: -lc fix for BSD/OS and FreeBSD
implicitly. -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun.com/hyc Symas: Premier OpenSource Development and Support > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
RE: building static on AIX
when you try to use it in a mode it wasn't configured for, I would hope that you change things such that you can make libtool run either way regardless of *the default* mode that you configure into it... -- Howard Chu Chief Architect, Symas Corp. Director, Highland S
RE: building static on AIX
static links using shared objects as input. So for this case, "-static" should be a silent no-op and libtool should just continue to build a shared library. (Moreover, the AIX linker executes a lot faster with shared objects as input, and yes, it's smart enough to e
libtool 1.4.2 and MinGW
E.g., when libtool creates libfoo.dll it also creates libfoo.dll.a. When I link against libfoo.la, why does it then try to create and link against .libs/libimp-libfoo.dll? It should just look for and use libfoo.dll.a. The second issue is just annoying, the first issue causes an otherwise legitimate
Libtool 1.4.2 and EBCDIC
7;tr \025 \100' + ;; + *) # Assume ASCII based system SP2NL='tr \040 \012' NL2SP='tr \015\012 \040\040' + ;; + esac # NLS nuisances. # Only set LANG and LC_ALL to C if already set. -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun
RE: Libtool 1.4.3
easier to swallow. I also found the CVS libtool was not a simple drop-in replacement for 1.4.2. -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun.com/hyc Symas: Premier OpenSource Development and Support
RE: library relocation
t; = /..; then + newdependency_libs="$newdependency_libs $deplib" + fi + fi ;; *) newdependency_libs="$newdependency_libs $deplib" ;; esac We do some other things differently as well, b
RE: library relocation
, and then to avoid any undesired -L paths from being embedded, I symlink any missing -L dependent libraries into the target directory, cd to the target directory and link from there, using "-L." in the final link. -- Howard Chu Chief Architect, Symas Corp. Director, High
RE: library relocation
That can only happen because the linker didn't find a libc in your first -L directory. Fix that, that's your real problem. -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun.com/hyc Symas: Premier
RE: library relocation
I think you've got a good point here. Sorry I don't have time at the moment to write up an appropriate patch. -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun.com/hyc Symas: Premier OpenSource Devel
RE: How to specify a version script?
is issue with them before. So far we've been able to work around this by replacing their bundled libtool with libtool 1.4.2 in our own builds, which works a lot better on the variety of platforms we deal with. -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http:
RE: A portable way to link in all objects
ibtool paradigm). Though this option would not be > "satisfactory" in all situations, it would help here. Link all of the static archive members into a single object file. This works on all platforms: (mkdir foo; cd foo; ar x ../libx1.a; ld -r -o ../libxx.o *.o) rm -r
RE: Request for option to disable building of static library
sent patches for it at least twice over the past 3 years. The first time was silently ignored, the second rejected. Supposedly libtool 1.5 supports this now with tags, but 1.5 has proven extremely difficult to use in migrations and I see very little acceptance of it in the projects I work with (OpenLD
RE: Version numbering
y ought to consider calling it at least a new minor release. For my own use I'd be happy with hexadecimal MM.mm.pp; again if I'm packaging 255 patches to a release I think it deserves to have a new release number. -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun h
list policies
Is this list open to everyone, or subscribers only? It would be nice if the spam was eliminated. Can you moderate new subscribers or something? -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun.com/hyc Symas
RE: Linking against indirect dependencies
is usable in static executables as well, as long as *something* (e.g. libc) was dynamically linked (thus forcing the PLT or whatever dynamic init code to be present). -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com
Re: Porting to OS/390...Need hints
anyone has already done something. I completed a port of libtool 1.4.3 to OS/390 last year: http://lists.gnu.org/archive/html/libtool/2003-04/msg00061.html -- -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun
Re: Porting to OS/390...Need hints
004-01/msg00074.html -- -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun.com/hyc Symas: Premier OpenSource Development and Support ___ Libtool mailing list [EMAIL PROTECTED]
Re: Convenieve libraries and applications.
link the application with the --whole-archive/--no-whole-archive linker flags around the convenience libraries. But, libtool doesn't let me do that :/ -- -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun.com/h
Re: Convenieve libraries and applications.
Carlo Wood wrote: On Wed, Aug 11, 2004 at 06:00:00PM -0700, Jacob Meuser wrote: On Wed, Aug 11, 2004 at 05:49:29PM -0700, Howard Chu wrote: I think this is what the -export-dynamic flag is for. I do believe that exports symbols from a shared lib. He has static libs. It should also export symbols
Re: Convenieve libraries and applications.
partial linking to create shared libraries as well. E.g. it now spits out ld -r -o libfoo.lo $(OBJS) ld -G -o libfoo.so libfoo.lo This makes things go a lot faster when you run libtool --mode=install if it needs to relink the target library. -- -- Howard Chu Chief Architect, Symas Corp.
Re: libltdl and Windows
hough, it should just load whatever was requested. -- -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun.com/hyc Symas: Premier OpenSource Development and Support ___ Lib
Re: TODO
libraries, but one of the things I actually like about libtool is the automatic dependency inclusion when linking static libraries. I.e., plain 'ol .a archives are much less friendlier without libtool because they don't carry any dependency info... -- -- Howard Chu Chief Architect, S
Re: TODO
foo" present in the binary, but I find a lot of instances of "/home/hyc/BLD/opt/foo" that I have to squash by manually relinking. -- -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun.com/hyc Symas:
Re: Q: Forcing a -Wl,-rpath arg to static lib users
2022-11-17
Thread
Howard Chu via Discussion list for the GNU libtool shared library maintenance tool
/2020-December/114536.html > > I am thinking that you may be trying to fix something which should already be > working with the original FSF libtool. > > Bob -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/