[Bug 230137] cc: -flto link option is broken: unrecognized option '-plugin'

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jul 30 00:24:36 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230137

Ed Maste <emaste at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |emaste at freebsd.org

--- Comment #3 from Ed Maste <emaste at freebsd.org> ---
You can give this a try:
% cc -c -emit-llvm x.c -o x.o && cc -fuse-ld=lld -shared -flto x.o -o x.so

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list