mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-04 17:09:25 +01:00
Update sections on HP-UX.
(Logical change 1.223)
This commit is contained in:
parent
bd193e0509
commit
f2b40607fd
1 changed files with 27 additions and 14 deletions
41
README
41
README
|
@ -61,23 +61,28 @@ should look like this:
|
||||||
$ ./configure CC=icc CFLAGS="-g -O3 -ip" CXX=icc CCAS=gcc CCASFLAGS=-g \
|
$ ./configure CC=icc CFLAGS="-g -O3 -ip" CXX=icc CCAS=gcc CCASFLAGS=-g \
|
||||||
LDFLAGS="-L$PWD/src/.libs"
|
LDFLAGS="-L$PWD/src/.libs"
|
||||||
|
|
||||||
|
|
||||||
* Building on HP-UX
|
* Building on HP-UX
|
||||||
|
|
||||||
For the time being, libunwind must be built with GCC on HP-UX.
|
For the time being, libunwind must be built with GCC on HP-UX.
|
||||||
Unfortunately, gcc-3.0 and gcc-3.2 ship with a bad version of
|
|
||||||
sys/types.h. The workaround for this is:
|
libunwind should be configured and installed on HP-UX like this:
|
||||||
|
|
||||||
|
$ ./configure CFLAGS="-g -O2 -mlp64" CXXFLAGS="-g -O2 -mlp64"
|
||||||
|
|
||||||
|
Caveat: Unwinding of 32-bit (ILP32) binaries is not supported
|
||||||
|
at the moment.
|
||||||
|
|
||||||
|
** Workaround for older versions of GCC
|
||||||
|
|
||||||
|
GCC v3.0 and GCC v3.2 ship with a bad version of sys/types.h. The
|
||||||
|
workaround is to issue the following commands before running
|
||||||
|
"configure":
|
||||||
|
|
||||||
$ mkdir $top_dir/include/sys
|
$ mkdir $top_dir/include/sys
|
||||||
$ cp /usr/include/sys/types.h $top_dir/include/sys
|
$ cp /usr/include/sys/types.h $top_dir/include/sys
|
||||||
|
|
||||||
Apart from this glitch, libunwind should configure and install on
|
GCC v3.3.2 or later have been fixed and do not require this
|
||||||
HP-UX like this:
|
workaround.
|
||||||
|
|
||||||
$ ./configure CFLAGS="-g -O2 -mlp64"
|
|
||||||
|
|
||||||
Caveat: Unwinding of 32-bit (ILP32) binaries is not supported
|
|
||||||
at the moment.
|
|
||||||
|
|
||||||
* Regression Testing
|
* Regression Testing
|
||||||
|
|
||||||
|
@ -111,10 +116,18 @@ The following tests are expected to fail on x86 Linux:
|
||||||
|
|
||||||
** Expected results on HP-UX
|
** Expected results on HP-UX
|
||||||
|
|
||||||
"make check" is currently unsupported for HP-UX. The only test
|
"make check" is currently unsupported for HP-UX. You can try to run
|
||||||
programs that are known to work at this time are tests/bt (which
|
it, but most tests will fail (and some may fail to terminate). The
|
||||||
produces various backtraces) and tests/Gperf-simple, which does some
|
only test programs that are known to work at this time are:
|
||||||
simple performance measurements.
|
|
||||||
|
tests/bt
|
||||||
|
tests/Gperf-simple
|
||||||
|
tests/test-proc-info
|
||||||
|
tests/test-static-link
|
||||||
|
tests/Gtest-init
|
||||||
|
tests/Ltest-init
|
||||||
|
tests/Gtest-resume-sig
|
||||||
|
tests/Ltest-resume-sig
|
||||||
|
|
||||||
* Performance Testing
|
* Performance Testing
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue