foss-for-synopsys-dwc-arc-processors / linux

Helpful resources for users & developers of Linux kernel for ARC
22 stars 13 forks source link

SPEC2017: 507.cactuBSSN_r failure #21

Open NikitaSobolev opened 4 years ago

NikitaSobolev commented 4 years ago

507.cactuBSSN_r fails and calls stack trace.

How to reproduce this build: https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/wiki/SPEC2017#how-to-run-prebuilt-spec

Config file used: arc.cfg.txt [Delte .txt extension before usage]

Test output: see in the file or 50 last lines below: 507.cactuBSSN_r_make.out.log

/usr/bin/gcc     -std=c99    -c -o IOBasic/WriteScalar.o -DSPEC -DNDEBUG -DSPEC_AUTO_SUPPRESS_OPENMP -Iinclude -DCCODE -g -O3 -mcpu=hs38_linux -fno-unsafe-math-optimizations  -fno-tree-loop-vectorize               -D_FILE_OFFSET_BITS=64  IOBasic/WriteScalar.c
/usr/bin/gcc     -std=c99    -c -o IOBasic/cctk_Bindings/cctk_ThornBindings.o -DSPEC -DNDEBUG -DSPEC_AUTO_SUPPRESS_OPENMP -Iinclude -DCCODE -g -O3 -mcpu=hs38_linux -fno-unsafe-math-optimizations  -fno-tree-loop-vectorize               -D_FILE_OFFSET_BITS=64  IOBasic/cctk_Bindings/cctk_ThornBindings.c
/usr/bin/gcc     -std=c99    -c -o IOUtil/AdvertisedFiles.o -DSPEC -DNDEBUG -DSPEC_AUTO_SUPPRESS_OPENMP -Iinclude -DCCODE -g -O3 -mcpu=hs38_linux -fno-unsafe-math-optimizations  -fno-tree-loop-vectorize               -D_FILE_OFFSET_BITS=64  IOUtil/AdvertisedFiles.c
/usr/bin/gcc     -std=c99    -c -o IOUtil/CheckpointRecovery.o -DSPEC -DNDEBUG -DSPEC_AUTO_SUPPRESS_OPENMP -Iinclude -DCCODE -g -O3 -mcpu=hs38_linux -fno-unsafe-math-optimizations  -fno-tree-loop-vectorize               -D_FILE_OFFSET_BITS=64  IOUtil/CheckpointRecovery.c
/usr/bin/gcc     -std=c99    -c -o IOUtil/Startup.o -DSPEC -DNDEBUG -DSPEC_AUTO_SUPPRESS_OPENMP -Iinclude -DCCODE -g -O3 -mcpu=hs38_linux -fno-unsafe-math-optimizations  -fno-tree-loop-vectorize               -D_FILE_OFFSET_BITS=64  IOUtil/Startup.c
/usr/bin/gcc     -std=c99    -c -o IOUtil/Utils.o -DSPEC -DNDEBUG -DSPEC_AUTO_SUPPRESS_OPENMP -Iinclude -DCCODE -g -O3 -mcpu=hs38_linux -fno-unsafe-math-optimizations  -fno-tree-loop-vectorize               -D_FILE_OFFSET_BITS=64  IOUtil/Utils.c
IOUtil/Utils.c: In function 'IOUtil_1DLines':
IOUtil/Utils.c:428:11: warning: argument 1 range [2147483648, 4294967295] exceeds maximum object size 2147483647 [-Walloc-size-larger-than=]
  428 |   lower = calloc (3 * num_dims, sizeof (CCTK_REAL));
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from IOUtil/Utils.c:13:
/usr/include/stdlib.h:542:14: note: in a call to allocation function 'calloc' declared here
  542 | extern void *calloc (size_t __nmemb, size_t __size)
      |              ^~~~~~
/usr/bin/gcc     -std=c99    -c -o IOUtil/cctk_Bindings/cctk_ThornBindings.o -DSPEC -DNDEBUG -DSPEC_AUTO_SUPPRESS_OPENMP -Iinclude -DCCODE -g -O3 -mcpu=hs38_linux -fno-unsafe-math-optimizations  -fno-tree-loop-vectorize               -D_FILE_OFFSET_BITS=64  IOUtil/cctk_Bindings/cctk_ThornBindings.c
/usr/bin/gcc     -std=c99    -c -o LocalReduce/AvgFunctions.o -DSPEC -DNDEBUG -DSPEC_AUTO_SUPPRESS_OPENMP -Iinclude -DCCODE -g -O3 -mcpu=hs38_linux -fno-unsafe-math-optimizations  -fno-tree-loop-vectorize               -D_FILE_OFFSET_BITS=64  LocalReduce/AvgFunctions.c
/usr/bin/gcc     -std=c99    -c -o LocalReduce/CountFunctions.o -DSPEC -DNDEBUG -DSPEC_AUTO_SUPPRESS_OPENMP -Iinclude -DCCODE -g -O3 -mcpu=hs38_linux -fno-unsafe-math-optimizations  -fno-tree-loop-vectorize               -D_FILE_OFFSET_BITS=64  LocalReduce/CountFunctions.c
/usr/bin/gcc     -std=c99    -c -o LocalReduce/MaxFunctions.o -DSPEC -DNDEBUG -DSPEC_AUTO_SUPPRESS_OPENMP -Iinclude -DCCODE -g -O3 -mcpu=hs38_linux -fno-unsafe-math-optimizations  -fno-tree-loop-vectorize               -D_FILE_OFFSET_BITS=64  LocalReduce/MaxFunctions.c
/usr/bin/gcc     -std=c99    -c -o LocalReduce/MinFunctions.o -DSPEC -DNDEBUG -DSPEC_AUTO_SUPPRESS_OPENMP -Iinclude -DCCODE -g -O3 -mcpu=hs38_linux -fno-unsafe-math-optimizations  -fno-tree-loop-vectorize               -D_FILE_OFFSET_BITS=64  LocalReduce/MinFunctions.c
/usr/bin/gcc     -std=c99    -c -o LocalReduce/Norm1Functions.o -DSPEC -DNDEBUG -DSPEC_AUTO_SUPPRESS_OPENMP -Iinclude -DCCODE -g -O3 -mcpu=hs38_linux -fno-unsafe-math-optimizations  -fno-tree-loop-vectorize               -D_FILE_OFFSET_BITS=64  LocalReduce/Norm1Functions.c
/usr/bin/gcc     -std=c99    -c -o LocalReduce/Norm2Functions.o -DSPEC -DNDEBUG -DSPEC_AUTO_SUPPRESS_OPENMP -Iinclude -DCCODE -g -O3 -mcpu=hs38_linux -fno-unsafe-math-optimizations  -fno-tree-loop-vectorize               -D_FILE_OFFSET_BITS=64  LocalReduce/Norm2Functions.c
/usr/bin/gcc     -std=c99    -c -o LocalReduce/Norm3Functions.o -DSPEC -DNDEBUG -DSPEC_AUTO_SUPPRESS_OPENMP -Iinclude -DCCODE -g -O3 -mcpu=hs38_linux -fno-unsafe-math-optimizations  -fno-tree-loop-vectorize               -D_FILE_OFFSET_BITS=64  LocalReduce/Norm3Functions.c
/usr/bin/gcc     -std=c99    -c -o LocalReduce/Norm4Functions.o -DSPEC -DNDEBUG -DSPEC_AUTO_SUPPRESS_OPENMP -Iinclude -DCCODE -g -O3 -mcpu=hs38_linux -fno-unsafe-math-optimizations  -fno-tree-loop-vectorize               -D_FILE_OFFSET_BITS=64  LocalReduce/Norm4Functions.c
/usr/bin/gcc     -std=c99    -c -o LocalReduce/NormInfFunctions.o -DSPEC -DNDEBUG -DSPEC_AUTO_SUPPRESS_OPENMP -Iinclude -DCCODE -g -O3 -mcpu=hs38_linux -fno-unsafe-math-optimizations  -fno-tree-loop-vectorize               -D_FILE_OFFSET_BITS=64  LocalReduce/NormInfFunctions.c
/usr/bin/gcc     -std=c99    -c -o LocalReduce/Reduction.o -DSPEC -DNDEBUG -DSPEC_AUTO_SUPPRESS_OPENMP -Iinclude -DCCODE -g -O3 -mcpu=hs38_linux -fno-unsafe-math-optimizations  -fno-tree-loop-vectorize               -D_FILE_OFFSET_BITS=64  LocalReduce/Reduction.c
/usr/bin/gcc     -std=c99    -c -o LocalReduce/ReductionAvg.o -DSPEC -DNDEBUG -DSPEC_AUTO_SUPPRESS_OPENMP -Iinclude -DCCODE -g -O3 -mcpu=hs38_linux -fno-unsafe-math-optimizations  -fno-tree-loop-vectorize               -D_FILE_OFFSET_BITS=64  LocalReduce/ReductionAvg.c
/usr/bin/gcc     -std=c99    -c -o LocalReduce/ReductionCount.o -DSPEC -DNDEBUG -DSPEC_AUTO_SUPPRESS_OPENMP -Iinclude -DCCODE -g -O3 -mcpu=hs38_linux -fno-unsafe-math-optimizations  -fno-tree-loop-vectorize               -D_FILE_OFFSET_BITS=64  LocalReduce/ReductionCount.c
/usr/bin/gcc     -std=c99    -c -o LocalReduce/ReductionMax.o -DSPEC -DNDEBUG -DSPEC_AUTO_SUPPRESS_OPENMP -Iinclude -DCCODE -g -O3 -mcpu=hs38_linux -fno-unsafe-math-optimizations  -fno-tree-loop-vectorize               -D_FILE_OFFSET_BITS=64  LocalReduce/ReductionMax.c
/usr/bin/gcc     -std=c99    -c -o LocalReduce/ReductionMin.o -DSPEC -DNDEBUG -DSPEC_AUTO_SUPPRESS_OPENMP -Iinclude -DCCODE -g -O3 -mcpu=hs38_linux -fno-unsafe-math-optimizations  -fno-tree-loop-vectorize               -D_FILE_OFFSET_BITS=64  LocalReduce/ReductionMin.c
/usr/bin/gcc     -std=c99    -c -o LocalReduce/ReductionNorm1.o -DSPEC -DNDEBUG -DSPEC_AUTO_SUPPRESS_OPENMP -Iinclude -DCCODE -g -O3 -mcpu=hs38_linux -fno-unsafe-math-optimizations  -fno-tree-loop-vectorize               -D_FILE_OFFSET_BITS=64  LocalReduce/ReductionNorm1.c
/usr/bin/gcc     -std=c99    -c -o LocalReduce/ReductionNorm2.o -DSPEC -DNDEBUG -DSPEC_AUTO_SUPPRESS_OPENMP -Iinclude -DCCODE -g -O3 -mcpu=hs38_linux -fno-unsafe-math-optimizations  -fno-tree-loop-vectorize               -D_FILE_OFFSET_BITS=64  LocalReduce/ReductionNorm2.c
/usr/bin/gcc     -std=c99    -c -o LocalReduce/ReductionNorm3.o -DSPEC -DNDEBUG -DSPEC_AUTO_SUPPRESS_OPENMP -Iinclude -DCCODE -g -O3 -mcpu=hs38_linux -fno-unsafe-math-optimizations  -fno-tree-loop-vectorize               -D_FILE_OFFSET_BITS=64  LocalReduce/ReductionNorm3.c
/usr/bin/gcc     -std=c99    -c -o LocalReduce/ReductionNorm4.o -DSPEC -DNDEBUG -DSPEC_AUTO_SUPPRESS_OPENMP -Iinclude -DCCODE -g -O3 -mcpu=hs38_linux -fno-unsafe-math-optimizations  -fno-tree-loop-vectorize               -D_FILE_OFFSET_BITS=64  LocalReduce/ReductionNorm4.c
/usr/bin/gcc     -std=c99    -c -o LocalReduce/ReductionNormInf.o -DSPEC -DNDEBUG -DSPEC_AUTO_SUPPRESS_OPENMP -Iinclude -DCCODE -g -O3 -mcpu=hs38_linux -fno-unsafe-math-optimizations  -fno-tree-loop-vectorize               -D_FILE_OFFSET_BITS=64  LocalReduce/ReductionNormInf.c
/usr/bin/gcc     -std=c99    -c -o LocalReduce/ReductionSum.o -DSPEC -DNDEBUG -DSPEC_AUTO_SUPPRESS_OPENMP -Iinclude -DCCODE -g -O3 -mcpu=hs38_linux -fno-unsafe-math-optimizations  -fno-tree-loop-vectorize               -D_FILE_OFFSET_BITS=64  LocalReduce/ReductionSum.c
/usr/bin/gcc     -std=c99    -c -o LocalReduce/Startup.o -DSPEC -DNDEBUG -DSPEC_AUTO_SUPPRESS_OPENMP -Iinclude -DCCODE -g -O3 -mcpu=hs38_linux -fno-unsafe-math-optimizations  -fno-tree-loop-vectorize               -D_FILE_OFFSET_BITS=64  LocalReduce/Startup.c
/usr/bin/gcc     -std=c99    -c -o LocalReduce/SumFunctions.o -DSPEC -DNDEBUG -DSPEC_AUTO_SUPPRESS_OPENMP -Iinclude -DCCODE -g -O3 -mcpu=hs38_linux -fno-unsafe-math-optimizations  -fno-tree-loop-vectorize               -D_FILE_OFFSET_BITS=64  LocalReduce/SumFunctions.c
/usr/bin/gcc     -std=c99    -c -o LocalReduce/cctk_Bindings/cctk_ThornBindings.o -DSPEC -DNDEBUG -DSPEC_AUTO_SUPPRESS_OPENMP -Iinclude -DCCODE -g -O3 -mcpu=hs38_linux -fno-unsafe-math-optimizations  -fno-tree-loop-vectorize               -D_FILE_OFFSET_BITS=64  LocalReduce/cctk_Bindings/cctk_ThornBindings.c
/usr/bin/g++     -std=c++03  -c -o ML_BSSN/Boundaries.o -DSPEC -DNDEBUG -DSPEC_AUTO_SUPPRESS_OPENMP -Iinclude -DCCODE -DCCTK_DISABLE_RESTRICT=1 -g -O3 -mcpu=hs38_linux -fno-unsafe-math-optimizations  -fno-tree-loop-vectorize         -D_FILE_OFFSET_BITS=64  ML_BSSN/Boundaries.cc
/usr/bin/g++     -std=c++03  -c -o ML_BSSN/ML_BSSN_Advect.o -DSPEC -DNDEBUG -DSPEC_AUTO_SUPPRESS_OPENMP -Iinclude -DCCODE -DCCTK_DISABLE_RESTRICT=1 -g -O3 -mcpu=hs38_linux -fno-unsafe-math-optimizations  -fno-tree-loop-vectorize         -D_FILE_OFFSET_BITS=64  ML_BSSN/ML_BSSN_Advect.cc
/usr/bin/g++     -std=c++03  -c -o ML_BSSN/ML_BSSN_Dissipation.o -DSPEC -DNDEBUG -DSPEC_AUTO_SUPPRESS_OPENMP -Iinclude -DCCODE -DCCTK_DISABLE_RESTRICT=1 -g -O3 -mcpu=hs38_linux -fno-unsafe-math-optimizations  -fno-tree-loop-vectorize         -D_FILE_OFFSET_BITS=64  ML_BSSN/ML_BSSN_Dissipation.cc
/usr/bin/g++     -std=c++03  -c -o ML_BSSN/ML_BSSN_InitGamma.o -DSPEC -DNDEBUG -DSPEC_AUTO_SUPPRESS_OPENMP -Iinclude -DCCODE -DCCTK_DISABLE_RESTRICT=1 -g -O3 -mcpu=hs38_linux -fno-unsafe-math-optimizations  -fno-tree-loop-vectorize         -D_FILE_OFFSET_BITS=64  ML_BSSN/ML_BSSN_InitGamma.cc
/usr/bin/g++     -std=c++03  -c -o ML_BSSN/ML_BSSN_InitRHS.o -DSPEC -DNDEBUG -DSPEC_AUTO_SUPPRESS_OPENMP -Iinclude -DCCODE -DCCTK_DISABLE_RESTRICT=1 -g -O3 -mcpu=hs38_linux -fno-unsafe-math-optimizations  -fno-tree-loop-vectorize         -D_FILE_OFFSET_BITS=64  ML_BSSN/ML_BSSN_InitRHS.cc
/usr/bin/g++     -std=c++03  -c -o ML_BSSN/ML_BSSN_Minkowski.o -DSPEC -DNDEBUG -DSPEC_AUTO_SUPPRESS_OPENMP -Iinclude -DCCODE -DCCTK_DISABLE_RESTRICT=1 -g -O3 -mcpu=hs38_linux -fno-unsafe-math-optimizations  -fno-tree-loop-vectorize         -D_FILE_OFFSET_BITS=64  ML_BSSN/ML_BSSN_Minkowski.cc
/usr/bin/g++     -std=c++03  -c -o ML_BSSN/ML_BSSN_RHS.o -DSPEC -DNDEBUG -DSPEC_AUTO_SUPPRESS_OPENMP -Iinclude -DCCODE -DCCTK_DISABLE_RESTRICT=1 -g -O3 -mcpu=hs38_linux -fno-unsafe-math-optimizations  -fno-tree-loop-vectorize         -D_FILE_OFFSET_BITS=64  ML_BSSN/ML_BSSN_RHS.cc
/usr/bin/g++     -std=c++03  -c -o ML_BSSN/ML_BSSN_RHSStaticBoundary.o -DSPEC -DNDEBUG -DSPEC_AUTO_SUPPRESS_OPENMP -Iinclude -DCCODE -DCCTK_DISABLE_RESTRICT=1 -g -O3 -mcpu=hs38_linux -fno-unsafe-math-optimizations  -fno-tree-loop-vectorize         -D_FILE_OFFSET_BITS=64  ML_BSSN/ML_BSSN_RHSStaticBoundary.cc
/usr/bin/g++     -std=c++03  -c -o ML_BSSN/ML_BSSN_boundary.o -DSPEC -DNDEBUG -DSPEC_AUTO_SUPPRESS_OPENMP -Iinclude -DCCODE -DCCTK_DISABLE_RESTRICT=1 -g -O3 -mcpu=hs38_linux -fno-unsafe-math-optimizations  -fno-tree-loop-vectorize         -D_FILE_OFFSET_BITS=64  ML_BSSN/ML_BSSN_boundary.cc
/usr/bin/g++     -std=c++03  -c -o ML_BSSN/ML_BSSN_constraints.o -DSPEC -DNDEBUG -DSPEC_AUTO_SUPPRESS_OPENMP -Iinclude -DCCODE -DCCTK_DISABLE_RESTRICT=1 -g -O3 -mcpu=hs38_linux -fno-unsafe-math-optimizations  -fno-tree-loop-vectorize         -D_FILE_OFFSET_BITS=64  ML_BSSN/ML_BSSN_constraints.cc
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
specmake: *** [/home/root/build/benchspec/Makefile.defaults:356: ML_BSSN/ML_BSSN_constraints.o] Error 1