Re: buildworld broken

From: Steve Kargl <sgk_at_troutmask.apl.washington.edu>
Date: Tue, 3 Nov 2015 07:30:23 -0800
On Sun, Nov 01, 2015 at 11:19:09PM -0800, NGie Cooper wrote:
> 
> > On Nov 1, 2015, at 08:47, Steve Kargl <sgk_at_troutmask.apl.washington.edu> wrote:
> > 
> > ===> libexec/dma/dmagent (all)
> > cc  -I/usr/src/libexec/dma/dmagent/../../../contrib/dma  -DHAVE_REALLOCF -DHAVE_STRLCPY -DHAVE_GETPROGNAME  -DCONF_PATH='"/etc/dma"'  -DLIBEXEC_PATH='"/usr/libexec"' -DDMA_VERSION='"v0.10"'  -DDMA_ROOT_USER='"mailnull"'  -DDMA_GROUP='"mail"' -std=gnu99 -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wformat=2 -Wno-format-extra-args -Werror -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments  -o dma aliases_parse.o aliases_scan.o base64.o conf.o crypto.o dma.o dns.o local.o mail.o net.o spool.o util.o  -lssl  -lcrypto
> > /usr/obj/usr/src/tmp/usr/lib/libcrypto.so: undefined reference to `PKCS7_digest_from_attributes'
> > /usr/obj/usr/src/tmp/usr/lib/libcrypto.so: undefined reference to `PKCS7_add_signed_attribute'
> > /usr/obj/usr/src/tmp/usr/lib/libcrypto.so: undefined reference to `PKCS7_dataFinal'
> > /usr/obj/usr/src/tmp/usr/lib/libcrypto.so: undefined reference to `PKCS7_get_signed_attribute'
> > /usr/obj/usr/src/tmp/usr/lib/libcrypto.so: undefined reference to `PKCS7_SIGNER_INFO_sign'
> > /usr/obj/usr/src/tmp/usr/lib/libcrypto.so: undefined reference to `PKCS7_dataInit'
> > /usr/obj/usr/src/tmp/usr/lib/libcrypto.so: undefined reference to `PKCS7_dataDecode'
> > /usr/obj/usr/src/tmp/usr/lib/libcrypto.so: undefined reference to `PKCS7_signatureVerify'
> 
> Hi Steve,
> 	What are your custom build options? Have you patched your copy of FreeBSD?
> Thanks!

Sorry for the delay. I was traveling yesterday.

% cat /etc/src.conf
WITHOUT_TESTS = "YES"
WITHOUT_CTM = "YES"
WITHOUT_NDIS = "YES"
WITHOUT_PROFILE = "YES"
WITH_LLDB="yes"
MALLOC_PRODUCTION = "YES"

% cat /etc/make.conf
KERNCONF=MOBILE
CPUTYPE?=core2
WITH_PKGNG=yes
FFLAGS+= -O2 -pipe -march=native -mtune=native
FFLAGS+= -funroll-loops -ftree-vectorize
MAKE_JOBS_UNSAFE="yes"
MASTER_SITE_FREEBSD="yes"
DEFAULT_VERSIONS+=    perl5=5.20

% svn info
Path: .
Working Copy Root Path: /usr/src
URL: svn://svn.freebsd.org/base/head
Relative URL: ^/head
Repository Root: svn://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 290258
Node Kind: directory
Schedule: normal
Last Changed Author: adrian
Last Changed Rev: 290258
Last Changed Date: 2015-11-01 19:36:15 -0800 (Sun, 01 Nov 2015)

There are no local changes in this tree.  The only thing that
might be different than a standard buildworld is that I have
a symlink from /usr/obj to /mnt/obj where the /mnt filesystem
is UFS2 mounted noatime, async.

Note, the undefined references appear in /usr/lib/libcrypto.so.7
and are missing in the freshly built libcrypto.so.8.  So, it
appears that something that dmagent is using is reaching out into
the previously installed libcrypto.

-- 
Steve
Received on Tue Nov 03 2015 - 14:30:29 UTC

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