From owner-freebsd-arm@freebsd.org Tue Jun 5 13:42:34 2018 Return-Path: Delivered-To: freebsd-arm@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 4B2CBFDCB8C; Tue, 5 Jun 2018 13:42:34 +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 9D83779063; Tue, 5 Jun 2018 13:42:33 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.125.17]) by shaw.ca with ESMTPA id QCEHflwCz5wO5QCEJfGMY6; Tue, 05 Jun 2018 07:42:31 -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=xfDLHkLGAAAA:8 a=YxBL1-UpAAAA:8 a=CjxXgO3LAAAA:8 a=6I5d2MoRAAAA:8 a=2WlI2amiM7QyuENTnt0A:9 a=CjuIK1q_8ugA:10 a=IfaqVvZgccqrtc8gcwf2:22 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTPS id 8D8C510A7; Tue, 5 Jun 2018 06:42:29 -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 w55DgTFE053684; Tue, 5 Jun 2018 06:42:29 -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 w55DgTdF053558; Tue, 5 Jun 2018 06:42:29 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <201806051342.w55DgTdF053558@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: Li-Wen Hsu cc: Cy Schubert , FreeBSD Current , Mark Johnston , Mark Millard , freebsd-arm@freebsd.org 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 Li-Wen Hsu of "Tue, 05 Jun 2018 09:07:34 -0400." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 05 Jun 2018 06:42:29 -0700 X-CMAE-Envelope: MS4wfMEU1metLZNBgtLUJIsxLJhlKnG2phVz7/qc4z+8sRniJlaJdElFh9/VG8xbU3BYRUfIcryivLpwkOsaUPOWCuPAJz/DW2JnK+uwAm3ahLmnFdxFpD9f iH8RqLMrb2Ebmw/EZF1ieSVPoIsPtbY1CSYanbSxhX0RHPLsLPrSp6lCfBLqDDBuDPiwL5oWkKYZtBLnspU4nNIFK04YQCAB5lpElgdI7Zzua2lyiHy7p2vM nwVXODdZYMZfuZHhCwKjHIjuM2Ncri5YP095ZWTj9mlsiDifTWrZFYcQBbwy0z6+ X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2018 13:42:34 -0000 In message , Li-Wen Hsu writes: > --00000000000079b474056de4bc0b > Content-Type: text/plain; charset="UTF-8" > > On Tue, Jun 5, 2018 at 08:10 Cy Schubert wrote: > > > 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. > > > Each build on ci.freebsd.org is a clean build from scratch. I overlooked that it was ci.freebsd.org. This is a different issue than on amd64. -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few.