[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: DESTDIR, relink dependent lib, RPM and AIX
From: |
Ralf Wildenhues |
Subject: |
Re: DESTDIR, relink dependent lib, RPM and AIX |
Date: |
Wed, 11 Oct 2006 20:08:15 +0200 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Hello Jaimon,
* Jaimon Jose wrote on Wed, Oct 11, 2006 at 09:01:18AM CEST:
> Ralf Wildenhues wrote the following on 10/11/2006 02:59 AM:
> > Please resend your proposed changes in a unified diff format (diff -u),
> > that makes it easier to look at them, and safer.
> This is the proposed change in HEAD branch. I'm still trying to
> backport the relevant changes to 1-5 branch.
I don't think this functionality exists in branch-1-5.
Thanks for the patch; but I'm really wondering about the change.
Before the patch, we generate a command line such as
cc -qlanglvl=extc89 -Wl,-bM:SRE -o .libs/libhello.so.2 \
"-Wl,-f,.libs/libhello.la.lnk" -lm -lc -Wl,-bnoentry \
-qlanglvl=extc89 -Wl,-bE:list -Wl,-bernotok
and with your patch, the linkscript argument will now be
"-Wl,-f.libs/libhello.la.lnk"
instead. I've tried on AIX 4.3 and 5.3, and both seem to support the
notation we use currently.
Could you show a "libtool --mode=link" command line in your project plus
its output where this fails? Also maybe once with -Wc,-v and once with
-Wl,-v added? Which compiler version, OS version is this, what says
`./libtool --config'?
Thanks,
Ralf
> Index: libltdl/m4/libtool.m4
> ===================================================================
> RCS file: /sources/libtool/libtool/libltdl/m4/libtool.m4,v
> retrieving revision 1.85
> diff -u -3 -p -u -r1.85 libtool.m4
> --- libltdl/m4/libtool.m4 18 Sep 2006 05:49:39 -0000 1.85
> +++ libltdl/m4/libtool.m4 11 Oct 2006 06:05:30 -0000
> @@ -4323,7 +4323,7 @@ _LT_EOF
> _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
> _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
> _LT_TAGVAR(link_all_deplibs, $1)=yes
> - _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
> + _LT_TAGVAR(file_list_spec, $1)='${wl}-f'
>
> if test "$GCC" = yes; then
> case $host_os in aix4.[[012]]|aix4.[[012]].*)
> @@ -5317,7 +5317,7 @@ if test "$_lt_caught_CXX_error" != yes;
> _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
> _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
> _LT_TAGVAR(link_all_deplibs, $1)=yes
> - _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
> + _LT_TAGVAR(file_list_spec, $1)='${wl}-f'
>
> if test "$GXX" = yes; then
> case $host_os in aix4.[[012]]|aix4.[[012]].*)
>
- DESTDIR, relink dependent lib, RPM and AIX, Jaimon Jose, 2006/10/08
- Re: DESTDIR, relink dependent lib, RPM and AIX, Ralf Wildenhues, 2006/10/09
- Re: DESTDIR, relink dependent lib, RPM and AIX, Jaimon Jose, 2006/10/09
- Re: DESTDIR, relink dependent lib, RPM and AIX, Jaimon Jose, 2006/10/10
- Re: DESTDIR, relink dependent lib, RPM and AIX, Ralf Wildenhues, 2006/10/10
- Re: DESTDIR, relink dependent lib, RPM and AIX, Jaimon Jose, 2006/10/11
- Re: DESTDIR, relink dependent lib, RPM and AIX,
Ralf Wildenhues <=
- Re: DESTDIR, relink dependent lib, RPM and AIX, Jaimon Jose, 2006/10/16
- Re: DESTDIR, relink dependent lib, RPM and AIX, Patrick Welche, 2006/10/16