[Bug 193056] New: [build] [dtrace] some of the sources fail to compile/link vs clang
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Aug 27 05:56:17 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193056
Bug ID: 193056
Summary: [build] [dtrace] some of the sources fail to
compile/link vs clang
Product: Base System
Version: 11.0-CURRENT
Hardware: Any
OS: Any
Status: Needs Triage
Severity: Affects Some People
Priority: ---
Component: bin
Assignee: freebsd-bugs at FreeBSD.org
Reporter: ngie at FreeBSD.org
/usr/src/tools/test/dtrace/../../../cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/tst.weak2.c:49:2:
warning: implicit declaration of function '_go' is invalid in C99
[-Wimplicit-function-declaration]
_go(1);
^
/usr/src/tools/test/dtrace/../../../cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/tst.weak2.c:38:14:
warning: weak identifier 'go' never declared
#pragma weak _go = go
^
2 warnings generated.
/tmp/tst-f5fc99.o: In function `handle':
/usr/src/tools/test/dtrace/../../../cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/tst.weak2.c:(.text+0x5d):
undefined reference to `_go'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1
Stop.
make: stopped in /usr/src/tools/test/dtrace
Here's a full diff of what needs to be massaged for clang and to integrate the
test suite into ATF/kyua:
https://github.com/yaneurabeya/freebsd/pull/11
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list