From owner-freebsd-current@freebsd.org Tue Nov 3 15:30:29 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9B972A25238 for ; Tue, 3 Nov 2015 15:30:29 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 837811DE4 for ; Tue, 3 Nov 2015 15:30:29 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id tA3FUNsC015538 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 3 Nov 2015 07:30:23 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id tA3FUNfD015537; Tue, 3 Nov 2015 07:30:23 -0800 (PST) (envelope-from sgk) Date: Tue, 3 Nov 2015 07:30:23 -0800 From: Steve Kargl To: NGie Cooper Cc: freebsd-current@freebsd.org Subject: Re: buildworld broken Message-ID: <20151103153023.GA15514@troutmask.apl.washington.edu> References: <20151101164707.GA5847@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Mailman-Approved-At: Tue, 03 Nov 2015 17:13:21 +0000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2015 15:30:29 -0000 On Sun, Nov 01, 2015 at 11:19:09PM -0800, NGie Cooper wrote: > > > On Nov 1, 2015, at 08:47, Steve Kargl 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