environment
[root@localhost cpu2006]# uname -a
Linux localhost.localdomain 4.19.90 #1 SMP Mon Mar 6 13:55:09 CST 2023 aarch64 aarch64 aarch64 GNU/Linux
[root@localhost cpu2006]# cat /etc/os-release
NAME="openEuler"
VERSION="20.03 (LTS-SP3)"
ID="openEuler"
VERSION_ID="20.03"
PRETTY_NAME="openEuler 20.03 (LTS-SP3)"
ANSI_COLOR="0;31"
runspec.sh
#!/bin/bash
source shrc
ulimit -s unlimited
runspec -c gcc.cfg -T all --nobuild -n 1 int fp --noreportable > runspec.log 2>&1 &
tail -f runspec.log
Symptoms
/opt/cpu2006/bin/specinvoke -d /opt/cpu2006/benchspec/CPU2006/482.sphinx3/run/run_base_ref_gcc43-64bit.0000 -e speccmds.err -o speccmds.stdout -f speccmds.cmd -C -q
482.sphinx3: copy 0 non-zero return code (exit code=127, signal=0)
****************************************
Contents of an4.err
****************************************
FATAL_ERROR: "mdef.c", line 427: Duplicate base phone: +BREATH+ - - - filler 0 0 1 2 N
****************************************
Running 998.specrand ref base gcc43-64bit default
/opt/cpu2006/bin/specinvoke -d /opt/cpu2006/benchspec/CPU2006/998.specrand/run/run_base_ref_gcc43-64bit.0000 -e speccmds.err -o speccmds.stdout -f speccmds.cmd -C -q
/opt/cpu2006/bin/specinvoke -E -d /opt/cpu2006/benchspec/CPU2006/998.specrand/run/run_base_ref_gcc43-64bit.0000 -c 1 -e compare.err -o compare.stdout -f compare.cmd
Error: 1x464.h264ref 1x482.sphinx3
Success: 1x400.perlbench 1x401.bzip2 1x403.gcc 1x410.bwaves 1x416.gamess 1x429.mcf 1x433.milc 1x434.zeusmp 1x435.gromacs 1x436.cactusADM 1x437.leslie3d 1x444.namd 1x445.gobmk 1x447.dealII 1x450.soplex 1x453.povray 1x454.calculix 1x456.hmmer 1x458.sjeng 1x459.GemsFDTD 1x462.libquantum 1x465.tonto 1x470.lbm 1x471.omnetpp 1x473.astar 1x481.wrf 1x483.xalancbmk 1x998.specrand 1x999.specrand
Analysis process
Official website documents, with corresponding records
Miscompare.07 q. Why does 464.h264ref fail when it is run, printing *** Miscompare of foreman_test_baseline_encodelog.out?
When I run the benchmark 464.h264ref, I see messages like these:
*** Miscompare of foreman_ref_baseline_encodelog.out; for details see *** Miscompare of foreman_test_baseline_encodelog.out; for details see *** Miscompare of foreman_train_baseline_encodelog.out; for details see
followed by a pointer to a file that contains a list of miscompares. The first line to miscompare is typically line 15:
0015: 0000(IDR) 21952 0 28 37.383 41.260 42.850 0 0 FRM 99 0000(IDR) 21952 0 28 37.383 41.246 42.833 0 0 FRM 99 ^
Why?
a. The above symptom may occur if your compiler assumes that char variables are unsigned. The source code for 464.h264ref assumes that they are signed.
About Signed Char: If you are experiencing the symptoms listed under Miscompare.07, Miscompare.08, or Build.05, please check your compiler documentation for a compiler switch that enables signed char, such as:
-signed -fsigned-char -qchars=signed
Once you have found your compiler's switch for signed char, try adding that switch to your PORTABILITY flags for the affected benchmark, to see if it solves the problem.
If you wish to generate reportable results and use them in public, then you should check whether SPEC has already approved use of the flag. You can use the results search tool, www.spec.org/cgi-bin/osgresults, to look for published results from hardware/software platforms that are similar to your platform.
If SPEC has not previously approved the flag, you can ask SPEC to approve its use, in accordance with Rule 2.1.5 Portability Flags .
Important: There are several FAQ entries relating to signed char. If you have bumped into one of the symptoms, you should probably review all three: Miscompare.07, Miscompare.08, and Build.05
Miscompare.08 Why does 482.sphinx3 fail with FATAL_ERROR: "mdef.c", line 427: Duplicate base phone: +BREATH+?
When 482.sphinx3 is run, it fails, printing:
482.sphinx3: copy 0 non-zero return code (exit code=127, signal=0) **************************************** Contents of an4.err **************************************** FATAL_ERROR: "mdef.c", line 427: Duplicate base phone: +BREATH+ - - - filler 0 0 1 2 N
a. The above symptom may occur if your compiler assumes that char variables are unsigned. The source code for 482.sphinx3 assumes that they are signed. Please see the section About Signed Char, above.
Try to resolve -fsigned-char
gcc43+.patch.2
*** Example-linux64-amd64-gcc43+.cfg 2023-07-19 15:06:00.000000000 +0800
--- gcc.cfg 2023-07-21 10:21:05.469093516 +0800
*************** bind0 = numactl -m 0 --physcpubind=0
*** 55,64 ****
bind1 = numactl -m 0 --physcpubind=1
bind2 = numactl -m 0 --physcpubind=2
bind3 = numactl -m 0 --physcpubind=3
! bind4 = numactl -m 1 --physcpubind=4
! bind5 = numactl -m 1 --physcpubind=5
! bind6 = numactl -m 1 --physcpubind=6
! bind7 = numactl -m 1 --physcpubind=7
submit = $BIND $command
--- 55,64 ----
bind1 = numactl -m 0 --physcpubind=1
bind2 = numactl -m 0 --physcpubind=2
bind3 = numactl -m 0 --physcpubind=3
! bind4 = numactl -m 0 --physcpubind=4
! bind5 = numactl -m 0 --physcpubind=5
! bind6 = numactl -m 0 --physcpubind=6
! bind7 = numactl -m 0 --physcpubind=7
submit = $BIND $command
*************** default=default=default=default:
*** 76,85 ****
#####################################################################
# NOTE: The path may be different if you use the compiler from
# the gnu site.
! CC = /usr/bin/gcc
! CXX = /usr/bin/g++
! FC = /usr/bin/gfortran
!
## HW config
# default sysinfo is expected to write hw_cpu_name, hw_memory, hw_nchips,
# hw_disk
--- 76,85 ----
#####################################################################
# NOTE: The path may be different if you use the compiler from
# the gnu site.
! CC = gcc
! CXX = g++
! FC = gfortran
! makeflags = -j8
## HW config
# default sysinfo is expected to write hw_cpu_name, hw_memory, hw_nchips,
# hw_disk
*************** notes_os_000 ='ulimit -s unlimited' was
*** 125,135 ****
#####################################################################
# Optimization
#####################################################################
-
default=base=default=default:
! COPTIMIZE = -O2 -fno-strict-aliasing
! CXXOPTIMIZE = -O2 -fno-strict-aliasing
! FOPTIMIZE = -O2 -fno-strict-aliasing
#####################################################################
# 32/64 bit Portability Flags - all
--- 125,134 ----
#####################################################################
# Optimization
#####################################################################
default=base=default=default:
! COPTIMIZE = -O2 -fno-strict-aliasing -static
! CXXOPTIMIZE = -O2 -fno-strict-aliasing -static
! FOPTIMIZE = -O2 -fno-strict-aliasing -static
#####################################################################
# 32/64 bit Portability Flags - all
*************** CXXPORTABILITY = -DSPEC_CPU_LINUX
*** 154,156 ****
--- 153,165 ----
481.wrf=default=default=default:
CPORTABILITY = -DSPEC_CPU_CASE_FLAG -DSPEC_CPU_LINUX
+ # proccess FAILED (exit code 1)
+ 416.gamess=default=default=default:
+ OPTIMIZE = -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations
+
+ 464.h264ref=default=default=default:
+ OPTIMIZE = -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char
+
+ # https://www.spec.org/cpu2006/Docs/faq.html#Miscompare.08
+ 482.sphinx3=default=default=default:
+ OPTIMIZE = -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char
cp Example-linux64-amd64-gcc43+.cfg gcc.cfg
patch -p0 < ../gcc43+.patch.2
arm64 docker gcc:4 recompiles separately 464.h264ref 482.sphinx3
root@c6174ae477c2:/opt/cpu2006# source shrc
root@c6174ae477c2:/opt/cpu2006# runspec -c gcc.cfg --action build -T all 464.h264ref 482.sphinx3
Compilation success log
runspec v6674 - Copyright 1999-2011 Standard Performance Evaluation Corporation
Using 'unknown' tools
Reading MANIFEST... 19896 files
Loading runspec modules................
Locating benchmarks...found 31 benchmarks in 6 benchsets.
Reading config file '/opt/cpu2006/config/gcc.cfg'
Running "specperl /opt/cpu2006/Docs/sysinfo" to gather system information.
Use of uninitialized value $who in scalar chomp at /opt/cpu2006/Docs/sysinfo line 1059.
Use of uninitialized value $who in concatenation (.) or string at /opt/cpu2006/Docs/sysinfo line 1060.
Loading "http://www.spec.org/auto/cpu2006/current_version" for version check: failed
Notice: Suite version checking failed; got
500 Access to 'https' URIs has been disabled
A connection to the internet is useful, but is NOT required
in order to run CPU2006. If one is available, several
components will be checked to see if they are current. If
you need to use an HTTP proxy to access the Internet, please
see the 'http_proxy' entry in config.html.
----------------------------------
The run will continue in 5 seconds
----------------------------------
Retrieving flags file (/opt/cpu2006/config/flags/Example-gcc4x-flags-revA.xml)...
Retrieving flags file (/opt/cpu2006/config/flags/Example-linux-platform-revA.xml)...
Benchmarks selected: 464.h264ref, 482.sphinx3
Compiling Binaries
Building 464.h264ref base gcc43-64bit default: (build_base_gcc43-64bit.0000)
specmake -j8 clean 2> make.clean.err | tee make.clean.out
rm -rf *.o foreman_train_baseline_encodelog.out foreman_train_baseline_leakybucketparam.cfg
find . \( -name \*.o -o -name '*.fppized.f*' -o -name '*.i' -o -name '*.mod' \) -print | xargs rm -rf
rm -rf h264ref
rm -rf h264ref.exe
rm -rf core
rm -rf
specmake -j8 build 2> make.err | tee make.out
gcc -c -o annexb.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 annexb.c
gcc -c -o biariencode.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 biariencode.c
gcc -c -o block.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 block.c
gcc -c -o cabac.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 cabac.c
gcc -c -o configfile.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 configfile.c
gcc -c -o context_ini.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 context_ini.c
gcc -c -o decoder.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 decoder.c
gcc -c -o explicit_gop.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 explicit_gop.c
gcc -c -o fast_me.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 fast_me.c
gcc -c -o filehandle.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 filehandle.c
gcc -c -o fmo.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 fmo.c
gcc -c -o header.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 header.c
gcc -c -o image.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 image.c
gcc -c -o intrarefresh.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 intrarefresh.c
gcc -c -o leaky_bucket.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 leaky_bucket.c
gcc -c -o lencod.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 lencod.c
gcc -c -o loopFilter.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 loopFilter.c
gcc -c -o macroblock.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 macroblock.c
gcc -c -o mb_access.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 mb_access.c
gcc -c -o mbuffer.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 mbuffer.c
gcc -c -o memalloc.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 memalloc.c
gcc -c -o mv-search.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 mv-search.c
gcc -c -o nal.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 nal.c
gcc -c -o nalu.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 nalu.c
gcc -c -o nalucommon.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 nalucommon.c
gcc -c -o output.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 output.c
gcc -c -o parset.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 parset.c
gcc -c -o parsetcommon.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 parsetcommon.c
gcc -c -o q_matrix.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 q_matrix.c
gcc -c -o q_offsets.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 q_offsets.c
gcc -c -o ratectl.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 ratectl.c
gcc -c -o rdopt.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 rdopt.c
gcc -c -o rdopt_coding_state.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 rdopt_coding_state.c
gcc -c -o rdpicdecision.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 rdpicdecision.c
gcc -c -o refbuf.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 refbuf.c
gcc -c -o rtp.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 rtp.c
gcc -c -o sei.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 sei.c
gcc -c -o slice.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 slice.c
gcc -c -o transform8x8.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 transform8x8.c
gcc -c -o vlc.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 vlc.c
gcc -c -o weighted_prediction.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 weighted_prediction.c
gcc -c -o specrand.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 specrand.c
gcc -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 annexb.o biariencode.o block.o cabac.o configfile.o context_ini.o decoder.o explicit_gop.o fast_me.o filehandle.o fmo.o header.o image.o intrarefresh.o leaky_bucket.o lencod.o loopFilter.o macroblock.o mb_access.o mbuffer.o memalloc.o mv-search.o nal.o nalu.o nalucommon.o output.o parset.o parsetcommon.o q_matrix.o q_offsets.o ratectl.o rdopt.o rdopt_coding_state.o rdpicdecision.o refbuf.o rtp.o sei.o slice.o transform8x8.o vlc.o weighted_prediction.o specrand.o -lm -o h264ref
specmake -j8 options 2> options.err | tee options.out
COMP: gcc -c -o options.o -DSPEC_CPU -DNDEBUG -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 <source>
C: CC="gcc"
C: COBJOPT="-c -o options"
P: CPUFLAGS="-DSPEC_CPU -DNDEBUG"
P: BENCH_FLAGS=""
P: BENCH_CFLAGS=""
O: OPTIMIZE="-O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char"
O: COPTIMIZE="-O2 -fno-strict-aliasing -static"
P: PORTABILITY="-DSPEC_CPU_LP64"
P: CPORTABILITY=""
O: EXTRA_CFLAGS=""
O: EXTRA_OPTIMIZE=""
O: EXTRA_COPTIMIZE=""
P: EXTRA_PORTABILITY=""
P: EXTRA_CPORTABILITY=""
LINK: gcc -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 <objects> -lm -o options
C: LD="gcc"
O: OPTIMIZE="-O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char"
O: COPTIMIZE="-O2 -fno-strict-aliasing -static"
P: PORTABILITY="-DSPEC_CPU_LP64"
C: MATH_LIBS="-lm"
C: LDOUT="-o options"
Building 482.sphinx3 base gcc43-64bit default: (build_base_gcc43-64bit.0000)
specmake -j8 clean 2> make.clean.err | tee make.clean.out
rm -rf *.o an4.log considered.out total_considered.out
find . \( -name \*.o -o -name '*.fppized.f*' -o -name '*.i' -o -name '*.mod' \) -print | xargs rm -rf
rm -rf sphinx_livepretend
rm -rf sphinx_livepretend.exe
rm -rf core
rm -rf
specmake -j8 build 2> make.err | tee make.out
gcc -c -o spec_main_live_pretend.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 spec_main_live_pretend.c
gcc -c -o parse_args_file.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 parse_args_file.c
gcc -c -o live.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 live.c
gcc -c -o agc.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 agc.c
gcc -c -o approx_cont_mgau.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 approx_cont_mgau.c
gcc -c -o ascr.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 ascr.c
gcc -c -o beam.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 beam.c
gcc -c -o bio.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 bio.c
gcc -c -o case.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 case.c
gcc -c -o ckd_alloc.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 ckd_alloc.c
gcc -c -o cmd_ln.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 cmd_ln.c
gcc -c -o cmn.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 cmn.c
gcc -c -o cmn_prior.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 cmn_prior.c
gcc -c -o cont_mgau.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 cont_mgau.c
gcc -c -o dict.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 dict.c
gcc -c -o dict2pid.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 dict2pid.c
gcc -c -o err.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 err.c
gcc -c -o feat.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 feat.c
gcc -c -o fillpen.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 fillpen.c
gcc -c -o glist.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 glist.c
gcc -c -o gs.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 gs.c
gcc -c -o hash.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 hash.c
gcc -c -o heap.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 heap.c
gcc -c -o hmm.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 hmm.c
gcc -c -o io.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 io.c
gcc -c -o kb.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 kb.c
gcc -c -o kbcore.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 kbcore.c
gcc -c -o lextree.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 lextree.c
gcc -c -o lm.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 lm.c
gcc -c -o lmclass.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 lmclass.c
gcc -c -o logs3.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 logs3.c
gcc -c -o mdef.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 mdef.c
gcc -c -o new_fe.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 new_fe.c
gcc -c -o new_fe_sp.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 new_fe_sp.c
gcc -c -o profile.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 profile.c
gcc -c -o specrand.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 specrand.c
gcc -c -o str2words.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 str2words.c
gcc -c -o subvq.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 subvq.c
gcc -c -o tmat.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 tmat.c
gcc -c -o unlimit.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 unlimit.c
gcc -c -o utt.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 utt.c
gcc -c -o vector.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 vector.c
gcc -c -o vithist.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 vithist.c
gcc -c -o wid.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 wid.c
gcc -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 spec_main_live_pretend.o parse_args_file.o live.o agc.o approx_cont_mgau.o ascr.o beam.o bio.o case.o ckd_alloc.o cmd_ln.o cmn.o cmn_prior.o cont_mgau.o dict.o dict2pid.o err.o feat.o fillpen.o glist.o gs.o hash.o heap.o hmm.o io.o kb.o kbcore.o lextree.o lm.o lmclass.o logs3.o mdef.o new_fe.o new_fe_sp.o profile.o specrand.o str2words.o subvq.o tmat.o unlimit.o utt.o vector.o vithist.o wid.o -lm -o sphinx_livepretend
specmake -j8 options 2> options.err | tee options.out
COMP: gcc -c -o options.o -DSPEC_CPU -DNDEBUG -I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 <source>
C: CC="gcc"
C: COBJOPT="-c -o options"
P: CPUFLAGS="-DSPEC_CPU -DNDEBUG"
P: BENCH_FLAGS="-I. -DSPEC_CPU -DHAVE_CONFIG_H -I. -Ilibutil "
P: BENCH_CFLAGS=""
O: OPTIMIZE="-O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char"
O: COPTIMIZE="-O2 -fno-strict-aliasing -static"
P: PORTABILITY="-DSPEC_CPU_LP64"
P: CPORTABILITY=""
O: EXTRA_CFLAGS=""
O: EXTRA_OPTIMIZE=""
O: EXTRA_COPTIMIZE=""
P: EXTRA_PORTABILITY=""
P: EXTRA_CPORTABILITY=""
LINK: gcc -O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char -O2 -fno-strict-aliasing -static -DSPEC_CPU_LP64 <objects> -lm -o options
C: LD="gcc"
O: OPTIMIZE="-O2 -fno-strict-aliasing -static -fno-aggressive-loop-optimizations -fsigned-char"
O: COPTIMIZE="-O2 -fno-strict-aliasing -static"
P: PORTABILITY="-DSPEC_CPU_LP64"
C: MATH_LIBS="-lm"
C: LDOUT="-o options"
Build successes: 464.h264ref(base), 482.sphinx3(base)
Build Complete
The log for this run is in /opt/cpu2006/result/CPU2006.004.log
runspec finished at Fri Jul 21 02:26:31 2023; 18 total seconds elapsed
test alone
464.h264ref (normal within a minute)
root@c6174ae477c2:/opt/cpu2006# runspec -c gcc.cfg -T all 464.h264ref --noreportable
runspec v6674 - Copyright 1999-2011 Standard Performance Evaluation Corporation
Using 'unknown' tools
Reading MANIFEST... 19896 files
Loading runspec modules................
Locating benchmarks...found 31 benchmarks in 6 benchsets.
Reading config file '/opt/cpu2006/config/gcc.cfg'
Running "specperl /opt/cpu2006/Docs/sysinfo" to gather system information.
Use of uninitialized value $who in scalar chomp at /opt/cpu2006/Docs/sysinfo line 1059.
Use of uninitialized value $who in concatenation (.) or string at /opt/cpu2006/Docs/sysinfo line 1060.
Retrieving flags file (/opt/cpu2006/config/flags/Example-gcc4x-flags-revA.xml)...
Retrieving flags file (/opt/cpu2006/config/flags/Example-linux-platform-revA.xml)...
Benchmarks selected: 464.h264ref
Compiling Binaries
Up to date 464.h264ref base gcc43-64bit default
Setting Up Run Directories
Setting up 464.h264ref ref base gcc43-64bit default: created (run_base_ref_gcc43-64bit.0001)
Running Benchmarks
Running (#1) 464.h264ref ref base gcc43-64bit default
/opt/cpu2006/bin/specinvoke -d /opt/cpu2006/benchspec/CPU2006/464.h264ref/run/run_base_ref_gcc43-64bit.0001 -e speccmds.err -o speccmds.stdout -f speccmds.cmd -C -q
482.sphinx3 (normal in a minute)
root@c6174ae477c2:/opt/cpu2006# runspec -c gcc.cfg -T all 482.sphinx3 --noreportable
runspec v6674 - Copyright 1999-2011 Standard Performance Evaluation Corporation
Using 'unknown' tools
Reading MANIFEST... 19896 files
Loading runspec modules................
Locating benchmarks...found 31 benchmarks in 6 benchsets.
Reading config file '/opt/cpu2006/config/gcc.cfg'
Running "specperl /opt/cpu2006/Docs/sysinfo" to gather system information.
Use of uninitialized value $who in scalar chomp at /opt/cpu2006/Docs/sysinfo line 1059.
Use of uninitialized value $who in concatenation (.) or string at /opt/cpu2006/Docs/sysinfo line 1060.
Retrieving flags file (/opt/cpu2006/config/flags/Example-gcc4x-flags-revA.xml)...
Retrieving flags file (/opt/cpu2006/config/flags/Example-linux-platform-revA.xml)...
Benchmarks selected: 482.sphinx3
Compiling Binaries
Up to date 482.sphinx3 base gcc43-64bit default
Setting Up Run Directories
Setting up 482.sphinx3 ref base gcc43-64bit default: created (run_base_ref_gcc43-64bit.0001)
Running Benchmarks
Running (#1) 482.sphinx3 ref base gcc43-64bit default
/opt/cpu2006/bin/specinvoke -d /opt/cpu2006/benchspec/CPU2006/482.sphinx3/run/run_base_ref_gcc43-64bit.0001 -e speccmds.err -o speccmds.stdout -f speccmds.cmd -C -q
should be resolved
retest
Recompile all benchspecs
Due to the previous compilation, other benchmarkspecs are affected. If you do not recompile all projects, an error will be reported
Build errors: 400.perlbench(base; nobuild), 401.bzip2(base; nobuild), 403.gcc(base; nobuild), 410.bwaves(base; nobuild), 416.gamess(base; nobuild), 429.mcf(base; nobuild), 433.milc(base; nobuild), 434.zeusmp(base; nobuild), 435.gromacs(base; nobuild), 436.cactusADM(base; nobuild), 437.leslie3d(base; nobuild), 444.namd(base; nobuild), 445.gobmk(base; nobuild), 447.dealII(base; nobuild), 450.soplex(base; nobuild), 453.povray(base; nobuild), 454.calculix(base; nobuild), 456.hmmer(base; nobuild), 458.sjeng(base; nobuild), 459.GemsFDTD(base; nobuild), 462.libquantum(base; nobuild), 465.tonto(base; nobuild), 470.lbm(base; nobuild), 471.omnetpp(base; nobuild), 473.astar(base; nobuild), 481.wrf(base; nobuild), 483.xalancbmk(base; nobuild), 998.specrand(base; nobuild), 999.specrand(base; nobuild)
ERROR: Not all benchmarks available for reportable run!
compile
runspec -c gcc.cfg --action build -T all int fp
log
Build successes: 400.perlbench(base), 401.bzip2(base), 403.gcc(base), 410.bwaves(base), 416.gamess(base), 429.mcf(base), 433.milc(base), 434.zeusmp(base), 435.gromacs(base), 436.cactusADM(base), 437.leslie3d(base), 444.namd(base), 445.gobmk(base), 447.dealII(base), 450.soplex(base), 453.povray(base), 454.calculix(base), 456.hmmer(base), 458.sjeng(base), 459.GemsFDTD(base), 462.libquantum(base), 465.tonto(base), 470.lbm(base), 471.omnetpp(base), 473.astar(base), 481.wrf(base), 483.xalancbmk(base), 998.specrand(base), 999.specrand(base)
Build Complete
The log for this run is in /opt/cpu2006/result/CPU2006.003.log
runspec finished at Fri Jul 21 02:43:53 2023; 405 total seconds elapsed
runspec.sh
source shrc
ulimit -s unlimited
runspec -c gcc.cfg -T all --nobuild int fp > runspec.log 2>&1 &
tail -f runspec.log