Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Oct 2016 23:48:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 213863] dns/unbound fails to build on arm64 (no sbrk)
Message-ID:  <bug-213863-13-5OPDfeFGFZ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-213863-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-213863-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213863

--- Comment #2 from Ed Maste <emaste@freebsd.org> ---
configure just compiles conftest.c containing sbrk() into conftest.o; it do=
es
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)
%

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-213863-13-5OPDfeFGFZ>