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
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
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
;;
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
;;