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: [email protected]
          Reporter: [email protected]

/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.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to