[Bug 213863] dns/unbound fails to build on arm64 (no sbrk)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Oct 30 23:48:08 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213863

--- Comment #2 from Ed Maste <emaste at freebsd.org> ---
configure just compiles conftest.c containing sbrk() into conftest.o; it does
not link it

Running it manually,
% cc -c  -g -O2 -D_THREAD_SAFE -pthread -Werror conftest.c
% echo $?
0

But actually trying to link it,
% cc -g -O2 -D_THREAD_SAFE -pthread -Werror conftest.c
/tmp/ss-1109f6.o: In function `main':
/scratch/emaste/unbound/conftest.c:179: undefined reference to `sbrk'
/scratch/emaste/unbound/conftest.c:179: undefined reference to `sbrk'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
%

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list