Commit 183db6c
committed
build: Check unw_init_local() with custom test.
The most popular, HP's implementation of libunwind doesn't provide the
unw_init_local() symbol by that name (the actual symbol is
`_ULx86_64_init_local`), so it can fail the AC_CHECK_LIB test.
Since there is no symbol that we can portably test with AC_CHECK_LIB on
libunwind, remove the macro call altogether and favor the test program
that I have introduced in 924aa4d.
This fixes a regression from commit
de6de25.
Note: There're two common implementations of libunwind. One is from HP
and the other is from LLVM.
Signed-off-by: Kang-Che Sung <explorer09@gmail.com>1 parent bf17a7e commit 183db6c
2 files changed
Lines changed: 23 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
1346 | 1346 | | |
1347 | 1347 | | |
1348 | 1348 | | |
1349 | | - | |
| 1349 | + | |
1350 | 1350 | | |
1351 | 1351 | | |
1352 | 1352 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
948 | 948 | | |
949 | 949 | | |
950 | 950 | | |
951 | | - | |
952 | | - | |
953 | | - | |
954 | | - | |
955 | | - | |
956 | | - | |
957 | | - | |
958 | | - | |
959 | | - | |
960 | | - | |
961 | | - | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
962 | 958 | | |
963 | 959 | | |
964 | 960 | | |
965 | 961 | | |
966 | 962 | | |
967 | 963 | | |
968 | | - | |
969 | | - | |
970 | | - | |
| 964 | + | |
971 | 965 | | |
| 966 | + | |
972 | 967 | | |
| 968 | + | |
973 | 969 | | |
974 | | - | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
975 | 973 | | |
976 | 974 | | |
977 | 975 | | |
| 976 | + | |
978 | 977 | | |
979 | 978 | | |
980 | 979 | | |
| |||
1013 | 1012 | | |
1014 | 1013 | | |
1015 | 1014 | | |
| 1015 | + | |
1016 | 1016 | | |
1017 | 1017 | | |
1018 | 1018 | | |
1019 | 1019 | | |
1020 | 1020 | | |
1021 | 1021 | | |
1022 | | - | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
1023 | 1028 | | |
1024 | 1029 | | |
1025 | 1030 | | |
1026 | 1031 | | |
1027 | | - | |
1028 | | - | |
1029 | | - | |
1030 | | - | |
1031 | 1032 | | |
1032 | 1033 | | |
1033 | 1034 | | |
| |||
0 commit comments