Experimental Physics and
| |||||||||||||||
|
Hello Jeff, concerning the optimization level: The optimization -O3 had to be replaced by -Os or the default -O0 to be able to compile.Typically changing the optimization level has an impact only on the object It is case (A): Here the outcome of a complete make distclean && make rebuild for all levels (I replaced the paths by <path> symbols) Summary: cases 1-3 fail, at the same place (not knowing the templates??) cases 4-5 compile 1) optimization -O3: <CROSS_COMPILER>/bin/cris-axis-linux-gnu-g++ -c -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500 -D_cris_ -mlinux -DUNIX -D_BSD_SOURCE -Dlinux-D_REENTRANT -ansi -O3 -Wall -mno-mul-bug-workaround -march=v10 -g -mlinux -I. -I.. -I../../../include/os/Linux -I../../../include -isystem <CROSS_COMPILER_INCLUDE>/cris-axis-linux-gnu/include -isystem <CROSS_COMPILER_INCLUDE>/cris-axis-linux-gnu/usr/include ../casw.cpp In file included from ../../../include/osiWireFormat.h:265, from ../casw.cpp:28: ../../../include/os/Linux/osdWireFormat.h:67:5: warning: #warning little endian defined In file included from ../udpiiu.h:49, from ../casw.cpp:31: ../repeaterSubscribeTimer.h:41: parse error before `&' token In file included from ../casw.cpp:31: ../udpiiu.h:260: parse error before `&' token make[3]: *** [casw.o] Error 1 make[3]: Leaving directory `<EPICS_HOME>/base-3.14.9/src/ca/O.linux-cris_v10' make[2]: *** [install.linux-cris_v10] Error 2 make[2]: Leaving directory `<EPICS_HOME>/base-3.14.9/src/ca' make[1]: *** [ca.install] Error 2 make[1]: Leaving directory `<EPICS_HOME>/base-3.14.9/src' make: *** [src.install] Error 2 2) optimization -O2: <CROSS_COMPILER>/bin/cris-axis-linux-gnu-g++ -c -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500 -D_cris_ -mlinux -DUNIX -D_BSD_SOURCE -Dlinux-D_REENTRANT -ansi -O2 -Wall -mno-mul-bug-workaround -march=v10 -g -mlinux -I. -I.. -I../../../include/os/Linux -I../../../include -isystem <CROSS_COMPILER_INCLUDE>/cris-axis-linux-gnu/include -isystem <CROSS_COMPILER_INCLUDE>/cris-axis-linux-gnu/usr/include ../casw.cpp In file included from ../../../include/osiWireFormat.h:265, from ../casw.cpp:28: ../../../include/os/Linux/osdWireFormat.h:67:5: warning: #warning little endian defined In file included from ../udpiiu.h:49, from ../casw.cpp:31: ../repeaterSubscribeTimer.h:41: parse error before `&' token In file included from ../casw.cpp:31: ../udpiiu.h:260: parse error before `&' token make[3]: *** [casw.o] Error 1 make[3]: Leaving directory `<EPICS_HOME>/base-3.14.9/src/ca/O.linux-cris_v10' make[2]: *** [install.linux-cris_v10] Error 2 make[2]: Leaving directory `<EPICS_HOME>/base-3.14.9/src/ca' make[1]: *** [ca.install] Error 2 make[1]: Leaving directory `<EPICS_HOME>/base-3.14.9/src' make: *** [src.install] Error 2 3) optimization -O1: <CROSS_COMPILER>/bin/cris-axis-linux-gnu-g++ -c -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500 -D_cris_ -mlinux -DUNIX -D_BSD_SOURCE -Dlinux-D_REENTRANT -ansi -O1 -Wall -mno-mul-bug-workaround -march=v10 -g -mlinux -I. -I.. -I../../../include/os/Linux -I../../../include -isystem <CROSS_COMPILER_INCLUDE>/cris-axis-linux-gnu/include -isystem <CROSS_COMPILER_INCLUDE>/cris-axis-linux-gnu/usr/include ../casw.cpp In file included from ../../../include/osiWireFormat.h:265, from ../casw.cpp:28: ../../../include/os/Linux/osdWireFormat.h:67:5: warning: #warning little endian defined In file included from ../udpiiu.h:49, from ../casw.cpp:31: ../repeaterSubscribeTimer.h:41: parse error before `&' token In file included from ../casw.cpp:31: ../udpiiu.h:260: parse error before `&' token make[3]: *** [casw.o] Error 1 make[3]: Leaving directory `<EPICS_HOME>/base-3.14.9/src/ca/O.linux-cris_v10' make[2]: *** [install.linux-cris_v10] Error 2 make[2]: Leaving directory `<EPICS_HOME>/base-3.14.9/src/ca' make[1]: *** [ca.install] Error 2 make[1]: Leaving directory `<EPICS_HOME>/base-3.14.9/src' make: *** [src.install] Error 2 4) optimization -00 (no problem) <CROSS_COMPILER>/bin/cris-axis-linux-gnu-g++ -c -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500 -D_cris_ -mlinux -DUNIX -D_BSD_SOURCE -Dlinux-D_REENTRANT -ansi -O0 -Wall -mno-mul-bug-workaround -march=v10 -g -mlinux -I. -I.. -I../../../include/os/Linux -I../../../include -isystem <CROSS_COMPILER_INCLUDE>/cris-axis-linux-gnu/include -isystem <CROSS_COMPILER_INCLUDE>/cris-axis-linux-gnu/usr/include ../casw.cpp In file included from ../../../include/osiWireFormat.h:265, from ../casw.cpp:28: ../../../include/os/Linux/osdWireFormat.h:67:5: warning: #warning little endian defined 5) optimization -0s (no problem) <CROSS_COMPILER>/bin/crisv32-axis-linux-gnu-g++ -c -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500 -D_cris_ -mlinux -DUNIX -D_BSD_SOURCE -Dlinux -D_REENTRANT -ansi -Os -Wall -mno-mul-bug-workaround -march=v32 -g -mlinux -I. -I.. -I../../../include/os/Linux -I../../../include -isystem <CROSS_COMPILER_INCLUDE>/crisv32-axis-linux-gnu/include -isystem <CROSS_COMPILER_INCLUDE>/crisv32-axis-linux-gnu/usr/include ../casw.cpp In file included from ../../../include/osiWireFormat.h:265, from ../casw.cpp:28: ../../../include/os/Linux/osdWireFormat.h:67:5: warning: #warning little endian defined A colleague stated in an earlier test: " you cannot overload system function(fprintf) as the class method, if you turn on -03". I haven't checked this statement yet, but take it as a possible hint. Best regards, Peter -- Dr. Peter W. Zumbruch EE - department / Controls group / GSI E-Mail: [email protected] Tel: +49-(6159)-71-1435 / Fax: +49-(6159)-71-2986 Gesellschaft fÃr Schwerionenforschung mbH PlanckstraÃe 1 / D-64291 Darmstadt / www.gsi.de Gesellschaft mit beschrÃnkter Haftung Sitz der Gesellschaft: Darmstadt Handelsregister: Amtsgericht Darmstadt, HRB 1528 GeschÃftsfÃhrer: Professor Dr. Horst StÃcker, Dr. Alexander Kurz Vorsitzende des Aufsichtsrates: Dr. Beatrix Vierkorn-Rudolph, Stellvertreter: Ministerialdirigent Dr. Rolf Bernhardt
| ||||||||||||||
ANJ, 10 Nov 2011 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |