Skip to content

Instantly share code, notes, and snippets.

@abhijangda
Created September 25, 2017 16:23
Show Gist options
  • Select an option

  • Save abhijangda/e194f3a4de478aa296e68a61db795a2b to your computer and use it in GitHub Desktop.

Select an option

Save abhijangda/e194f3a4de478aa296e68a61db795a2b to your computer and use it in GitHub Desktop.
[ubuntu@abhinav /opt/SPEC_CPU2006v1.2]$ runspec --rebuild --tune=base --config=Example-linux64-amd64-gcc43+.cfg --noreportable --iterations=1 perlbench
runspec v6674 - Copyright 1999-2011 Standard Performance Evaluation Corporation
Using 'linux-suse10-amd64' tools
Reading MANIFEST... 22481 files
Loading runspec modules................
Locating benchmarks...found 31 benchmarks in 6 benchsets.
=============================================================================
Warning: You appear to be using one of the config files that is supplied
with the SPEC CPU2006 distribution. This can be a fine way to get started.
Each config file was developed for a specific combination of compiler / OS /
hardware. If your platform uses different versions of the software or
hardware listed, or operates in a different mode (e.g. 32- vs. 64-bit mode),
there is the possibility that this configuration file may not work as-is. If
problems arise please see the technical support file at
http://www.spec.org/cpu2006/Docs/techsupport.html
A more recent config file for your platform may be among result submissions at
http://www.spec.org/cpu2006/
Generally, issues with compilation should be directed to the compiler vendor.
You can find hints about how to debug problems by looking at the section on
"Troubleshooting" in
http://www.spec.org/cpu2006/Docs/config.html
This warning will go away if you rename your config file to something other
than one of the names of the presupplied config files.
==================== The run will continue in 30 seconds ====================
Reading config file '/opt/SPEC_CPU2006v1.2/config/Example-linux64-amd64-gcc43+.cfg'
Running "specperl /opt/SPEC_CPU2006v1.2/Docs/sysinfo" to gather system information.
Retrieving flags file (/opt/SPEC_CPU2006v1.2/config/flags/Example-gcc4x-flags-revA.xml)...
Retrieving flags file (/opt/SPEC_CPU2006v1.2/config/flags/Example-linux-platform-revA.xml)...
Benchmarks selected: 400.perlbench
Compiling Binaries
Building 400.perlbench base gcc43-64bit default: (build_base_gcc43-64bit.0001)
specmake clean 2> make.clean.err | tee make.clean.out
rm -rf *.o diffmail.2.550.15.24.23.100.out perfect.b.3.out scrabbl.out splitmail.535.13.25.24.1091.out suns.out validate
find . \( -name \*.o -o -name '*.fppized.f*' -o -name '*.i' -o -name '*.mod' \) -print | xargs rm -rf
rm -rf perlbench
rm -rf perlbench.exe
rm -rf core
rm -rf
specmake build 2> make.err | tee make.out
/usr/bin/gcc -c -o av.o -DSPEC_CPU -DNDEBUG -DPERL_CORE -O2 -fno-strict-aliasing -DSPEC_CPU_LP64 -DSPEC_CPU_LINUX_X64 av.c
In file included from /usr/include/stdio.h:936:0,
from perlio.h:65,
from iperlsys.h:51,
from perl.h:2585,
from av.c:22:
/usr/include/x86_64-linux-gnu/bits/stdio2.h: In function 'sprintf':
/usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: error: invalid use of '__builtin_va_arg_pack ()'
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/stdio2.h: In function 'snprintf':
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: error: invalid use of '__builtin_va_arg_pack ()'
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/stdio2.h: In function 'fprintf':
/usr/include/x86_64-linux-gnu/bits/stdio2.h:97:10: error: invalid use of '__builtin_va_arg_pack ()'
return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__va_arg_pack ());
~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/stdio2.h: In function 'printf':
/usr/include/x86_64-linux-gnu/bits/stdio2.h:104:10: error: invalid use of '__builtin_va_arg_pack ()'
return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/stdio2.h: In function 'dprintf':
/usr/include/x86_64-linux-gnu/bits/stdio2.h:141:10: error: invalid use of '__builtin_va_arg_pack ()'
return __dprintf_chk (__fd, __USE_FORTIFY_LEVEL - 1, __fmt,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__va_arg_pack ());
~~~~~~~~~~~~~~~~~
In file included from /usr/include/features.h:367:0,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from perl.h:384,
from av.c:22:
/usr/include/x86_64-linux-gnu/bits/fcntl2.h: In function 'open':
/usr/include/x86_64-linux-gnu/bits/fcntl2.h:43:7: error: invalid use of '__builtin_va_arg_pack_len ()'
if (__va_arg_pack_len () > 1)
^
cc1: error: invalid use of '__builtin_va_arg_pack_len ()'
In file included from /usr/include/fcntl.h:289:0,
from /usr/include/x86_64-linux-gnu/sys/file.h:24,
from perl.h:4500,
from av.c:22:
/usr/include/x86_64-linux-gnu/bits/fcntl2.h:59:10: error: invalid use of '__builtin_va_arg_pack ()'
return __open_alias (__path, __oflag, __va_arg_pack ());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/features.h:367:0,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from perl.h:384,
from av.c:22:
/usr/include/x86_64-linux-gnu/bits/fcntl2.h: In function 'openat':
/usr/include/x86_64-linux-gnu/bits/fcntl2.h:119:7: error: invalid use of '__builtin_va_arg_pack_len ()'
if (__va_arg_pack_len () > 1)
^
cc1: error: invalid use of '__builtin_va_arg_pack_len ()'
In file included from /usr/include/fcntl.h:289:0,
from /usr/include/x86_64-linux-gnu/sys/file.h:24,
from perl.h:4500,
from av.c:22:
/usr/include/x86_64-linux-gnu/bits/fcntl2.h:135:10: error: invalid use of '__builtin_va_arg_pack ()'
return __openat_alias (__fd, __path, __oflag, __va_arg_pack ());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
specmake: *** [av.o] Error 1
Error with make 'specmake build': check file '/opt/SPEC_CPU2006v1.2/benchspec/CPU2006/400.perlbench/build/build_base_gcc43-64bit.0001/make.err'
Command returned exit code 2
Error with make!
*** Error building 400.perlbench
Build errors: 400.perlbench(base; CE)
Setting Up Run Directories
Running Benchmarks
Error: 1x400.perlbench
Producing Raw Reports
mach: default
ext: gcc43-64bit
size: ref
set: int
format: raw -> /opt/SPEC_CPU2006v1.2/result/CINT2006.035.ref.rsf
Doing flag reduction: done
format: flags -> /opt/SPEC_CPU2006v1.2/result/CINT2006.035.ref.flags.html
format: ASCII -> /opt/SPEC_CPU2006v1.2/result/CINT2006.035.ref.txt
format: CSV -> /opt/SPEC_CPU2006v1.2/result/CINT2006.035.ref.csv
format: HTML -> /opt/SPEC_CPU2006v1.2/result/CINT2006.035.ref.html, /opt/SPEC_CPU2006v1.2/result/CINT2006.035.ref.gif
set: fp
The log for this run is in /opt/SPEC_CPU2006v1.2/result/CPU2006.035.log
The debug log for this run is in /opt/SPEC_CPU2006v1.2/result/CPU2006.035.log.debug
runspec finished at Mon Sep 25 16:22:39 2017; 34 total seconds elapsed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment