From owner-freebsd-current@freebsd.org Tue Jun 5 12:09:33 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6A9F4FF2056; Tue, 5 Jun 2018 12:09:33 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D047C739CC; Tue, 5 Jun 2018 12:09:32 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.125.17]) by shaw.ca with ESMTPA id QAmAflFl45wO5QAmBfGBCb; Tue, 05 Jun 2018 06:09:25 -0600 X-Authority-Analysis: v=2.3 cv=SJtsqtnH c=1 sm=1 tr=0 a=VFtTW3WuZNDh6VkGe7fA3g==:117 a=VFtTW3WuZNDh6VkGe7fA3g==:17 a=kj9zAlcOel0A:10 a=7mUfYlMuFuIA:10 a=CjxXgO3LAAAA:8 a=6I5d2MoRAAAA:8 a=YVOhz5M6AAAA:8 a=YxBL1-UpAAAA:8 a=ZEMpZlOG56c5PBaKjhMA:9 a=CjuIK1q_8ugA:10 a=IjZwj45LgO3ly-622nXo:22 a=sbbTL3E6IKcx-RquDtO-:22 a=Ia-lj3WSrqcvXOmTRaiG:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTPS id 2F10DFB3; Tue, 5 Jun 2018 05:09:22 -0700 (PDT) Received: from slippy.cwsent.com (localhost [127.0.0.1]) by slippy.cwsent.com (8.15.2/8.15.2) with ESMTP id w55C9LrC039973; Tue, 5 Jun 2018 05:09:21 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Received: from slippy (cy@localhost) by slippy.cwsent.com (8.15.2/8.15.2/Submit) with ESMTP id w55C9L7f039970; Tue, 5 Jun 2018 05:09:21 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <201806051209.w55C9L7f039970@slippy.cwsent.com> X-Authentication-Warning: slippy.cwsent.com: cy owned process doing -bs X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.7.1 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Mark Millard cc: Mark Johnston , freebsd-arm@freebsd.org, FreeBSD Current Subject: Re: svn commit: r334626 - in head: . . . [brk_test fails to build for aarch64 and stops build: no brk or sbrk to test, so undefined symbols] In-Reply-To: Message from Mark Millard of "Mon, 04 Jun 2018 23:13:22 -0700." <1731A84F-4278-43F5-B498-C3501081E783@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 05 Jun 2018 05:09:21 -0700 X-CMAE-Envelope: MS4wfKvYY+ujjVIWz030aqspTWwRuyF5xXXg9BttUMV2QhdbImSFKldFZ481mGKXRYCWpayEEyMUDUwp0wKMHDUpwlqUHKnwkqz+kluzS8NZ1Is2bE87tVF+ eUauEorscDqTEW3nAFMq5CpSArrhUJxjsFwNvxEISvYmYF0LBql4PP24sjcAclnobD7NYQUB0Bp6dHadDbqY9NI7W1yhIRLfbpd9JAfXr1sid/Jq6SDNnQq1 wmJRLeQAuwZtYLWMt8jq3rxmbPAejgV2a1oc+iP0LIc= X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.26 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, 05 Jun 2018 12:09:33 -0000 In message <1731A84F-4278-43F5-B498-C3501081E783@yahoo.com>, Mark Millard write s: > >From ci.freebsd.org for a -r334626 + builds: > > --- brk_test.full --- > cc -target aarch64-unknown-freebsd12.0 --sysroot=/usr/obj/usr/src/arm64.aarch > 64/tmp -B/usr/obj/usr/src/arm64.aarch64/tmp/usr/bin -O2 -pipe -g -std=iso9899 > :1999 -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k > -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -W > no-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-par > entheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local > -typedef -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum -Wno-knr- > promoted-parameter -Qunused-arguments -o brk_test.full brk_test.o -lprivat > eatf-c > /usr/obj/usr/src/arm64.aarch64/tmp/usr/bin/ld: error: undefined symbol: brk > >>> referenced by brk_test.c:52 (/usr/src/lib/libc/tests/sys/brk_test.c:52) > >>> brk_test.o:(atfu_brk_basic_body) > > /usr/obj/usr/src/arm64.aarch64/tmp/usr/bin/ld: error: undefined symbol: sbrk > >>> referenced by brk_test.c:55 (/usr/src/lib/libc/tests/sys/brk_test.c:55) > >>> brk_test.o:(atfu_brk_basic_body) > > . . . (and many more) . . . Do a clean build or remove the libc directory from /usr/obj, then do your build. > > === > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few.