* ltmain.in: temporarily disable dlopen_self when linking with

-static or -all-static, until we figure out how to test whether it
works at configure time
* TODO: remember to fix this later
This commit is contained in:
Alexandre Oliva 1999-03-08 21:21:55 +00:00 committed by Alexandre Oliva
parent b4806a4300
commit 2f024c7555
3 changed files with 18 additions and 0 deletions

View File

@ -1,5 +1,10 @@
1999-03-08 Alexandre Oliva <oliva@dcc.unicamp.br>
* ltmain.in: temporarily disable dlopen_self when linking with
-static or -all-static, until we figure out how to test whether it
works at configure time
* TODO: remember to fix this later
* tests/build-relink.test: when hell is expected to fail, run it
within a subshell and redirect stderr to stdout, so that dynamic
linker errors are only printed in verbose mode

5
TODO
View File

@ -37,6 +37,11 @@ so that the size of lt_preloaded_symbols can be reduced.
In the future:
**************
* test whether dlopening and self-dlopening work for statically linked
programs. Self-dlopening, for example, is known to fail on DEC
OSF/1, for programs compiled with -static. On other platforms,
dlopen may even fail to link.
* Godmar Back writes:
libltdl uses such stdio functions as fopen, fgets, feof, fclose, and others.
These functions are not async-signal-safe. While this does not make

View File

@ -927,6 +927,10 @@ compiler."
if test -n "$link_static_flag"; then
compile_command="$compile_command $link_static_flag"
finalize_command="$finalize_command $link_static_flag"
# Some platforms do not support self-dlopening with static
# linking. Assume self-dlopening does not work in this case
# till we figure out how to test it at configure time
dlopen_self=no
fi
continue
;;
@ -1054,6 +1058,10 @@ compiler."
if test -z "$pic_flag" && test -n "$link_static_flag"; then
compile_command="$compile_command $link_static_flag"
finalize_command="$finalize_command $link_static_flag"
# Some platforms do not support self-dlopening with static
# linking. Assume self-dlopening does not work in this case
# till we figure out how to test it at configure time
dlopen_self=no
fi
continue
;;