Discussion:
svn commit: r334626 - in head: . . . [brk_test fails to
(too old to reply)
Cy Schubert
2018-06-05 12:09:21 UTC
Permalink
In message <1731A84F-4278-43F5-B498-***@yahoo.com>, Mark
Millard write
--- 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 <***@cschubert.com>
FreeBSD UNIX: <***@FreeBSD.org> Web: http://www.FreeBSD.org

The need of the many outweighs the greed of the few.
Mark Millard
2018-06-05 12:35:50 UTC
Permalink
Post by Cy Schubert
Millard write
--- 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.
You missed the first line "From ci.freebsd.org . . .":

It was not my build, it was a ci.freebsd.org build of
FreeBSD-head-aarch64-build .

It was specifically #7944 (of -r334628 ) and later. The
latest #7951 (of -r334651 ) is still broken the same way.

#7943 (of -r334625 ) was the last good build.


===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)
Cy Schubert
2018-06-05 13:42:29 UTC
Permalink
In message <CAKBkRUwsm+BQ6vv_F9W87Gb8qA_F=***@mail.gma
il.com>
--00000000000079b474056de4bc0b
Content-Type: text/plain; charset="UTF-8"
Post by Cy Schubert
Millard write
--- 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
brk
referenced by brk_test.c:52
(/usr/src/lib/libc/tests/sys/brk_test.c:52)
brk_test.o:(atfu_brk_basic_body)
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 <***@cschubert.com>
FreeBSD UNIX: <***@FreeBSD.org> Web: http://www.FreeBSD.org

The need of the many outweighs the greed of the few.
Loading...