1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
|
From: YOKOTA Hiroshi <yokota.hgml@gmail.com>
Date: Thu, 26 Oct 2023 00:49:14 +0900
Subject: Avoid internal compiler error on i386
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Forwarded: not-needed
SSE intrinsic functions requires "-msse2" (for SSE2) or "-mssse3" (for SSSE3)
options for CXXFLAGS on i386 architecture.
Debian's generic i386 platform dose not support SSE instructions, but requires
"sse2-support" or "sse3-support" for such packages.
See Debian's "isa-support" source package for more information.
Debian's generic amd64 platform dose not needs additional compilation options
because it supports SSE2 by default.
----
i686-linux-gnu-g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c blake2s.cpp
during RTL pass: expand
In file included from blake2s.cpp:20:
blake2s_sse.cpp: In function ‘blake2s_compress_sse(blake2s_state*, unsigned char const*) [clone .isra.0]’:
blake2s_sse.cpp:88:12: internal compiler error: in expand_debug_locations, at cfgexpand.cc:5668
88 | static int blake2s_compress_sse( blake2s_state *S, const byte block[BLAKE2S_BLOCKBYTES] )
| ^~~~~~~~~~~~~~~~~~~~
0x8f9216b internal_error(char const*, ...)
???:0
0x8f92235 fancy_abort(char const*, int, char const*)
???:0
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-13/README.Bugs> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
---
os.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/os.hpp b/os.hpp
index f7e841b..a2712eb 100644
--- a/os.hpp
+++ b/os.hpp
@@ -148,7 +148,7 @@
#include <locale.h>
#ifdef __GNUC__
- #if defined(__i386__) || defined(__x86_64__)
+ #if defined(__x86_64__)
#include <x86intrin.h>
#define USE_SSE
|