From ec3c914f22c9b6d4207f9e74abcfc7f3cd81cd40 Mon Sep 17 00:00:00 2001 From: Michael Ford Date: Wed, 4 Aug 2021 23:49:19 +0800 Subject: [PATCH] bitcoin: remove i386 HAVE_BUILTIN_MUL_OVERFLOW workaround (#6140) This should no-longer be necessary now that https://github.com/bitcoin/bitcoin/pull/21882 has been merged upstream. --- projects/bitcoin-core/build.sh | 7 ------- 1 file changed, 7 deletions(-) diff --git a/projects/bitcoin-core/build.sh b/projects/bitcoin-core/build.sh index 172dbe84d..c2b9f17a1 100755 --- a/projects/bitcoin-core/build.sh +++ b/projects/bitcoin-core/build.sh @@ -23,13 +23,6 @@ cd $SRC/bitcoin-core/ # This will also force static builds if [ "$ARCHITECTURE" = "i386" ]; then export BUILD_TRIPLET="i686-pc-linux-gnu" - # Temporary workaround for: - # CXXLD test/fuzz/fuzz - # test/fuzz/test_fuzz_fuzz-multiplication_overflow.o: In function `void (anonymous namespace)::TestMultiplicationOverflow(FuzzedDataProvider&)': - # /src/bitcoin-core/src/test/fuzz/multiplication_overflow.cpp:30: undefined reference to `__mulodi4' - # clang-12: error: linker command failed with exit code 1 (use -v to see invocation) - # Makefile:5495: recipe for target 'test/fuzz/fuzz' failed - sed -i 's|defined(HAVE_BUILTIN_MUL_OVERFLOW)|defined(IGNORE_BUILTIN_MUL_OVERFLOW)|g' "./src/test/fuzz/multiplication_overflow.cpp" else export BUILD_TRIPLET="x86_64-pc-linux-gnu" fi