[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
DESTDIR install on hppa-hpux
From: |
Michael Haubenwallner |
Subject: |
DESTDIR install on hppa-hpux |
Date: |
Wed, 27 May 2009 00:16:59 +0200 |
Hi,
now I've managed to get 'make install DESTDIR=...' working on
hppa-hpux10 and hppa-hpux11 with libtool.
With this patch, 10 tests ("demo-nofast.test" to "depdemo-unst.test")
change from SKIP to PASS, and both "Simple DESTDIR install" and "DESTDIR
with in-package deplibs" (destdir.at) change from "expected failure" to
"ok", for the 32bit hppa environments marked with "*" below.
No other tests do change their result.
The most important part of the fix is already suggested in comments
around 'hardcode_minus_L=yes', as the encoded library path is used as
fallback location for a specific library when runpath lookup fails.
As this isn't really 'hardcoding' in libtool's sense, hardcode_minus_L
can safely be set to 'no' IMO, opening the door for DESTDIR support.
This does require to use 'chatr' in demo-hardcode.test to not get false
positives when testing for hardcoded path (more comments inside).
Another minor one was that there is no need to pass
"+b $install_libdir", as the linker ignores subsequent "+b" values.
The patch has been tested in these HP-UX environments (as well as on
linux and aix, without any test result changes there):
arch HP-UX bits * compiler
------------------------------
hppa 10.20 32 * gcc-3.0.1
hppa 10.20 32 * HP C Compiler A.10.32.30 (with CXX=false)
hppa 11.11 32 * gcc-3.3.4
hppa 11.11 32 * "HP C Compiler PHCO_27774" + "HP ANSI C++ A.03.52"
hppa 11.11 64 "HP C Compiler PHCO_27774" + "HP ANSI C++ A.03.52"
ia64 11.23 32 gcc-4.2.4
ia64 11.23 32 HP aC++/ANSI C A.06.10 (both cc/aCC)
ia64 11.23 64 gcc-4.2.4
ia64 11.23 64 HP aC++/ANSI C A.06.10 (both cc/aCC
hppa 11.31 32 * gcc-4.3.1
hppa 11.31 32 * "HP C Compiler PHCO_27774" + "HP ANSI C++ A.03.85"
hppa 11.31 64 "HP C Compiler PHCO_27774" + "HP ANSI C++ A.03.85"
The patch is created and tested using recent libtool.master - I'm just
unsure about the ChangeLog heading (already inside).
Setting 'hardcode_minus_L=no' can be dropped eventually, as it is the
default and a similar comment is in demo-hardcode.test now.
Thanks!
/haubi/
libtool-hppa-hpux-destdir.patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- DESTDIR install on hppa-hpux,
Michael Haubenwallner <=