[GE dev] s390x Architecture

uriel01 uriel.carrasquilla at mail.mcgill.ca
Tue Jul 14 21:06:10 BST 2009


    [ The following text is in the "utf-8" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some characters may be displayed incorrectly. ]

> The easiest way to remove the -Werror (gcc's treat warning as error) is to open aimk in your editor, and search for "Werror", and then delete the whole "-Werror" string.

I took the not so easy approach and removed one at time (with replacement) and tried until I found the one that made a difference.
After removing the -Werror that seems to be the valid one, I issue the following command:

--(1603:Tue,14 Jul 09:$)-$ ./aimk -spool-classic -no-secure -no-jni -no-java -no-remote -no-dump  -no-qmake -no-qtcsh -no-qmon -no-gui-inst -no-intl -no-rmon -only-core 

But, unfortunately, I found a new problem (just the last few lines of the new problem):

../libs/spool/flatfile/sge_spooling_flatfile_scanner.l:59:1: warning: "SGE_FUNC" redefined
In file included from ../libs/spool/flatfile/sge_spooling_flatfile_scanner.l:51:
../libs/uti/sge_log.h:66:1: warning: this is the location of the previous definition
gcc -DSGE_ARCH_STRING=\"lx26-s390x\" -O3 -Wall -Wstrict-prototypes -DUSE_POLL -DLINUX -DLINUXS390X -DLINUXS390X_26 -D_GNU_SOURCE -DGETHOSTBYNAME_R6 -DGETHOSTBYADDR_R8  -DHAS_IN_PORT_T -m64 -DNO_SGE_COMPILE_DEBUG -I/off_home/gridengine/db-4.4.20/lx26-s390x/include/ -DTARGET_64BIT  -DSPOOLING_classic  -DNO_JNI -DCOMPILE_DC -D__SGE_NO_USERMAPPING__ -I../common -I../libs -I../libs/uti -I../libs/juti -I../libs/gdi -I../libs/japi -I../libs/sgeobj -I../libs/cull -I../libs/rmon -I../libs/comm -I../libs/comm/lists -I../libs/sched -I../libs/evc -I../libs/evm -I../libs/mir -I../libs/lck -I../daemons/common -I../daemons/qmaster -I../daemons/execd -I../daemons/schedd -I../clients/common -I. -fPIC -c ../libs/spool/classic/read_write_job.c
ar rscv libspoolc.a sge_flatfile.o sge_flatfile_obj.o sge_spooling_flatfile.o sge_spooling_flatfile_scanner.o read_write_job.o 
a - sge_flatfile.o
a - sge_flatfile_obj.o
a - sge_spooling_flatfile.o
a - sge_spooling_flatfile_scanner.o
a - read_write_job.o
echo libspoolc.a \
   && ../scripts/nonreentrant.sh -a `../dist/util/arch` -w libspoolc.a
libspoolc.a
### libspoolc.a
gcc -DSGE_ARCH_STRING=\"lx26-s390x\" -O3 -Wall -Wstrict-prototypes -DUSE_POLL -DLINUX -DLINUXS390X -DLINUXS390X_26 -D_GNU_SOURCE -DGETHOSTBYNAME_R6 -DGETHOSTBYADDR_R8  -DHAS_IN_PORT_T -m64 -DNO_SGE_COMPILE_DEBUG -I/off_home/gridengine/db-4.4.20/lx26-s390x/include/ -DTARGET_64BIT  -DSPOOLING_classic  -DNO_JNI -DCOMPILE_DC -D__SGE_NO_USERMAPPING__ -I../common -I../libs -I../libs/uti -I../libs/juti -I../libs/gdi -I../libs/japi -I../libs/sgeobj -I../libs/cull -I../libs/rmon -I../libs/comm -I../libs/comm/lists -I../libs/sched -I../libs/evc -I../libs/evm -I../libs/mir -I../libs/lck -I../daemons/common -I../daemons/qmaster -I../daemons/execd -I../daemons/schedd -I../clients/common -I. -c ../libs/spool/flatfile/test_sge_spooling_flatfile.c
gcc -DSGE_ARCH_STRING=\"lx26-s390x\" -O3 -Wall -Wstrict-prototypes -DUSE_POLL -DLINUX -DLINUXS390X -DLINUXS390X_26 -D_GNU_SOURCE -DGETHOSTBYNAME_R6 -DGETHOSTBYADDR_R8  -DHAS_IN_PORT_T -m64 -DNO_SGE_COMPILE_DEBUG -I/off_home/gridengine/db-4.4.20/lx26-s390x/include/ -DTARGET_64BIT  -DSPOOLING_classic  -DNO_JNI -DCOMPILE_DC -D__SGE_NO_USERMAPPING__ -I../common -I../libs -I../libs/uti -I../libs/juti -I../libs/gdi -I../libs/japi -I../libs/sgeobj -I../libs/cull -I../libs/rmon -I../libs/comm -I../libs/comm/lists -I../libs/sched -I../libs/evc -I../libs/evm -I../libs/mir -I../libs/lck -I../daemons/common -I../daemons/qmaster -I../daemons/execd -I../daemons/schedd -I../clients/common -I. -c ../common/sge_mt_init.c
gcc -DSGE_ARCH_STRING=\"lx26-s390x\" -O3 -Wall -Wstrict-prototypes -DUSE_POLL -DLINUX -DLINUXS390X -DLINUXS390X_26 -D_GNU_SOURCE -DGETHOSTBYNAME_R6 -DGETHOSTBYADDR_R8  -DHAS_IN_PORT_T -m64 -DNO_SGE_COMPILE_DEBUG -I/off_home/gridengine/db-4.4.20/lx26-s390x/include/ -DTARGET_64BIT  -DSPOOLING_classic  -DNO_JNI -DCOMPILE_DC -D__SGE_NO_USERMAPPING__ -I../common -I../libs -I../libs/uti -I../libs/juti -I../libs/gdi -I../libs/japi -I../libs/sgeobj -I../libs/cull -I../libs/rmon -I../libs/comm -I../libs/comm/lists -I../libs/sched -I../libs/evc -I../libs/evm -I../libs/mir -I../libs/lck -I../daemons/common -I../daemons/qmaster -I../daemons/execd -I../daemons/schedd -I../clients/common -I. -fPIC -c ../libs/sched/sge_select_queue.c
../libs/sched/sge_select_queue.c: In function â:
../libs/sched/sge_select_queue.c:4174: warning: implicit declaration of function â
../libs/sched/sge_select_queue.c:4174: error: â undeclared (first use in this function)
../libs/sched/sge_select_queue.c:4174: error: (Each undeclared identifier is reported only once
../libs/sched/sge_select_queue.c:4174: error: for each function it appears in.)
../libs/sched/sge_select_queue.c:4174: error: â undeclared (first use in this function)
make: *** [sge_select_queue.o] Error 1
not done

------------------------------------------------------
http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=39&dsMessageId=207177

To unsubscribe from this discussion, e-mail: [dev-unsubscribe at gridengine.sunsource.net].



More information about the gridengine-users mailing list