OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004958 [gcc4core] packaging block always 2012-06-12 04:25 2012-06-24 09:38
Reporter tjyang View Status public  
Assigned To dam
Priority normal Resolution fixed  
Status closed  
Summary 0004958: SOS12_CC_HOME setting in .garrc has no effect
Description Not sure why "mgar configure" pick up the compiler which doesn't exist.
Additional Information 1. compiler setting in .garrc

-bash-3.00$ grep CC /export/home/tjyang/.garrc
SOS11_CC_HOME = /opt/SUNWspro
SOS12_CC_HOME = /opt/SUNWspro
-bash-3.00$

-bash-3.00$ ls /opt/SUNWspro
LEGAL-SS12 atd1 contrib examples inventory man sfw
READMEs bin docs include lib prod
-bash-3.00$


2. why above setting still have configure set to "/opt/solarisstudio12.3/" which doen't exist on my soalris 10 x86 build machine ?

-bash-3.00$ grep CC /export/home/tjyang/opencsw/389-ds-base/trunk/work/build-isa-pentium_pro/389-ds-base-1.2.10.7/config.log
configure:3489: /opt/solarisstudio12.3/bin/CC --version >&5
CC: Warning: Option --version passed to ld, if ld is invoked, ignored otherwise
configure:3489: /opt/solarisstudio12.3/bin/CC -v >&5
### CC: Note: NLSPATH = /opt/SUNWspro/prod/bin/../lib/locale/%L/LC_MESSAGES/%N.cat:/opt/SUNWspro/prod/bin/../../lib/locale/%L/LC_MESSAGES/%N.cat
configure:3489: /opt/solarisstudio12.3/bin/CC -V >&5
CC: Sun C++ 5.9 SunOS_i386 2007/05/03
configure:3489: /opt/solarisstudio12.3/bin/CC -qversion >&5
CC: Warning: Option -qversion passed to ld, if ld is invoked, ignored otherwise
configure:3542: /opt/solarisstudio12.3/bin/CC -xO3 -m32 -xarch=pentium_pro -xchip=pentium_pro -m32 -xarch=pentium_pro -xchip=pentium_pro -L/opt/csw/bdb48/lib -L/opt/csw/lib -xnorunpath -norunpath conftest.cpp >&5
CC: Warning: Option -xnorunpath passed to ld, if ld is invoked, ignored otherwise
ac_cv_env_CCASFLAGS_set=
ac_cv_env_CCASFLAGS_value=
ac_cv_env_CCAS_set=
ac_cv_env_CCAS_value=
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=/opt/solarisstudio12.3/bin/cc
ac_cv_env_CXX_value=/opt/solarisstudio12.3/bin/CC
CC='/opt/solarisstudio12.3/bin/cc'
CCAS=''
CCASDEPMODE=''
CCASFLAGS=''
CCDEPMODE=''
CXX='/opt/solarisstudio12.3/bin/CC'
ac_ct_CC=''
am__fastdepCCAS_FALSE=''
am__fastdepCCAS_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
-bash-3.00$
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0009936)
dam (administrator)
2012-06-12 12:46

The reason is because the build recipe to specifically pick the 12.3 compiler:
  http://sourceforge.net/apps/trac/gar/browser/csw/mgar/pkg/389-ds-base/trunk/Makefile#L24 [^]
You should probably talk to Carsten Grzemba on maintainers@ about the reason.
(0009978)
maciej (reporter)
2012-06-24 09:38

Closing, this is not a gcc4core bug. For setting the Studio home directories, see this grep:


> grep studio gar/v2/*.mk
gar.conf.mk: SOS11_CC_HOME ?= /opt/studio/SOS11/SUNWspro
gar.conf.mk: SOS12_CC_HOME ?= /opt/studio/SOS12/SUNWspro
gar.conf.mk:SOS12U1_CC_HOME ?= /opt/studio/sunstudio12.1
gar.conf.mk:SOS12U2_CC_HOME ?= /opt/solstudio12.2
gar.conf.mk:SOS12U3_CC_HOME ?= /opt/solarisstudio12.3


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker