From owner-freebsd-current@freebsd.org Sun Jul 23 23:34:54 2017 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 58A3FDB0B47 for ; Sun, 23 Jul 2017 23:34:54 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: from mail-wm0-x236.google.com (mail-wm0-x236.google.com [IPv6:2a00:1450:400c:c09::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DDD6373635 for ; Sun, 23 Jul 2017 23:34:53 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: by mail-wm0-x236.google.com with SMTP id m85so4545410wma.1 for ; Sun, 23 Jul 2017 16:34:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=VXZOK28gicRAOX+gdl+OSWueW7hr7ULQalo+s9aibvY=; b=Pw/CbQ2xliHoQKXLeon4/41vfDGLWQ76CI4NWjeJwrcrexIJx7O6tjQ0m96ndai1T8 pf2NheAUp+zSSjPd93Ay5kais2R4ugqxQUbDBnU+Lni01PheLb0EnDeSi0BFg9QTnB0N jL4pje7kCLpflSfoiVylwokrVX/D9aeFaJ+bRX3pdvW0okl71ajBUwOkD1EZ7j4oQM2a LzHcktnZtDhy6ScA1hMZ8Vy5bwVP0ac/QL36kFxxRfTcLNUOi4HlC3fGT0CwtXqSmH6F D2GQzcmBSQ1poubTuGi3yWXs3RThNO6O+aKuBqS1rAhFisNB1c7ZHywfors7dKFvUmZA o6yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=VXZOK28gicRAOX+gdl+OSWueW7hr7ULQalo+s9aibvY=; b=jdRFYanJ9ob+/YVW4YzxTmy/FCOb3LPYe59y1N7Gb7VNDiv8yIbZdXfvBckU2oY5Ex P72yJMNjI6Tc98OjOJ41oTYucfiIuRrdUdgk8uKhk9GABUxGrCIA3C7uon8eb5RWR0Wz xQgQo1X+5fOInkJCsTzfnXP7OHbx3tUIX/7kwu79/uCFPCZDv5dXArKVb21wuZltHzCi 8oq7KIOcWQE7SQh/fZcPqd7/z3fe7nt7yDeqORlys8aqL52iMvaPNjaz0O14wtlI2faV 1OT/RB+wmuRJx8ifvWGfGa0aQjsNwd2WCTofRvQcSxCuaYWOgUyIKz+rgE5xPuf3cltg SqDg== X-Gm-Message-State: AIVw113qM3snHK2m9zqbWbN/QaV0fkWrAZbOSTWZIyzOLytq4QeEb2Nl e7nOhAwzScvidkJhZe6jww== X-Received: by 10.80.178.37 with SMTP id o34mr12593135edd.201.1500852891363; Sun, 23 Jul 2017 16:34:51 -0700 (PDT) Received: from mutt-hbsd (pool-100-16-230-154.bltmmd.fios.verizon.net. [100.16.230.154]) by smtp.gmail.com with ESMTPSA id b30sm7374906edd.6.2017.07.23.16.34.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 23 Jul 2017 16:34:50 -0700 (PDT) Date: Sun, 23 Jul 2017 19:34:47 -0400 From: Shawn Webb To: Mark Millard Cc: FreeBSD Current Subject: Re: HEADS-UP: Merged llvm/clang 5.0.0 into -CURRENT (as of r321369) Message-ID: <20170723233447.3qqb7sbonlhirwt5@mutt-hbsd> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="sr73drvekde2bu65" Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD mutt-hbsd 12.0-CURRENT FreeBSD 12.0-CURRENT X-PGP-Key: http://pgp.mit.edu/pks/lookup?op=vindex&search=0x6A84658F52456EEE User-Agent: NeoMutt/20170609 (1.8.3) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 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: Sun, 23 Jul 2017 23:34:54 -0000 --sr73drvekde2bu65 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jul 23, 2017 at 04:13:18PM -0700, Mark Millard wrote: > Shawn Webb shawn.webb at hardenedbsd.org wrote on > Sat Jul 22 15:33:14 UTC 2017 : >=20 > > I haven't nailed down whether it's SafeStack, CFI, or using lld as the > > default linker, but it looks like we in HardenedBSD are getting an > > undefined symbol during buildworld. >=20 > In an amd64 -> TARGET_ARCH=3Dpowerpc64 cross build context=20 > for FreeBSD -r321371 I got a similar report for the: >=20 > /usr/obj/usr/src/tmp/usr/bin/ld: error: undefined symbol: lldb_private::A= ppleObjCRuntime::GetFoundationVersion() > >>> referenced by /usr/src/contrib/llvm/tools/lldb/source/Plugins/Languag= e/ObjC/Cocoa.cpp > >>> Cocoa.o:(lldb_private::formatters::NSNumberSummaryProvi= der(lldb_private::ValueObject&, lldb_private::Stream&, lldb_private::TypeSu= mmaryOptions const&)) in archive /usr/obj/usr/src/lib/clang/liblldb/liblldb= =2Ea >=20 > part of your report (logfile). The context used > devel/powerpc64-binutils : >=20 > # /usr/local/powerpc64-freebsd/bin/ld --version > GNU ld (GNU Binutils) 2.28 > Copyright (C) 2017 Free Software Foundation, Inc. > This program is free software; you may redistribute it under the terms of > the GNU General Public License version 3 or (at your option) a later vers= ion. > This program has absolutely no warranty. >=20 > (lld is not yet working option for powerpc64 as > far as I know.) >=20 > For this part of your report I doubt that anything > that you listed is required for the problem to happen. >=20 > In my context the error text was: >=20 > --- lldb.full --- > /usr/obj/powerpc64vtsc_clang_altbinutils/powerpc.powerpc64/usr/src/lib/cl= ang/liblldb/liblldb.a(Cocoa.o): In function `lldb_private::formatters::NSNu= mberSummaryProvider(lldb_private::ValueObject&, lldb_private::Stream&, lldb= _private::TypeSummaryOptions const&)': > /usr/src/contrib/llvm/tools/lldb/source/Plugins/Language/ObjC/Cocoa.cpp:(= =2Etext._ZN12lldb_private10formatters23NSNumberSummaryProviderERNS_11ValueO= bjectERNS_6StreamERKNS_18TypeSummaryOptionsE+0x398): undefined reference to= `lldb_private::AppleObjCRuntime::GetFoundationVersion()' Hey Mark, I wasn't doing a cross-build, but rather a native build for amd64. I'm getting errors again. In fact, I'm getting the same error you just posted above. I have no clue why the error's happening. That you're also getting the error shows that the issue isn't specific to HardenedBSD at the very least. Thanks, --=20 Shawn Webb Cofounder and Security Engineer HardenedBSD GPG Key ID: 0x6A84658F52456EEE GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89 3D9E 6A84 658F 5245 6EEE --sr73drvekde2bu65 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEKrq2ve9q9Ia+iT2eaoRlj1JFbu4FAll1MpUACgkQaoRlj1JF bu7X4RAAuluIvP1rpE4xwcD39hra9QI5iu8sCHVBNe0vWzZzpQcuOhO+1Iqe2bS6 IcPmCpxGagUD5cf4Qb/34GX5Kuhctci758kNrIr8FaNAq4/KbZkzTLKWRVEZm5dC ZBVyUkNRoTSYT/zFXju/phBRYfzeq7tKkp4jNXInO000JSY69xUfRiACIAEnVs95 b5fk8xDxj6sKalfYETpbwgCmqnxlORdj8QDpu3zoptSW66kJni9eDOm7xW5wN8ge R4tUGElO1cQr1fixbBzbh2uwMvHb9q5ToTt4eE35NRTh7kkMWfPqs+j6P5hMrlip LC5Ain0V1Ey1xeD6uu0jM77ynEG4lWro+w/c9F245Q6PoW8o3ojVNNpqatpImPnQ O+nWEeaFv2JD3vCi99JHlHvdAZQ13dozA2d09TnBubJ4IVvZGLQz3dhK8Zgh9wND Vs4QZUN9/fy7B3XB0ZyBJNpHIM79UiDKRJS90y9f6feS3QsZ488U+2Mk35Vrw6zG urQ77mMNO/WYSS1i1fdJ9PRC/uzISEan5MnL9pfPifEUtcYPrxVj2Aon6yJbpAM7 V3mwXrg9/+j1drZMkyOXE40gz1AKtD+m7ggiQjoyY8zEvx+333xz7np/4eq9stf9 dyw4/opTlZnTBdgKZoOaon6PQdROnFl82IqnTBcBQke2rTgafh0= =FxBh -----END PGP SIGNATURE----- --sr73drvekde2bu65--