Date: Tue, 05 Jun 2018 06:42:29 -0700 From: Cy Schubert <Cy.Schubert@cschubert.com> To: Li-Wen Hsu <lwhsu@freebsd.org> Cc: Cy Schubert <Cy.Schubert@cschubert.com>, FreeBSD Current <freebsd-current@freebsd.org>, Mark Johnston <markj@freebsd.org>, Mark Millard <marklmi@yahoo.com>, 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] Message-ID: <201806051342.w55DgTdF053558@slippy.cwsent.com> In-Reply-To: Message from Li-Wen Hsu <lwhsu@freebsd.org> of "Tue, 05 Jun 2018 09:07:34 -0400." <CAKBkRUwsm%2BBQ6vv_F9W87Gb8qA_F=vg7pNFA_GgxSdf8PgeaNg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <CAKBkRUwsm+BQ6vv_F9W87Gb8qA_F=vg7pNFA_GgxSdf8PgeaNg@mail.gma il.com> , Li-Wen Hsu writes: > --00000000000079b474056de4bc0b > Content-Type: text/plain; charset="UTF-8" > > On Tue, Jun 5, 2018 at 08:10 Cy Schubert <Cy.Schubert@cschubert.com> 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 <Cy.Schubert@cschubert.com> FreeBSD UNIX: <cy@FreeBSD.org> Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806051342.w55DgTdF053558>