[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

1143.0. "Help with a build problem, using v30supportos backing tree..." by AOSG::FILTER (Automatic Posting Software - mail to flume::puck) Tue Dec 13 1994 20:57

Date Of Receipt: 	 6-DEC-1994 15:44:17.41
From: 	FLAMBE::"portante@dceidl.ENET.dec.com" "6-Dec-1994 1538"
To: 	buildhelp@zk3.dec.com
CC: 	dceidl::portante
Subj: 	Help with a build problem, using v30supportos backing tree...

Hello,

I would like some help figuring out why this command is failing.  The obvious 
answer is listed below, but why is "-O2 -O2" occuring?

The command that failed:

wasted.zk3.dec.com> build
relative path: ./usr/shlib/DECthreads.
cd ../../../../obj/alpha/usr/shlib/DECthreads
/usr/sde/osf1/build/v30supportos/tools/alpha_OSF1/alpha/acc/ld -shared -set_vers
ion osf.1 -soname libpthreads.so -check_registry `genloc /obj/alpha/usr/shlib/al
pha/so_locations`  -O2 -O2  -error_unresolved  -expect_unresolved ldr_process_co
ntext  -expect_unresolved __Argv   `genpath   ` -L/home/portante/sb/v30supportos
/export/alpha/usr/shlib -L/usr/sde/osf1/build/v30supportos/export/alpha/usr/shli
b  -L/home/portante/sb/v30supportos/export/alpha/usr/ccs/lib -L/usr/sde/osf1/bui
ld/v30supportos/export/alpha/usr/ccs/lib -o libpthreads.so.X cma_alert.o       c
ma_assert.o  cma_attr.o          cma_condition.o                cma_context.o  c
ma_debugger.o           cma_deb_core.o          cma_deb_event.o  cma_defer.o   c
ma_dispatch.o            cma_errors.o            exc_handling.o         cma_hand
le.o             cma_init.o             cma_kernel.o            cma_message.o  c
ma_malloc.o             cma_mutex.o             cma_once.o  cma_pthread.o      c
ma_ptd_exc.o  cma_sched.o        cma_signal.o           cma_stack.o  cma_tcb.o c
ma_thread.o             cma_timer.o  cma_util.o         cma_ux.o               c
ma_vm.o  cma_vp.o               cma_assem.o             cma_tis_sup.o  cma_vmpro
t.o cma_vp_hdwr.o cma_host.o  -lmach -lc_r -lc
/usr/sde/osf1/build/v30supportos/tools/alpha_OSF1/alpha/acc/ld:
Cannot open file -O2 for reading
*** Exit 1
Stop.

In my path I can find the command "genpath" but I cannot find the command 
"genloc", is that the problem?  What should my path be?  Currently it is:

PATH=/home/portante/bin:/usr/sde/tools/alpha_osf1/bin:/usr/ucb:/bin:/usr/bin:
/usr/local:/usr/new:/usr/hosts:.

Any help would be appreciated.

-Peter

T.RTitleUserPersonal
Name
DateLines
1143.1Help with a build problem, using v30supportos backing tree...AOSG::FILTERAutomatic Posting Software - mail to flume::puckTue Dec 13 1994 20:5948
Date Of Receipt: 	 6-DEC-1994 16:00:11.45
From: 	ALPHA::"portante@dceidl.ENET.dec.com" "6-Dec-1994 1554"
To: 	buildhelp@alpha.zk3.dec.com
CC: 	dceidl::portante
Subj: 	Help with a build problem, using v30supportos backing tree...

Hello,

I would like some help figuring out why this command is failing.  The obvious 
answer is listed below, but why is "-O2 -O2" occuring?

The command that failed:

wasted.zk3.dec.com> build
relative path: ./usr/shlib/DECthreads.
cd ../../../../obj/alpha/usr/shlib/DECthreads
/usr/sde/osf1/build/v30supportos/tools/alpha_OSF1/alpha/acc/ld -shared -set_vers
ion osf.1 -soname libpthreads.so -check_registry `genloc /obj/alpha/usr/shlib/al
pha/so_locations`  -O2 -O2  -error_unresolved  -expect_unresolved ldr_process_co
ntext  -expect_unresolved __Argv   `genpath   ` -L/home/portante/sb/v30supportos
/export/alpha/usr/shlib -L/usr/sde/osf1/build/v30supportos/export/alpha/usr/shli
b  -L/home/portante/sb/v30supportos/export/alpha/usr/ccs/lib -L/usr/sde/osf1/bui
ld/v30supportos/export/alpha/usr/ccs/lib -o libpthreads.so.X cma_alert.o       c
ma_assert.o  cma_attr.o          cma_condition.o                cma_context.o  c
ma_debugger.o           cma_deb_core.o          cma_deb_event.o  cma_defer.o   c
ma_dispatch.o            cma_errors.o            exc_handling.o         cma_hand
le.o             cma_init.o             cma_kernel.o            cma_message.o  c
ma_malloc.o             cma_mutex.o             cma_once.o  cma_pthread.o      c
ma_ptd_exc.o  cma_sched.o        cma_signal.o           cma_stack.o  cma_tcb.o c
ma_thread.o             cma_timer.o  cma_util.o         cma_ux.o               c
ma_vm.o  cma_vp.o               cma_assem.o             cma_tis_sup.o  cma_vmpro
t.o cma_vp_hdwr.o cma_host.o  -lmach -lc_r -lc
/usr/sde/osf1/build/v30supportos/tools/alpha_OSF1/alpha/acc/ld:
Cannot open file -O2 for reading
*** Exit 1
Stop.

In my path I can find the command "genpath" but I cannot find the command 
"genloc", is that the problem?  What should my path be?  Currently it is:

PATH=/home/portante/bin:/usr/sde/tools/alpha_osf1/bin:/usr/ucb:/bin:/usr/bin:
/usr/local:/usr/new:/usr/hosts:.

Any help would be appreciated.

-Peter


1143.2Re: Help with a build problem, using v30supportos backing tree...AOSG::FILTERAutomatic Posting Software - mail to flume::puckTue Dec 13 1994 21:0816
Date Of Receipt: 	 6-DEC-1994 18:16:42.23
From: 	FLUME::jmcg "Jim McGinness"
To: 	dceidl::portante
CC: 	buildhelp@DEC:.zko.flume
Subj: 	Re:  Help with a build problem, using v30supportos backing tree...

I'm not sure why, but every once in a while the genloc script fails to
produce the proper result, with symptoms much like you describe.  I
attempted to reproduce the problem in your sandbox and couldn't.  I
ran the same command line as produced by the build command, except I
sent the output shared lib to /tmp where I had write permission.  The
the genloc script worked fine and the output file was created
without error.  Are you still getting this error?

	-- jmcg