Re: dtrace -G vs. -flto

2017-11-27 Thread Mark Johnston
On Tue, Nov 28, 2017 at 01:34:00AM +0100, Jan Beich wrote: > I'd like to build www/firefox with both DTrace and LTO support. Both > Clang and GCC emit code that dtrace(1) doesn't understand. Unfortunately, both gcc and clang's LTO implementations are completely incompatible with the way that

dtrace -G vs. -flto

2017-11-27 Thread Jan Beich
I'd like to build www/firefox with both DTrace and LTO support. Both Clang and GCC emit code that dtrace(1) doesn't understand. $ cat main.c #include #include int main() { DTRACE_PROBE(test, foo); sleep(300); return 0; } $ cat test.d provider test { probe foo(); }; $ clang50