bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libtool problem on hp-ux...


From: Ralf Wildenhues
Subject: Re: libtool problem on hp-ux...
Date: Mon, 4 Apr 2005 19:46:04 +0200
User-agent: Mutt/1.4.1i

Hi Mathieu,

Sorry for not answering earlier.

* Mathieu CARBONNEAUX wrote on Fri, Mar 25, 2005 at 12:25:51AM CET:
> 
> hpux10.20* | hpux11*)
>   lt_cv_file_magic_cmd=/usr/bin/file
>   case "$host" in
>   ia64*)
>     lt_cv_deplibs_check_method='file_magic 
> (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
>     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
>     ;;
>   hppa*64*)
>     [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) 
> shared object file - PA-RISC [0-9].[0-9]']
>     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
>     ;;
>   *)
> -    lt_cv_deplibs_check_method='file_magic 
> (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
> -    lt_cv_file_magic_test_file=/usr/lib/libc.sl
> +    lt_cv_deplibs_check_method=pass_all
>     ;;
>   esac
>   ;;
> 
> If use file_magic for finding lib dependency they don?t work all the
> time, with 2 and more level of library they detect false negative
> (static lib) in dependency?

Hmm.  Which exact system(s) did you test this on?

> And decide to use static linking?and It
> impossible to compile apache with DSO  and php with php Module without
> ?pass_all? on hp-ux (V10.20, 11 and 11.11) with all version of
> compiler have used (gcc 3.x and hp-ux cc) in 32bit mode?

The change you propose has far-reaching consequences within Libtool.
In the past, libtool has been to easy in changing to pass_all, and we
have been burnt several times.  For example, my medium-term plan
includes disabling pass_all on linux and solaris in general, and only
enabling it on the arches on which it really works (e.g., linux/x86,
but not linux/x86_64 in 64bit mode).

How about 64bit mode gcc?  How about other compilers?  Which linker do
you use?  If GNU ld, how about the system linker?

> This problem has been encountered by me on libtool version 1.4.x and 1.5.x?
> And have tried many versions of autoconf and automake?
> The last libtool I use: 1.5 (1.1220 2003/04/05 19:32:58)
> 
> I don?t have hp-ux machine to test ?ia64? and ?hppa*64*?? but I think
> is possible that have the same problem?

I would be very surprised if ia64 allowed to put non-PIC objects into
shared libraries (i.e., allowed text relocations).  I have not checked,
but I would really like to see documentation supporting this before
making such a change.

Regards,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]