mirror of
https://github.com/stefanberger/libtpms
synced 2025-12-26 06:12:50 +00:00
test: do not run localcheck test on powerpc64
There is a spurious failure on powerpc64: $ gcc -nostdlib -Lsrc/.libs -ltpms /usr/bin/ld: src/.libs/libtpms.so: ABI version 1 is not compatible with ABI version 0 output /usr/bin/ld: failed to merge target specific data of file src/.libs/libtpms.so /usr/bin/ld: warning: cannot find entry symbol _start; defaulting to 00000000000000d8 collect2: error: ld returned 1 exit status This is likely a linker bug, which has been reported, but even if it is fixed, it will take a long time before it is available: https://sourceware.org/bugzilla/show_bug.cgi?id=17742#c7 Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
This commit is contained in:
parent
1ae7480bd2
commit
76c834680b
@ -668,7 +668,7 @@ check-local:
|
||||
darwin*|freebsd*) LDFLAGS_OS="-shared" ;; \
|
||||
*) ADDLIBS="" ;; \
|
||||
esac; \
|
||||
($(CC) $$LDFLAGS_OS $(LDFLAGS_ARCH) -nostdlib -L./.libs -ltpms $$ADDLIBS 2>/dev/null || \
|
||||
[[ "$(host_cpu)" =~ "powerpc64" ]] || ($(CC) $$LDFLAGS_OS $(LDFLAGS_ARCH) -nostdlib -L./.libs -ltpms $$ADDLIBS 2>/dev/null || \
|
||||
(echo "There are undefined symbols in libtpms ($$LDFLAGS_OS $(LDFLAGS_ARCH))";\
|
||||
$(CC) $$LDFLAGS_OS $(LDFLAGS_ARCH) -nostdlib -L./.libs -ltpms $$ADDLIBS 2>&1 | grep libtpms))
|
||||
@case $(host_os) in \
|
||||
@ -676,7 +676,7 @@ check-local:
|
||||
darwin*|freebsd*) LDFLAGS_OS="-shared" ;; \
|
||||
*) ADDLIBS="" ;; \
|
||||
esac; \
|
||||
$(CC) $$LDFLAGS_OS $(LDFLAGS_ARCH) -nostdlib -L./.libs -ltpms $$ADDLIBS 2>/dev/null
|
||||
[[ "$(host_cpu)" =~ "powerpc64" ]] || $(CC) $$LDFLAGS_OS $(LDFLAGS_ARCH) -nostdlib -L./.libs -ltpms $$ADDLIBS 2>/dev/null
|
||||
rm a.out || true
|
||||
|
||||
EXTRA_DIST = \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user