[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference smurf::buildhelp

Title:USG buildhelp questions/answers
Moderator:SMURF::FILTER
Created:Mon Apr 26 1993
Last Modified:Mon Jan 20 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2763
Total number of notes:5802

1673.0. "rc_files/local doesn t apply in ptos?" by AOSG::FILTER (Automatic Posting Software - mail to flume::puck) Mon Aug 14 1995 10:57

Date Of Receipt: 	11-AUG-1995 10:48:59.51
From: 	SMURF::ALPHA::gillett "Christopher Gillett USG  11-Aug-1995 1047"
To: 	[email protected]
CC: 	[email protected], gillett@DEC:.zko.alpha
Subj: 	rc_files/local doesn't apply in ptos?

I noticed yesterday that, in the ptos pool, modifying 
rc_files/local to set up an alternate COMP_HOST_ROOT and 
COMP_TARGET_ROOT doesn't appear to work.  However, the same 
exercise in the ptlite pool appears to work just fine.
Here's the scenario:

I was trying to build the assembler in a sandbox backed by
ptos yesterday.  I was attempting to do a bootstrap of the
assembler using the assembler I had just built.
rc_files/local was modified to look like this:

# 
# @DEC_COPYRIGHT@
#
# HISTORY
# $Log: local.tmpl,v $
# Revision 1.2  91/11/25  19:18:24  devbld_zk3
#       Baselevel AG_BL0
# 
# Revision 1.1.2.3  91/09/22  10:39:53  David_Snow
#       Reconciled ODE standard rc_files with TIN rc_files
#       [91/09/22  10:36:50  David_Snow]
# 
# Revision 1.1.2.2  91/09/22  09:36:27  David_Snow
#       mksubmit version with *_cover changed
#       [91/09/22  09:02:58  David_Snow]
# 
# $EndLog$
# 
include ./shared
replace setenv OBJECTDIR ../obj/${target_machine}
replace setenv INCDIRS ${INCDIRS}
replace setenv LIBDIRS ${LIBDIRS}
replace setenv SHLIBDIRS ${SHLIBDIRS}
replace setenv COMP_HOST_ROOT /projects/gillett-bl8-pool
replace setenv COMP_TARGET_ROOT /projects/gillett-bl8-pool

I modified standard.mk to do compiles in verbose mode (-v) so
that I could observe the different passes running.  When the
assembler was invoked (during a pascal compiler), the assembler
in the area /projects/gillett-bl8-pool didn't run; instead,
the assembler in the default tools area ran.

Trying the same experiment in a sandbox backed by ptlite worked
the way I would have expected:  the assembler that ran came
from the gillett-bl8-pool area.

This is confusing since we routinely modify rc_files/local to 
verify the integrity of compiler fixes by boostrapping the
different components with themselves.  I assume that I'm doing
something stupid and you can set me straight.  Thanks for 
any help.

Chris


T.RTitleUserPersonal
Name
DateLines
1673.1Re: rc_files/local doesn t apply in ptos?AOSG::FILTERAutomatic Posting Software - mail to flume::puckMon Aug 14 1995 11:0184
Date Of Receipt: 	11-AUG-1995 11:30:36.50
From: 	SMURF::FLUME::jmf "Joshua M. Friedman OSF/UNIX SDE  11-Aug-1995 1129"
To: 	gillett@DEC:.zko.flume
CC: 	[email protected], [email protected], mario@DEC:.zko.flume
Subj: 	Re: rc_files/local doesn't apply in ptos?

Chris, type 'sbinfo' and look at the output; I suspect COMP_HOST_ROOT
was reset, but all the dependent variables weren't.  We have a file
in the backingtree's rc_files you can include to reset the rest of
the required settings; try this; also instead of modifying 'local'
which get's regenerated by 'resb', you can create the file 'custom'
(if it's found it's used intead of local):

custom:
-------
include ./local
replace setenv COMP_HOST_ROOT /projects/gillett-bl8-pool
replace setenv COMP_TARGET_ROOT /projects/gillett-bl8-pool
include ../link/rc_files/custom.build

Try that (check sbinfo as is now and after putting in place 'custom').

-josh


> 
> I noticed yesterday that, in the ptos pool, modifying 
> rc_files/local to set up an alternate COMP_HOST_ROOT and 
> COMP_TARGET_ROOT doesn't appear to work.  However, the same 
> exercise in the ptlite pool appears to work just fine.
> Here's the scenario:
> 
> I was trying to build the assembler in a sandbox backed by
> ptos yesterday.  I was attempting to do a bootstrap of the
> assembler using the assembler I had just built.
> rc_files/local was modified to look like this:
> 
> # 
> # @DEC_COPYRIGHT@
> #
> # HISTORY
> # $Log: local.tmpl,v $
> # Revision 1.2  91/11/25  19:18:24  devbld_zk3
> #       Baselevel AG_BL0
> # 
> # Revision 1.1.2.3  91/09/22  10:39:53  David_Snow
> #       Reconciled ODE standard rc_files with TIN rc_files
> #       [91/09/22  10:36:50  David_Snow]
> # 
> # Revision 1.1.2.2  91/09/22  09:36:27  David_Snow
> #       mksubmit version with *_cover changed
> #       [91/09/22  09:02:58  David_Snow]
> # 
> # $EndLog$
> # 
> include ./shared
> replace setenv OBJECTDIR ../obj/${target_machine}
> replace setenv INCDIRS ${INCDIRS}
> replace setenv LIBDIRS ${LIBDIRS}
> replace setenv SHLIBDIRS ${SHLIBDIRS}
> replace setenv COMP_HOST_ROOT /projects/gillett-bl8-pool
> replace setenv COMP_TARGET_ROOT /projects/gillett-bl8-pool
> 
> I modified standard.mk to do compiles in verbose mode (-v) so
> that I could observe the different passes running.  When the
> assembler was invoked (during a pascal compiler), the assembler
> in the area /projects/gillett-bl8-pool didn't run; instead,
> the assembler in the default tools area ran.
> 
> Trying the same experiment in a sandbox backed by ptlite worked
> the way I would have expected:  the assembler that ran came
> from the gillett-bl8-pool area.
> 
> This is confusing since we routinely modify rc_files/local to 
> verify the integrity of compiler fixes by boostrapping the
> different components with themselves.  I assume that I'm doing
> something stupid and you can set me straight.  Thanks for 
> any help.
> 
> Chris
> 



1673.2Re: rc_files/local doesn t apply in ptos?AOSG::FILTERAutomatic Posting Software - mail to flume::puckMon Aug 14 1995 11:3215
Date Of Receipt: 	11-AUG-1995 13:36:52.37
From: 	SMURF::WASTED::gillett "Christopher Gillett USG  11-Aug-1995 1335"
To: 	"Joshua M. Friedman, OSF/UNIX SDE 381-1548" <jmf@DEC:.zko.wasted>
CC: 	gillett@DEC:.zko.wasted, [email protected], [email protected],
	mario@DEC:.zko.wasted
Subj: 	Re: rc_files/local doesn't apply in ptos?
Josh: 	

Did the rc_files/custom thing as you suggested.  All is well,
and I can bootstrap with the modified tools.

Thanks everyone for the help!

Chris

1673.3Re: rc_files/local doesn t apply in ptos?AOSG::FILTERAutomatic Posting Software - mail to flume::puckMon Aug 14 1995 12:0220
Date Of Receipt: 	11-AUG-1995 17:00:04.13
From: 	SMURF::FLUME::jmf "Joshua M. Friedman OSF/UNIX SDE  11-Aug-1995 1658"
To: 	gillett@DEC:.zko.flume
CC: 	[email protected], [email protected], mario@DEC:.zko.flume
Subj: 	Re: rc_files/local doesn't apply in ptos?

Great; glad to hear it!		-josh

> 
> Josh:
> 
> Did the rc_files/custom thing as you suggested.  All is well,
> and I can bootstrap with the modified tools.
> 
> Thanks everyone for the help!
> 
> Chris