Opened 12 years ago

Closed 9 years ago

#384 closed defect (fixed)

IZ2115: Solaris/workshop-cc-ism incomptable to gcc in 3rdparty/qtcsh/configure*

Reported by: hintak Owned by:
Priority: normal Milestone:
Component: sge Version: 6.0u9
Severity: minor Keywords: build Linux clients
Cc:

Description

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

        Issue #:      2115             Platform:     All      Reporter: hintak (hintak)
       Component:     gridengine          OS:        Linux
     Subcomponent:    clients          Version:      6.0u9       CC:    None defined
        Status:       NEW              Priority:     P3
      Resolution:                     Issue type:    DEFECT
                                   Target milestone: ---
      Assigned to:    roland (roland)
      QA Contact:     roland
          URL:
       * Summary:     Solaris/workshop-cc-ism incomptable to gcc in 3rdparty/qtcsh/configure*
   Status whiteboard:
      Attachments:
                      Date/filename:                                   Description:                                     Submitted by:
                      Tue Nov 21 09:03:00 -0700 2006: qmon-nojni.patch patch to exclude /usr as JAVA_HOME. (text/plain) hintak

     Issue 2115 blocks:
   Votes for issue 2115:


   Opened: Fri Nov 17 07:47:00 -0700 2006 
------------------------


./configure and configure.in in 3rdparty/qtcsh passes -R<lib>
to the compiler indiscriminantly. This is a sun-workshop compiler specific
switch, and gcc has no knownlege of it. (and flags a warning; coupled
with -Werror reported in issue 2112, resulted in failed compilation)
========
$grep 'GRDLIB' 3rdparty/qtcsh/*
3rdparty/qtcsh/configure:   GRDLIB="-L../../../$grd
-R${SGE_ROOT}/lib/${SGE_ARCH} \$(SGE_LIBS) ${LDFLAGS}"
3rdparty/qtcsh/configure:s,@GRDLIB@,$GRDLIB,;t t
3rdparty/qtcsh/configure.in:   GRDLIB="-L../../../$grd
-R${SGE_ROOT}/lib/${SGE_ARCH} \$(SGE_LIBS) ${LDFLAGS}"
3rdparty/qtcsh/configure.in:AC_SUBST(GRDLIB)
3rdparty/qtcsh/Makefile.in:EXTRALIBS = @HESLIB@ $(AFSLIB) @GRDLIB@
=========

suggest fix is as outlined in issue 2090, although this is not the same
issue (i.e. test for the compiler being gcc and
passes "-Wl,-rpath,<lib>" instead, when the compiler is gcc)

   ------- Additional comments from hintak Tue Nov 21 09:03:15 -0700 2006 -------
Created an attachment (id=88)
patch to exclude /usr as JAVA_HOME.

   ------- Additional comments from hintak Tue Nov 21 09:05:07 -0700 2006 -------
Sorry, the patch was meant for issue 2114.

Attachments (1)

88 (750 bytes) - added by dlove 9 years ago.

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by dlove

comment:1 Changed 9 years ago by dlove

  • Keywords build added; removed
  • Resolution set to fixed
  • Severity set to minor
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.