Hi,
I work on Ubuntu 10.04 LTS. I tried to compile libunwind after installing
package with dpkg-source ...
I use ./configure like this:
./configure CFLAGS=-U_FORTIFY_SOURCE
LDFLAGS=-L/home/aro/bibliotheques/libunwind/libunwind-0.99/src/.libs
the program does not compile without CFLAGS=-U_FORTIFY_SOURCE
make is OK
make check yields error :
root@aro-desktop:~/bibliotheques/libunwind/libunwind-0.99# make check
Making check in src
make[1]: entrant dans le répertoire «
/home/aro/bibliotheques/libunwind/libunwind-0.99/src »
make check-am
make[2]: entrant dans le répertoire «
/home/aro/bibliotheques/libunwind/libunwind-0.99/src »
make[2]: Rien à faire pour « check-am ».
make[2]: quittant le répertoire «
/home/aro/bibliotheques/libunwind/libunwind-0.99/src »
make[1]: quittant le répertoire «
/home/aro/bibliotheques/libunwind/libunwind-0.99/src »
Making check in tests
make[1]: entrant dans le répertoire «
/home/aro/bibliotheques/libunwind/libunwind-0.99/tests »
make test-proc-info test-static-link test-strerror Gtest-bt Ltest-bt
Gtest-exc Ltest-exc Gtest-init Ltest-init Gtest-concurrent Ltest-concurrent
Gtest-resume-sig Ltest-resume-sig Gtest-dyn1 Ltest-dyn1 test-async-sig
test-flush-cache test-init-remote test-mem test-setjmp test-ptrace
Ltest-nomalloc run-check-namespace run-ptrace-mapper run-ptrace-misc
make[2]: entrant dans le répertoire «
/home/aro/bibliotheques/libunwind/libunwind-0.99/tests »
make[2]: « test-proc-info » est à jour.
make[2]: « test-static-link » est à jour.
make[2]: « test-strerror » est à jour.
make[2]: « Gtest-bt » est à jour.
make[2]: « Ltest-bt » est à jour.
make[2]: « Gtest-exc » est à jour.
make[2]: « Ltest-exc » est à jour.
make[2]: « Gtest-init » est à jour.
make[2]: « Ltest-init » est à jour.
make[2]: « Gtest-concurrent » est à jour.
make[2]: « Ltest-concurrent » est à jour.
make[2]: « Gtest-resume-sig » est à jour.
make[2]: « Ltest-resume-sig » est à jour.
make[2]: « Gtest-dyn1 » est à jour.
make[2]: « Ltest-dyn1 » est à jour.
make[2]: « test-async-sig » est à jour.
make[2]: « test-flush-cache » est à jour.
make[2]: « test-init-remote » est à jour.
make[2]: « test-mem » est à jour.
make[2]: « test-setjmp » est à jour.
make[2]: « test-ptrace » est à jour.
make[2]: « Ltest-nomalloc » est à jour.
make[2]: Rien à faire pour « run-check-namespace ».
make[2]: Rien à faire pour « run-ptrace-mapper ».
make[2]: Rien à faire pour « run-ptrace-misc ».
make[2]: quittant le répertoire «
/home/aro/bibliotheques/libunwind/libunwind-0.99/tests »
make check-TESTS
make[2]: entrant dans le répertoire «
/home/aro/bibliotheques/libunwind/libunwind-0.99/tests »
PASS: test-proc-info
PASS: test-static-link
PASS: test-strerror
PASS: Gtest-bt
PASS: Ltest-bt
PASS: Gtest-exc
PASS: Ltest-exc
PASS: Gtest-init
PASS: Ltest-init
PASS: Gtest-concurrent
PASS: Ltest-concurrent
failed to get SIGUSR2
FAILURE: detected 1 errors
FAIL: Gtest-resume-sig
failed to get SIGUSR2
FAILURE: detected 1 errors
FAIL: Ltest-resume-sig
PASS: Gtest-dyn1
PASS: Ltest-dyn1
PASS: test-async-sig
PASS: test-flush-cache
PASS: test-init-remote
PASS: test-mem
/bin/bash: line 4: 30851 Erreur de segmentation ${dir}$tst
FAIL: test-setjmp
PASS: test-ptrace
PASS: Ltest-nomalloc
PASS: run-check-namespace
PASS: run-ptrace-mapper
FAILURE: unw_step() returned -7 for ip=401535 (start ip=4007c8)
unwind failed with ret=-7
FAILURE: unw_step() returned -7 for ip=40083a (start ip=4007c8)
unwind failed with ret=-7
FAILURE: unw_step() returned -8 for ip=2af5f67317ae (start ip=2af5f67317ae)
unwind failed with ret=-8
FAILURE: detected 6 errors
FAIL: run-ptrace-misc
===========================================
4 of 25 tests failed
Please report to [email protected]
===========================================
Do you know where the issue comes from ?
thanks for your help
_______________________________________________
Libunwind-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/libunwind-devel