From owner-freebsd-current@freebsd.org Tue Jun 5 13:07:53 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 7093FFD0DF6; Tue, 5 Jun 2018 13:07:53 +0000 (UTC) (envelope-from lwhsu.freebsd@gmail.com) Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) (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 E876C76DC6; Tue, 5 Jun 2018 13:07:52 +0000 (UTC) (envelope-from lwhsu.freebsd@gmail.com) Received: by mail-wm0-f68.google.com with SMTP id e16-v6so4828692wmd.0; Tue, 05 Jun 2018 06:07:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=KkC+bRowpioTBE4zI9XJYX/wDNbMwguRZjhQf667tro=; b=oIHOUgzcJ24dsf31xCegNsGFivV+WARmLYE/h6ApvlYE/EbjTcMMxPPsunbogZ7RtP Y8sRrWj3xe/W4eeri0tFtFhWRG9NiA3qFkSJsV+jIUZz3aGdW6dNXSGR8lUWpZb5X0kX pnBGEaeY2shXzKrwgOqrdCpovKE5QYFXQnBTGsxhbQncnLzZpi9STZI+EmrgUNbxCCO7 9isexaxS5c/WGh8y7I0Z0w/ErquqcfRWHg5ZtUMR+dT/E0bowUTyFRrCCHWpvH9mLhDI kBxRGdEkGP8TLLE4SqCsjpGRXtIw/cFp9a8quuRwAHvBm2v9crcUxVMLjIfZXbe3C3Y6 U4BA== X-Gm-Message-State: APt69E1Hc17/AMXieM8ejZlVyycc5pDF+zYxjAuwrvJC87HdxRUMsBmC JyO2w1ua/t/O8GLxACIXyRwYrNJYmIymYLDCcPvaBQ== X-Google-Smtp-Source: ADUXVKLkWcl9gll5CU7oZ/W9RQrHjJMe4o4qTNqYkjhkosAck4fLV1Hx6Vrz1q5LIPttg+AZmO5MbJvc97k9hi751us= X-Received: by 2002:a1c:ea4a:: with SMTP id i71-v6mr10040179wmh.158.1528204065615; Tue, 05 Jun 2018 06:07:45 -0700 (PDT) MIME-Version: 1.0 References: <1731A84F-4278-43F5-B498-C3501081E783@yahoo.com> <201806051209.w55C9L7f039970@slippy.cwsent.com> In-Reply-To: <201806051209.w55C9L7f039970@slippy.cwsent.com> From: Li-Wen Hsu Date: Tue, 5 Jun 2018 09:07:34 -0400 Message-ID: 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] To: Cy Schubert Cc: FreeBSD Current , Mark Johnston , Mark Millard , freebsd-arm@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 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 13:07:53 -0000 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. Li-Wen > -- Li-Wen Hsu https://lwhsu.org