Opened 11 years ago

Last modified 9 years ago

#623 new defect

IZ2880: error building with -shared-libs on Linux(SL/RHEL) 5.2

Reported by: jdprasad Owned by:
Priority: normal Milestone:
Component: sge Version: 6.2u1
Severity: Keywords: Linux build
Cc:

Description

[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=2880]

        Issue #:      2880             Platform:     Other    Reporter: jdprasad (jdprasad)
       Component:     gridengine          OS:        Linux
     Subcomponent:    build            Version:      6.2u1       CC:    None defined
        Status:       NEW              Priority:     P3
      Resolution:                     Issue type:    DEFECT
                                   Target milestone: ---
      Assigned to:    andreas (andreas)
      QA Contact:     andreas
          URL:
       * Summary:     error building with -shared-libs on Linux(SL/RHEL) 5.2
   Status whiteboard:
      Attachments:

     Issue 2880 blocks:
   Votes for issue 2880:


   Opened: Fri Jan 16 02:59:00 -0700 2009 
------------------------


SOURCE: sge-V62u1_TAG-src.tar.gz

cd gridengine/source
STEP1
./aimk -no-secure -spool-classic -only-depend -no-dump -no-java -no-jni
STEP2
./scripts/zerodepend
STEP3
./aimk -no-secure -spool-classic -no-java -no-dump -no-jni depend
STEP4
./aimk -no-secure -spool-classic -no-java -no-dump -no-jni -no-qtcsh -shared-libs

In step4 (while building the core system)
it fails at this point:
gcc -O3 -Wall -Wstrict-prototypes -D__GRIDENGINE_FD_SETSIZE=8192 -DLINUX
-DLINUXAMD64 -DLINUXAMD64_26 -D_GNU_SOURCE -DGETHOSTBYNAME_R6 -DGETHOSTBYADDR_R8
-I/include/ -DSGE_ARCH_STRING=lx26-amd64 -DTARGET_64BIT -DSPOOLING_classic
-Wno-strict-aliasing -DNO_JNI -DCOMPILE_DC -D__SGE_COMPILE_WITH_GETTEXT__
-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/sgeobj/test_​sge_object.c
gcc -O3 -Wall -Wstrict-prototypes -D__GRIDENGINE_FD_SETSIZE=8192 -DLINUX
-DLINUXAMD64 -DLINUXAMD64_26 -D_GNU_SOURCE -DGETHOSTBYNAME_R6 -DGETHOSTBYADDR_R8
-I/include/ -DSGE_ARCH_STRING=lx26-amd64 -DTARGET_64BIT -DSPOOLING_classic
-Wno-strict-aliasing -DNO_JNI -DCOMPILE_DC -D__SGE_COMPILE_WITH_GETTEXT__
-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. -o
test_sge_object -L/lib/ -L. -rdynamic -Wl,-rpath,\$ORIGI​N/../../lib/lx26-amd​64
test_sge_object.o libsgeobj.so libsgeobjd.so libcull.so libcomm.so
libcommlists.so libuti.so librmon.so -ldl liblck.so -lm -lpthread
libsgeobjd.so: undefined reference to `GE_SHORTNAME'
libsgeobjd.so: undefined reference to `GDI_VERSION'
libsgeobj.so: undefined reference to `sge_gdi2_send_any_request'
libsgeobjd.so: undefined reference to `GE_LONGNAME'
collect2: ld returned 1 exit status
make: *** [test_sge_object] Error 1

   ------- Additional comments from crei Wed Jan 28 09:07:53 -0700 2009 -------
I can reproduce this on
cat /etc/redhat-release

Red Hat Enterprise Linux Server release 5.2 (Tikanga)

   ------- Additional comments from crei Fri Feb 27 02:57:37 -0700 2009 -------
another problem for -no-secure

   ------- Additional comments from crei Fri Feb 27 02:59:27 -0700 2009 -------
another problem for -no-secure : issue 2610

Change History (0)

Note: See TracTickets for help on using tickets.