Page MenuHomeFreeBSD

Install dtrace.h and depedencies
ClosedPublic

Authored by arichardson on Jan 1 2021, 7:16 PM.
Tags
None
Referenced Files
F81618001: D27884.id.diff
Fri, Apr 19, 1:31 AM
Unknown Object (File)
Feb 23 2024, 11:13 AM
Unknown Object (File)
Feb 11 2024, 12:01 AM
Unknown Object (File)
Dec 20 2023, 9:05 PM
Unknown Object (File)
Dec 20 2023, 3:21 AM
Unknown Object (File)
Nov 20 2023, 12:08 PM
Unknown Object (File)
Sep 21 2023, 2:39 AM
Unknown Object (File)
Sep 16 2023, 3:43 AM
Subscribers

Details

Summary

This makes the minimum amount of changes to allow inclusion of dtrace.h
without all the solaris compatibility headers. Installing dtrace.h allows
compiling consumers of libdtrace (e.g. https://github.com/tmetsch/python-dtrace)
without requiring a copy of the source tree.
For python-dtrace I worked around this in https://github.com/tmetsch/python-dtrace/commit/58019c9a12022203a9ffda286dd8b41f1a5ace42
but being able to build the library without installed sources would be
extremely useful.

Test Plan

basic test program compiles, not tried tinderbox yet.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Needs some more changes to avoid -Werror,-Wtypedef-redefinition

Fix amd64 buildworld+buildkernel

This revision is now accepted and ready to land.Jan 5 2021, 4:05 PM
This revision was automatically updated to reflect the committed changes.