diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2016-01-25 22:29:32 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2016-01-25 22:29:32 +0000 |
commit | be8db63a6d95a989173dac841a06dcb0a8bfa946 (patch) | |
tree | a768fbe701fde3b22e73c39db19c881adbe8a563 /contrib/llvm/lib/Support/Unix/Unix.h | |
parent | a37536fa6d524c48991ba9c95188115135271f05 (diff) | |
download | FreeBSD-src-be8db63a6d95a989173dac841a06dcb0a8bfa946.zip FreeBSD-src-be8db63a6d95a989173dac841a06dcb0a8bfa946.tar.gz |
Fix incremental build of dtrace probes.
Currently dtrace(1) -Go does not properly rebuild the target if it
exists. It results in missing symbols.
dtrace -C -x nolibs -G -o usdt.o -s /root/git/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/json/usdt.d tst.usdt.o
dtrace: target object (usdt.o) already exists. Please remove the target
dtrace: object and rebuild all the source objects if you wish to run the DTrace
dtrace: linking process again
cc -O2 -pipe -O0 -g -I/root/git/freebsd/cddl/usr.sbin/dtrace/tests/common/json -std=gnu99 -fstack-protector-strong -Qunused-arguments -o tst.usdt.exe.full tst.usdt.o usdt.o
tst.usdt.o: In function `main':
/root/git/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/json/tst.usdt.c:56: undefined reference to `__dtrace_bunyan_fake___log__debug'
/root/git/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/json/tst.usdt.c:60: undefined reference to `__dtrace_bunyan_fake___log__debug'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [tst.usdt.exe.full] Error code 1
This is a consequence of r212358.
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'contrib/llvm/lib/Support/Unix/Unix.h')
0 files changed, 0 insertions, 0 deletions