Date: Wed, 27 Aug 2014 05:56:16 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 193056] New: [build] [dtrace] some of the sources fail to compile/link vs clang Message-ID: <bug-193056-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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@FreeBSD.org Reporter: ngie@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-193056-8>