Date: Tue, 3 Nov 2015 07:30:23 -0800 From: Steve Kargl <sgk@troutmask.apl.washington.edu> To: NGie Cooper <yaneurabeya@gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: buildworld broken Message-ID: <20151103153023.GA15514@troutmask.apl.washington.edu> In-Reply-To: <CD2B8B15-BFD7-48AA-BFAA-41BFE48635D7@gmail.com> References: <20151101164707.GA5847@troutmask.apl.washington.edu> <CD2B8B15-BFD7-48AA-BFAA-41BFE48635D7@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Nov 01, 2015 at 11:19:09PM -0800, NGie Cooper wrote: > > > On Nov 1, 2015, at 08:47, Steve Kargl <sgk@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151103153023.GA15514>