From ee9d35d79b67a14acbb55efcbb44631e1b7e7930 Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Sat, 22 Apr 2017 14:01:08 +0200 Subject: [PATCH] testing/creduce: disable on x86, fails to build /usr/bin/../lib/gcc/i586-alpine-linux-musl/6.3.0/../../../libclangFrontend.a(CompilerInstance.cpp.o): In function `void std::__cxx11::basic_string, std::allocator >::_M_construct(char*, char*, std::forward_iterator_tag) [clone .isra.395]': CompilerInstance.cpp:(.text._ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag.isra.395+0xc6): undefined reference to `__stack_chk_fail_local' /usr/bin/../lib/gcc/i586-alpine-linux-musl/6.3.0/../../../libclangFrontend.a(CompilerInstance.cpp.o): In function `clang::DiagnosticBuilder::AddString(llvm::StringRef) const [clone .isra.373]': CompilerInstance.cpp:(.text._ZNK5clang17DiagnosticBuilder9AddStringEN4llvm9StringRefE.isra.373+0x160): undefined reference to `__stack_chk_fail_local' /usr/bin/../lib/gcc/i586-alpine-linux-musl/6.3.0/../../../libclangFrontend.a(CompilerInstance.cpp.o):CompilerInstance.cpp:(.text._ZNK5clang16CompilerInstance21getPCHContainerReaderEv[_ZNK5clang16CompilerInstance21getPCHContainerReaderEv]+0x27f): more undefined references to `__stack_chk_fail_local' follow /usr/bin/ld: clang_delta: hidden symbol `__stack_chk_fail_local' isn't defined /usr/bin/ld: final link failed: Bad value clang-4.0: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [Makefile:765: clang_delta] Error 1 --- testing/creduce/APKBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/creduce/APKBUILD b/testing/creduce/APKBUILD index 5eccf8f75b8..0e6cfc5fcf0 100644 --- a/testing/creduce/APKBUILD +++ b/testing/creduce/APKBUILD @@ -5,7 +5,7 @@ pkgver=2.6.0 pkgrel=1 pkgdesc="A C/C++ program reducer" url="http://embed.cs.utah.edu/creduce/" -arch="all" +arch="all !x86" license="custom" # util-linux provides lscpu depends="clang indent perl perl-exporter-lite perl-file-which