| Date Of Receipt: 22-NOV-1995 12:07:54.67
From: SMURF::FLUME::"[email protected]" "Grant Van Dyck 22-Nov-1995 1205"
To: [email protected]
CC: [email protected]
Subj: Re: Question building golminor on platinum machine
Nice Ed. Can't you just let the dead be dead.: -)
Well this took a little thought. When there was a point when we stumbled on
this, but it was well after goldminor was dead and buried, so we didn't feel
the need to retrofit those trees. Turns out the standard search path
-L${export_base}/usr/ccs/lib doesn't find libexc_init.a so it falls through
and somehow picks up the system lib, which up til ptos was wrong, but not a
problem 'cause the lib hadn't changed much. We'd fixed this originally in
Silver, but along the way it broke and we didn't find it til Ptos made it fail
(just as well).
So, now the path looks like:
LIBDIRS "-L${export_base}/usr/ccs/lib -L${export_base}/usr/ccs/lib/cmplrs/cc"
and it should find:
root@fbi [9] ll libexc_init.a
-rw-r--r-- 1 devbld staff 5728 Feb 3 1995 libexc_init.a
This guy. I also fixed it in goldminos.bl6, just in case you decide to move
onward.
-Grant
|
|
| I'm trying to build a goldminor backed tree on a machine installed with plati
num
| (OSF1 rubble.zk3.dec.com T4.0 262.2 alpha) and get a failure when trying to c
reate the libc.so shared library. The error
| I get is:
|
| /usr/sde/osf1/build/goldminos.bl5/tools/alpha_OSF1/alpha/acc/ld:
| Object file format error in: /usr/lib/cmplrs/cc//libexc_init.a(call.o): more
| than one .text section in the file
| *** Exit 1
| Stop.
|
| It seems to me that the build should not be accessing anything on the local
| machine, although the error message makes me think that it is. Is there
| something that I should be doing differently?
|
| I've included the output from sbinfo and the offending ld command at the end
of
| this message.
|
| Thanks for any help.
|
| -- Ed
|
| ------------ sbinfo ------------
|
| devbld@rubble cfe_shsb(1)> sbinfo
| Description of rc_file for cfe_shsb sandbox:
|
| The following environment variables were set:
| host_machine=alpha
| host_os_type=OSF1
| BCSDIRECTORY=/usr/sde/ode3.0
| BCSPORT=549
|
| PATH=/project/cfe/cfe.port/cfe_shsb/tools/alpha/hostbin:/project/cfe/cfe.port
/cf
| e_shsb/tools/alpha/bin:/project/cfe/cfe.port/cfe_shsb/tools/alpha/acc:/usr/sd
e/o
| sf1/build/cfe.drop2/tools/alpha/hostbin:/usr/sde/osf1/build/cfe.drop2/tools/a
lph
| a/bin:/usr/sde/osf1/build/cfe.drop2/tools/alpha/acc:/usr/sde/osf1/build/cfefi
xos
| /tools/alpha/hostbin:/usr/sde/osf1/build/cfefixos/tools/alpha/bin:/usr/sde/os
f1/
| build/cfefixos/tools/alpha/acc:/usr/sde/osf1/build/goldminos.bl5/tools/alpha_
OSF
| 1/alpha/hostbin:/usr/sde/osf1/build/goldminos.bl5/tools/alpha_OSF1/alpha/bin:
/us
| r/sde/osf1/build/goldminos.bl5/tools/alpha_OSF1/alpha/acc:/usr/sde/ode3.0/too
ls/
| alpha_ace/bin:/usr/ucb:/bin:/usr/bin:/sbin:/usr/sbin
| BCSHEADERS=/usr/sde/osf1/headers
| target_os_type=osf1
| machine=alpha
| TARGET_MACHINE=ALPHA
| target_machine=alpha
| NEW=GOLDMINOS;HW3OS_BL7;<>
| LATEST=ALPHA;<99/12/31,23:59:59
| PROJECT_NAME=ALPHA
| project_name=alpha
| SITE=OSF
| OWNER=bin
| GROUP=bin
| MAKEFILEPATH=${MAKETOP}/usr/lib/makefiles
|
| BACKED_SOURCEDIR=/project/cfe/cfe.port/cfe_shsb/src:/usr/sde/osf1/build/cfe.d
rop
| 2/src:/usr/sde/osf1/build/cfefixos/src:/usr/sde/osf1/build/goldminos.bl5/src
|
| SOURCEDIR=/usr/sde/osf1/build/cfe.drop2/src:/usr/sde/osf1/build/cfefixos/src:
/us
| r/sde/osf1/build/goldminos.bl5/src
|
| BACKED_PATH=/usr/sde/osf1/build/cfe.drop2/tools/alpha/hostbin:/usr/sde/osf1/b
uil
| d/cfe.drop2/tools/alpha/bin:/usr/sde/osf1/build/cfe.drop2/tools/alpha/acc:/us
r/s
| de/osf1/build/cfefixos/tools/alpha/hostbin:/usr/sde/osf1/build/cfefixos/tools
/al
| pha/bin:/usr/sde/osf1/build/cfefixos/tools/alpha/acc:/usr/sde/osf1/build/gold
min
| os.bl5/tools/alpha_OSF1/alpha/hostbin:/usr/sde/osf1/build/goldminos.bl5/tools
/al
| pha_OSF1/alpha/bin:/usr/sde/osf1/build/goldminos.bl5/tools/alpha_OSF1/alpha/a
cc:
| /usr/sde/ode3.0/tools/alpha_ace/bin:/usr/ucb:/bin:/usr/bin:/sbin:/usr/sbin
| EXPORTBASE=/project/cfe/cfe.port/cfe_shsb/export/alpha
| INCDIRS=-I/project/cfe/cfe.port/cfe_shsb/export/alpha/usr/include
| -I/usr/sde/osf1/build/cfe.drop2/export/alpha/usr/include
| -I/usr/sde/osf1/build/cfefixos/export/alpha/usr/include
| -I/usr/sde/osf1/build/goldminos.bl5/export/alpha/usr/include
| SHLIBDIRS=-L/project/cfe/cfe.port/cfe_shsb/export/alpha/usr/shlib
| -L/usr/sde/osf1/build/cfe.drop2/export/alpha/usr/shlib
| -L/usr/sde/osf1/build/cfefixos/export/alpha/usr/shlib
| -L/usr/sde/osf1/build/goldminos.bl5/export/alpha/usr/shlib
|
| MIGCOM=/usr/sde/osf1/build/goldminos.bl5/tools/alpha_OSF1/alpha/hostbin/migco
m
| LEXER=/usr/sde/osf1/build/goldminos.bl5/tools/alpha_OSF1/alpha/lib/ncform
| YACCPAR=/usr/sde/osf1/build/goldminos.bl5/tools/alpha_OSF1/alpha/lib/yacc
par
| ULT_INCDIRS=-I/usr/include
| ULT_LIBDIRS=-L/usr/lib -L/lib
| C_COMPILER=cc
| COMP_HOST_ROOT=/usr/sde/osf1/build/goldminos.bl5/tools/alpha_OSF1/alpha/a
cc
|
| COMP_TARGET_ROOT=/usr/sde/osf1/build/goldminos.bl5/tools/alpha_OSF1/alpha/acc
| LIBDIRS=-L/project/cfe/cfe.port/cfe_shsb/export/alpha/usr/ccs/lib
| -L/usr/sde/osf1/build/cfe.drop2/export/alpha/usr/ccs/lib
| -L/usr/sde/osf1/build/cfefixos/export/alpha/usr/ccs/lib
| -L/usr/sde/osf1/build/goldminos.bl5/export/alpha/usr/ccs/lib
| OBJECT_FORMAT=COFF
|
| COFF_GCC_EXEC_PREFIX=/usr/sde/osf1/build/goldminos.bl5/tools/alpha_OSF1/alpha
/gc
| c/
| submit_defect_check=true
| SUBMIT_REVIEW=/usr/sde/osf1/submit_review
| SOURCEBASE=/project/cfe/cfe.port/cfe_shsb/src
|
| [email protected],[email protected],johnf@krisi
s.z
| k3.dec.com
| TARGET_OS_TYPE=OSF1
| CC_SUITE=ACC
| cc_suite=acc
|
| MACHO_GCC_EXEC_PREFIX=/usr/sde/osf1/build/goldminos.bl5/tools/alpha_OSF1/alph
a/m
| acho/
|
| A_OUT_GCC_EXEC_PREFIX=/usr/sde/osf1/build/goldminos.bl5/tools/alpha_OSF1/alph
a/g
| cc/
|
| COFF_ACC_EXEC_PREFIX=/usr/sde/osf1/build/goldminos.bl5/tools/alpha_OSF1/alpha
/ac
| c/
|
| COFF_MCC_EXEC_PREFIX=/usr/sde/osf1/build/goldminos.bl5/tools/alpha_OSF1/alpha
/mc
| c/
|
| TARGET_EXEC_PREFIX=/usr/sde/osf1/build/goldminos.bl5/tools/alpha_OSF1/alpha/h
ost
| bin/
|
| COMP_HOST_ROOT_M64=/usr/sde/osf1/build/goldminos.bl5/tools/alpha_OSF1/alpha/m
cc/
|
| COMP_TARGET_ROOT_M64=/usr/sde/osf1/build/goldminos.bl5/tools/alpha_OSF1/alpha
/mc
| c/
| RELEASE_OPTIONS=-idfile `genloc /src/setup/osf1_idlist`
| OBJECTDIR=../obj/alpha
| SHARED_SB=SHARED_SB
| SECONDARY_DEF_BUILD=SECONDARY_DEF_BUILD
|
| The following environment variables were removed:
|
| The following directives are defined in the rc file:
| rcs_host: buffer.zk3.dec.com
| submit_host: secret.zk3.dec.com
| source_host: secret.zk3.dec.com
| copyright_list:
| DEC_COPYRIGHT;DEC_COPYRIGHT_MIN;DEC_COPYRIGHT_MAX;DEC_COPYRIGHT_FSF
| save_ancestor_info: FALSE
| build_base: /usr/sde/osf1/build
| sandbox_base: /project/cfe/cfe.port/cfe_shsb
| tools_base: /project/cfe/cfe.port/cfe_shsb/tools/alpha
| ode_base: /usr/sde/ode3.0/tools/alpha_ace
| ode_path: /usr/sde/ode3.0/tools/alpha_ace/bin
| src_control_init: /usr/sde/ode3.0/tools/alpha_ace/bin/bco
| rcs_base: /usr/sde/osf1/rcs/os/src
| rcs_cover: /usr/sde/ode3.0/tools/alpha_OSF1/lib/rcsauth
| source_cover: /usr/sde/ode3.0/tools/alpha_OSF1/lib/srcauth
| rcs_owner: devrcs
| default_build: cfe
| default_set: CFE
| submit_base: /usr/sde/osf1/build/cfe/logs
| submit_cover: /usr/sde/ode3.0/tools/alpha_OSF1/lib/subauth
| submit_owner: devbld
| submit_defect: false
| build_list: /usr/sde/build_list
| check_out_config:
| CFE_DROP2;CFEFIXOS;GOLDMINOS_BL5;HW3OS_BL7;V30MAINTOS_BL1;GOLDOS_BL12;GOLDOS_
ALT
| ;AGOSMINOR_BL9;AGOSMAINT_BL6;alpha_bl012;<93/01/24,16:21:32
| build_makeflags: -cF
| source_base: /project/cfe/cfe.port/cfe_shsb/src
| object_base: /project/cfe/cfe.port/cfe_shsb/obj/alpha
| export_base: /project/cfe/cfe.port/cfe_shsb/export/alpha
| release_base: /project/cfe/cfe.port/cfe_shsb/export/alpha
| release_cover: /bin/echo
| release_owner: root
| release_lock: /project/cfe/cfe.port/cfe_shsb/export/alpha/release_lock
| stage:
| alpha alpha norm
| default default norm
| system_path: /usr/ucb:/bin:/usr/bin:/sbin:/usr/sbin
| tools_path:
| /project/cfe/cfe.port/cfe_shsb/tools/alpha/hostbin:/project/cfe/cfe.port/cfe_
shs
| b/tools/alpha/bin:/project/cfe/cfe.port/cfe_shsb/tools/alpha/acc
| shared_sb: shared_sb
|
| --------- ld command ---------
|
| /usr/sde/osf1/build/goldminos.bl5/tools/alpha_OSF1/alpha/acc/ld -shared
| -set_version osf.1 -soname libc.so -check_registry `genloc
| /obj/alpha/usr/shlib/alpha/so_locations` -O2 -O2 -expect_unresolved
| _rld_new_interface -expect_unresolved ldr_process_context -hidden_symbol
| __sia_ses_audit -hidden_symbol __sia_ses_latinfo `genpath `
| -L/project/cfe/cfe.port/cfe_shsb/export/alpha/usr/shlib
| -L/usr/sde/osf1/build/cfe.drop2/export/alpha/usr/shlib
| -L/usr/sde/osf1/build/cfefixos/export/alpha/usr/shlib
| -L/usr/sde/osf1/build/goldminos.bl5/export/alpha/usr/shlib
| -L/project/cfe/cfe.port/cfe_shsb/export/alpha/usr/ccs/lib
| -L/usr/sde/osf1/build/cfe.drop2/export/alpha/usr/ccs/lib
| -L/usr/sde/osf1/build/cfefixos/export/alpha/usr/ccs/lib
| -L/usr/sde/osf1/build/goldminos.bl5/export/alpha/usr/ccs/lib -o libc.so.X
| NLflattab.o sia_globals.o environ.o liblocale.o divglobl.o data.o
| mallocdata.o siglist.o errlst.o fp_const.o dbx_rpc.o rpccommondata.o
| quota_init.o doprnt.o strlen.o sprintf.o memcpy.o strchr.o doscan.o
| strncpy.o __getmbcurmax.o malloc.o siad_getgrp.o bcopy.o qsort.o strcmp
.o
| mbtowc.o nlist.o memset.o putwc.o regexec.o __divl.o __divlu.o __divq.
o
| __divqu.o __reml.o __remlu.o __remq.o __remqu.o crypt.o memccpy.o
| usleep.o strcpy.o bzero.o select.o read.o wctomb.o ungetwc.o fputws.o
| strncmp.o usleep_thread.o tzset.o gettimeofdy.o strstr.o break.o calloc
.o
| writev.o clnt_udp.o mblen.o memcmp.o close.o fgets.o getcommon.o atoi.
o
| getenv.o wcslen.o ioctl.o ffs.o write.o bcmp.o regcomp.o libloader.o
| yp_bind.o fwrite.o setlocale.o scanf.o filbuf.o strcat.o siad_getpass.o
| flsbuf.o strtol.o strdup.o readdir.o cerror.o fopen.o xdr.o open.o
| ctime.o yp_enum.o xdr_mem.o iswctype.o sia_mat_init.o table.o findiop.o
| catopen.o getwc.o ungetc.o stat.o getservent.o fork.o sigaction.o lsee
k.o
| ntohl.o printf.o sigprocmask.o strftime.o setjmp.o fgetc.o getopt.o
| sia_switch.o exit.o fread.o isatty.o errno.o getpid.o __pcstombs.o
| sigcompat.o access.o ypxdr.o wait.o mbswidth.o alarm.o rpc_prot.o
| auth_none.o index.o ldr_atexit.o rpcdtablesize.o _sigprocmsk.o wait4.o
| mbstowcs.o setitimer.o fstat.o sendto.o ndbm.o sigjmp.o ecvt.o
| getpagesize.o sia_getpass.o flock.o sia_init.o execve.o strcoll.o
| getsockname.o time.o fcntl.o dup2.o recvfrom.o lstat.o wcswidth.o _exi
t.o
| opendir.o iswprint.o dtoa.o madvise.o memchr.o signal.o svc.o ntohs.o
| sia_getgroup.o catgets.o htonl.o sigstack.o abs.o fprintf.o puts.o ato
l.o
| tenscale.o strrchr.o strtoul.o get_myaddress.o htons.o socket.o
| bresvport.o getpasswd.o fputs.o libdl.o fseek.o sysconf.o getnetgrent.o
| yp_match.o strspn.o pipe.o dup.o getdomainnm.o strpbrk.o getut.o wait3
.o
| getcwd.o closedir.o execv.o fsync.o nrecvfrom.o unlink.o sigops.o atof
.o
| uname.o iswdigit.o creat.o readv.o strtok.o inet_addr.o syslog.o
| initgroups.o popen.o sia_s_init.o getgroup.o getuid.o nl_langinfo.o
| getrlimit.o pty.o getdirentri.o sia_s_lnch.o random.o perror.o svc_udp.
o
| bind.o fdopen.o __ispriv.o gethostent.o _setjmp.o pmap_prot.o strtod.o
| ftell.o exec_args.o siad_s_suaut.o getpeername.o getrusage.o rpc_callmsg
.o
| _longjmp.o chown.o pmap_clnt.o ttyname.o gethostname.o siad_s_rel.o
| setpgid.o sia_getmsg.o siad_s_auth.o sia_chdir.o sia_mk_en_pw.o sigpause
.o
| siad_s_lnch.o login.o sigsetjmp.o iswalpha.o link.o sigsuspend.o atod.o
| ypprot_err.o setreuid.o getdtablesz.o geteuid.o sia_free_ent.o putenv.o
| sia_s_suauth.o bsearch.o sia_auth.o memmove.o sia_log.o setsid.o setbuf
.o
| sia_coll_trm.o wcstombs.o accept.o system.o rindex.o umask.o svc_tcp.o
| tcsetattr.o siad_s_estab.o audcntl.o chmod.o sia_s_estab.o chdir.o getw
d.o
| getrpcent.o fchdir.o basename.o _sigsuspend.o svc_auth.o sia_s_auent.o
| wcscmp.o waitpid.o sync.o execlp.o longjmp.o execvp.o getgid.o rand.o
| revoke.o strcasecmp.o mmap.o getttyent.o setenv.o seteuid.o setgid.o
| getpgrp.o mktemp.o setpgrp.o kill.o sia_alloc_en.o NLSsetup.o connect.o
| exc_failure.o find_rtfunc.o alpha_unwind.o ieee.o getsysinfo.o -all
| ./libcso.a
| /usr/sde/osf1/build/goldminos.bl5/tools/alpha_OSF1/alpha/acc/ld:
| Object file format error in: /usr/lib/cmplrs/cc//libexc_init.a(call.o): more
| than one .text section in the file
|