Discussion:
svn commit: r334626 - in head: . . . [brk_test fails to build for
(too old to reply)
Mark Millard
2018-06-05 06:13:22 UTC
Permalink
From ci.freebsd.org for a -r334626 + builds:

--- brk_test.full ---
cc -target aarch64-unknown-freebsd12.0 --sysroot=/usr/obj/usr/src/arm64.aarch64/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 -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-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 -lprivateatf-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) . . .

===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)
Li-Wen Hsu
2018-06-05 13:07:34 UTC
Permalink
Millard write
Post by Mark Millard
--- brk_test.full ---
cc -target aarch64-unknown-freebsd12.0
--sysroot=/usr/obj/usr/src/arm64.aarch
Post by Mark Millard
64/tmp -B/usr/obj/usr/src/arm64.aarch64/tmp/usr/bin -O2 -pipe -g
-std=iso9899
Post by Mark Millard
:1999 -fstack-protector-strong -Wsystem-headers -Werror -Wall
-Wno-format-y2k
Post by Mark Millard
-Wno-uninitialized -Wno-pointer-sign -Wno-empty-body
-Wno-string-plus-int -W
Post by Mark Millard
no-unused-const-variable -Wno-tautological-compare -Wno-unused-value
-Wno-par
Post by Mark Millard
entheses-equality -Wno-unused-function -Wno-enum-conversion
-Wno-unused-local
Post by Mark Millard
-typedef -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum
-Wno-knr-
Post by Mark Millard
promoted-parameter -Qunused-arguments -o brk_test.full brk_test.o
-lprivat
Post by Mark Millard
eatf-c
brk
Post by Mark Millard
referenced by brk_test.c:52
(/usr/src/lib/libc/tests/sys/brk_test.c:52)
Post by Mark Millard
brk_test.o:(atfu_brk_basic_body)
sbrk
Post by Mark Millard
referenced by brk_test.c:55
(/usr/src/lib/libc/tests/sys/brk_test.c:55)
Post by Mark Millard
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 <***@FreeBSD.org>
https://lwhsu.org

Loading...