Topic
No replies
Brad.Elkin
Brad.Elkin
4 Posts
ACCEPTED ANSWER

Pinned topic compiling 471.omnetpp and 483.xalancbmk : xlC+native gcc vs xlC+at5.0.4 gcc

‏2012-05-22T15:28:15Z |
I am working on getting these two SPECcpu2006 applications built with the XL and AT5 compiler tool. I used the kit12 for my starting point. I installed AT 5.0.4 (internal release candidate)and used at-create-ibmcmp-cfg.sh to create config files for vac and xlf (I only use the vac config file). See attachment.
Building with the native gcc (4.4.6) and with xlC + native gcc was successful; both also had successful passes through fdprpro and succeeded in completing the benchmark runs.
However, when I tried to use xlC with AT5, I got the following error:

/opt/ibmcmp/vacpp/11.1/bin/xlC -F /opt/at5.0/scripts/vac-11_1-AT5_0.dfp.cfg -c -o EtherAppCli.o -DSPEC_CPU -DNDEBUG -I. -Iomnet_include -Ilibs/envir -O4 -qarch=pwr7 -qtune=pwr7 -qipa=threads -qrtti EtherAppCli.cc
/opt/ibmcmp/vacpp/11.1/bin/.orig/xlC: 1501-274 (W) An incompatible level of gcc has been specified.
"/opt/at5.0/lib/gcc/powerpc64-linux/4.6.4/../../../../include/c++/4.6.4/powerpc64-linux/32/bits/gthr-default.h", line 243.31: 1540-0825 (W) The character "#" is not allowed.
"/opt/at5.0/lib/gcc/powerpc64-linux/4.6.4/../../../../include/c++/4.6.4/powerpc64-linux/32/bits/gthr-default.h", line 248.1: 1540-0825 (W) The character "#" is not allowed.
"/opt/at5.0/lib/gcc/powerpc64-linux/4.6.4/../../../../include/c++/4.6.4/powerpc64-linux/32/bits/gthr-default.h", line 250.1: 1540-0825 (W) The character "#" is not allowed.
"omnet_include/cpar.h", line 273.15: 1540-1608 (W) An anonymous union should only define non-static data members.
"omnet_include/cpar.h", line 274.15: 1540-1608 (W) An anonymous union should only define non-static data members.
"omnet_include/cpar.h", line 275.15: 1540-1608 (W) An anonymous union should only define non-static data members.
"omnet_include/cpar.h", line 276.15: 1540-1608 (W) An anonymous union should only define non-static data members.
"omnet_include/cpar.h", line 277.15: 1540-1608 (W) An anonymous union should only define non-static data members.
"omnet_include/cpar.h", line 279.15: 1540-1608 (W) An anonymous union should only define non-static data members.
"omnet_include/cpar.h", line 280.15: 1540-1608 (W) An anonymous union should only define non-static data members.
"omnet_include/cpar.h", line 281.15: 1540-1608 (W) An anonymous union should only define non-static data members.
"omnet_include/cpar.h", line 282.15: 1540-1608 (W) An anonymous union should only define non-static data members.
"omnet_include/cpar.h", line 283.15: 1540-1608 (W) An anonymous union should only define non-static data members.
"omnet_include/cpar.h", line 287.15: 1540-1608 (W) An anonymous union should only define non-static data members.
"/opt/at5.0/lib/gcc/powerpc64-linux/4.6.4/../../../../include/c++/4.6.4/powerpc64-linux/32/bits/gthr-default.h", line 243.32: 1540-0040 (S) The text "ifndef" is unexpected. "_gthrw" may be undeclared or ambiguous.
"/opt/at5.0/lib/gcc/powerpc64-linux/4.6.4/../../../../include/c++/4.6.4/powerpc64-linux/32/bits/gthr-default.h", line 75.10: 1540-2407 (I) The local macro "_gthrw" is not visible in the current source.
"/opt/at5.0/lib/gcc/powerpc64-linux/4.6.4/../../../../include/c++/4.6.4/ext/atomicity.h", line 51.14: 1540-0130 (S) "__volatile" is not declared.
"/opt/at5.0/lib/gcc/powerpc64-linux/4.6.4/../../../../include/c++/4.6.4/ext/atomicity.h", line 63.14: 1540-0130 (S) "__volatile" is not declared.
"/opt/at5.0/lib/gcc/powerpc64-linux/4.6.4/../../../../include/c++/4.6.4/ext/atomicity.h", line 73.7: 1540-0130 (S) "__volatile" is not declared.
make: *** http://EtherAppCli.o Error 1

This looks like a configuration error - in the sense that the built-in functions being complained about are understood by gcc 4.6.4 (the AT5 version), but not by gcc 4.4.6 (the native version).

Did I misconfigure AT5?