From: Ralf Wildenhues Date: Fri, 23 Feb 2007 19:45:42 +0000 (+0000) Subject: * libltdl/config/ltmain.m4sh (func_generate_dlsyms) [ osf5 ]: X-Git-Tag: release-2-1b~181 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c4028959cfd6f0a9542ed79bc4e44868501348b0;p=thirdparty%2Flibtool.git * libltdl/config/ltmain.m4sh (func_generate_dlsyms) [ osf5 ]: On Tru64 5.1, const relocations do not work well. Omit the const here. Fixes failure of demo-make after demo-shared with link editor error `seg_info_ptr: Couldnt find a seg type 2'. --- diff --git a/ChangeLog b/ChangeLog index 4e97d2d8b..77f0774f1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2007-02-23 Ralf Wildenhues + * libltdl/config/ltmain.m4sh (func_generate_dlsyms) [ osf5 ]: + On Tru64 5.1, const relocations do not work well. Omit the + const here. Fixes failure of demo-make after demo-shared with + link editor error `seg_info_ptr: Couldnt find a seg type 2'. + * Makefile.am (doc_libtool_TEXINFOS): Renamed from... (libtool_TEXINFOS): ...this, to fix dependencies. Omit from EXTRA_DIST. diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index 68ed975a8..046617187 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4sh @@ -959,6 +959,10 @@ typedef struct { runtime relocations are performed -- see ld's documentation on pseudo-relocs. */" lt_dlsym_const= ;; + *osf5*) + echo >> "$output_objdir/$my_dlsyms" "\ +/* This system does not cope well with relocations in const data */" + lt_dlsym_const= ;; *) lt_dlsym_const=const ;; esac