On 2011-12-26 22:07, Volodymyr Kostyrko wrote:
26.12.2011 17:57, Sergey Kandaurov wrote:
...
ftpd.o: In function `pass':
/usr/src/libexec/ftpd/ftpd.c:(.text+0x2676): undefined reference to
`__FreeBSD_libc_enter_restricted_mode'
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
*** Error code 1

This means that linker has not found a mentioned symbol, i.e. likely
you haven't updated your libc before trying to build ftpd.
In this case you need to act the next order:
1) rebuild&&   reinstall libc
2) rebuild&&   reinstall ftpd

Oh yes, I just remembered those sweet days I was sitting on HEAD. Each
build was a trial/error process.

And I'm not seeing this when compiling world with stock gcc or on i386.
It looks like rather nasty clang regression.

For me, stable/9 builds just fine with clang (or gcc), and the tinderbox
isn't complaining either.  Are you sure you are running buildworld,
which is definitely necessary for this kind of upgrade?
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to