Source: librandom123 Version: 1.14.0+dfsg-4 Severity: normal X-Debbugs-Cc: wuruil...@loongson.cn
Dear Maintainer, While compiling the neuron package, an error was encountered. The following patch was added to the librandom123 software package, which successfully solved the problem. wuruilong -- System Information: Debian Release: trixie/sid APT prefers unreleased APT policy: (500, 'unreleased'), (500, 'unstable') Architecture: loong64 (loongarch64) Kernel: Linux 5.10.0-60.96.0.126.oe2203.loongarch64 (SMP w/32 CPU threads) Locale: LANG=zh_CN.UTF-8, LC_CTYPE=C.UTF-8 (charmap=locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: unable to detect
--- a/include/Random123/features/gccfeatures.h 2024-01-02 01:40:35.426859137 +0000 +++ b/include/Random123/features/gccfeatures.h 2024-01-02 01:41:19.538567978 +0000 @@ -34,7 +34,7 @@ #define R123_GNUC_VERSION (__GNUC__*10000 + __GNUC_MINOR__*100 + __GNUC_PATCHLEVEL__) -#if !defined(__x86_64__) && !defined(__i386__) && !defined(__powerpc__) && !defined(__arm__) && !defined(__aarch64__) && !defined(__s390x__) && !defined(__riscv) +#if !defined(__x86_64__) && !defined(__i386__) && !defined(__powerpc__) && !defined(__arm__) && !defined(__aarch64__) && !defined(__s390x__) && !defined(__riscv) && !defined(__loongarch__) # error "This code has only been tested on x86, powerpc and a few arm platforms." #include <including_a_nonexistent_file_will_stop_some_compilers_from_continuing_with_a_hopeless_task> { /* maybe an unbalanced brace will terminate the compilation */