On 11/23/20 12:53 AM, Vincent Lefevre wrote:
> On 2020-11-23 01:00:30 +0100, Vincent Lefevre wrote:
>> FYI, no failures on gcc202.fsffrance.org with
>>
>> ./configure ABI=64 --enable-cxx --disable-assembly --enable-shared
>> --enable-static --enable-fft
>>
>> Linux gcc202 5.9.0-2-sparc64-smp #1 SMP Debian 5.9.6-1 (2020-11-08) sparc64
>> GNU/Linux
>>
>> Also a Debian sid with
>>
>> vinc17@gcc202:~$ gcc --version
>> gcc (Debian 10.2.0-17) 10.2.0
>
> But note that I get an ICE with UBsan. My bug report with a very
> simple testcase:
>
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97939
>
Fixed !!
root@ceres:~#
root@ceres:~#
root@ceres:~# uname -a
Linux ceres 5.9.0-4-sparc64-smp #1 SMP Debian 5.9.11-1 (2020-11-27)
sparc64 GNU/Linux
root@ceres:~#
root@ceres:~# cat /proc/cpuinfo
cpu : TI UltraSparc IIi (Sabre)
fpu : UltraSparc IIi integrated FPU
pmu : ultra12
prom: OBP 3.10.27 2000/06/22 16:45
type: sun4u
ncpus probed: 1
ncpus active: 1
D$ parity tl1 : 0
I$ parity tl1 : 0
cpucaps : flush,stbar,swap,muldiv,v9,mul32,div32,v8plus,vis
Cpu0ClkTck : 1a3a1e16
MMU Type: Spitfire
MMU PGSZs : 8K,64K,512K,4MB
State:
CPU0: online
root@ceres:~#
root@ceres:~# cat foo.c
long f (long i)
{
return i + 4096;
}
root@ceres:~#
root@ceres:~# /usr/bin/gcc-10 --version
gcc-10 (Debian 10.2.0-23) 10.2.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
root@ceres:~# /usr/bin/gcc-10 -v
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc-10
COLLECT_LTO_WRAPPER=/usr/lib/gcc/sparc64-linux-gnu/10/lto-wrapper
Target: sparc64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian
10.2.0-23' --with-bugurl=file:///usr/share/doc/gcc-10/README.Bugs
--enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr
--with-gcc-major-version-only --program-suffix=-10
--program-prefix=sparc64-linux-gnu- --enable-shared
--enable-linker-build-id --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --libdir=/usr/lib
--enable-nls --enable-bootstrap --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes
--with-default-libstdcxx-abi=new --enable-gnu-unique-object
--disable-libquadmath --disable-libquadmath-support --enable-plugin
--enable-default-pie --with-system-zlib --disable-libphobos
--enable-objc-gc=auto --enable-multiarch --disable-werror
--with-cpu-32=ultrasparc --enable-targets=all --with-long-double-128
--enable-multilib --enable-checking=release --build=sparc64-linux-gnu
--host=sparc64-linux-gnu --target=sparc64-linux-gnu
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 10.2.0 (Debian 10.2.0-23)
root@ceres:~#
root@ceres:~#
root@ceres:~# /usr/bin/gcc-10 -v -fsanitize=undefined -v -c foo.c
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc-10
Target: sparc64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian
10.2.0-23' --with-bugurl=file:///usr/share/doc/gcc-10/README.Bugs
--enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr
--with-gcc-major-version-only --program-suffix=-10
--program-prefix=sparc64-linux-gnu- --enable-shared
--enable-linker-build-id --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --libdir=/usr/lib
--enable-nls --enable-bootstrap --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes
--with-default-libstdcxx-abi=new --enable-gnu-unique-object
--disable-libquadmath --disable-libquadmath-support --enable-plugin
--enable-default-pie --with-system-zlib --disable-libphobos
--enable-objc-gc=auto --enable-multiarch --disable-werror
--with-cpu-32=ultrasparc --enable-targets=all --with-long-double-128
--enable-multilib --enable-checking=release --build=sparc64-linux-gnu
--host=sparc64-linux-gnu --target=sparc64-linux-gnu
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 10.2.0 (Debian 10.2.0-23)
COLLECT_GCC_OPTIONS='-v' '-fsanitize=undefined' '-v' '-c' '-mcpu=v9'
/usr/lib/gcc/sparc64-linux-gnu/10/cc1 -quiet -v -v -imultiarch
sparc64-linux-gnu -D__sparc_v9__ -D__arch64__ foo.c -quiet -dumpbase
foo.c -mcpu=v9 -auxbase foo -version -fsanitize=undefined -o /tmp/ccngg5fZ.s
GNU C17 (Debian 10.2.0-23) version 10.2.0 (sparc64-linux-gnu)
compiled by GNU C version 10.2.0, GMP version 6.2.1, MPFR
version 4.1.0, MPC version 1.2.0, isl version isl-0.23-GMP
GGC heuristics: --param ggc-min-expand=97 --param ggc-min-heapsize=127133
ignoring nonexistent directory "/usr/local/include/sparc64-linux-gnu"
ignoring nonexistent directory
"/usr/lib/gcc/sparc64-linux-gnu/10/include-fixed"
ignoring nonexistent directory
"/usr/lib/gcc/sparc64-linux-gnu/10/../../../../sparc64-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here: