buildworld fails _at_r305471: "cc: error: linker command failed with exit code 1"

From: David Wolfskill <david_at_catwhisker.org>
Date: Tue, 6 Sep 2016 04:36:18 -0700
Leading up to this; building on head/amd64 running:
FreeBSD freebeast.catwhisker.org 12.0-CURRENT FreeBSD 12.0-CURRENT #96  r305415M/305415:1200006: Mon Sep  5 04:35:16 PDT 2016     root_at_freebeast.catwhisker.org:/common/S4/obj/usr/src/sys/GENERIC  amd64

...
--- gnu/lib/libgcc__L ---
Building /common/S4/obj/usr/src/world32/usr/src/gnu/lib/libgcc/_libinstall
--- kerberos5/lib/libhx509__L ---
Building /common/S4/obj/usr/src/world32/usr/src/kerberos5/lib/libhx509/keyset.So
--- secure/lib/libssl__L ---
/usr/obj/usr/src/tmp/usr/bin/ld: cannot find -lgcc_s
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [libssl.so.8] Error code 1

bmake[4]: stopped in /usr/src/secure/lib/libssl
.ERROR_TARGET='libssl.so.8'
.ERROR_META_FILE='/common/S4/obj/usr/src/world32/usr/src/secure/lib/libssl/libssl.so.8.meta'
.MAKE.LEVEL='4'
MAKEFILE=''
.MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes verbose'
.CURDIR='/usr/src/secure/lib/libssl'
.MAKE='/usr/obj/usr/src/make.amd64/bmake'
.OBJDIR='/usr/obj/usr/src/world32/usr/src/secure/lib/libssl'
.TARGETS='all'
DESTDIR='/usr/obj/usr/src/lib32'
LD_LIBRARY_PATH=''
MACHINE='i386'
MACHINE_ARCH='i386'
MAKEOBJDIRPREFIX='/usr/obj/usr/src/world32'
MAKESYSPATH='/usr/src/share/mk'
MAKE_VERSION='20160604'
PATH='/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/bin:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin'
SRCTOP='/usr/src'
OBJTOP='/usr/obj/usr/src/world32/usr/src'
.MAKE.MAKEFILES='/usr/src/share/mk/sys.mk /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk /etc/src-env.conf /usr/src/share/mk/bsd.mkopt.mk /etc/make.conf /usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.mk /etc/src.conf /usr/src/secure/lib/libssl/Makefile /usr/src/secure/lib/libssl/Makefile.man /usr/src/secure/lib/libcrypto/Makefile.inc /usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.opts.mk /usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.endian.mk /usr/src/share/mk/bsd.lib.mk /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/local.init.mk /usr/src/share/mk/src.init.mk /usr/src/secure/lib/libssl/../Makefile.inc /usr/src/secure/lib/libssl/../../Makefile.inc /usr/src/share/mk/src.opts.mk /usr/src/secure/lib/libssl/../../../lib/Makefile.inc /usr/src/share/mk/bsd.libnames.mk /usr/src/share/mk/src.libnames.mk /usr/src/share/mk/bsd.symver.mk /usr/src/share/mk/bsd.nls.mk /usr/src/share/mk/bsd.files.mk /usr/src/share/mk/bsd.incs.mk /usr/src/share/mk/bsd.confs.mk /usr/src/share/mk/bsd.links.mk /usr/src/share/mk/bsd.dep.mk /usr/src/share/mk/bsd.clang-analyze.mk /usr/src/share/mk/bsd.obj.mk /usr/src/share/mk/bsd.subdir.mk /usr/src/share/mk/bsd.sys.mk'
.PATH='. /usr/src/secure/lib/libssl /usr/src/secure/lib/libssl/../../../crypto/openssl/ssl /usr/src/secure/lib/libssl/man'
1 error

....[things generally go downhill from this point] ...

I'll be repeating the experiment on my laptop shortly.

Peace,
david
-- 
David H. Wolfskill				david_at_catwhisker.org
Those who would murder in the name of God or prophet are blasphemous cowards.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

Received on Tue Sep 06 2016 - 09:36:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:07 UTC