https://bugs.llvm.org/show_bug.cgi?id=40612
Bug ID: 40612
Summary: Solaris ld -z discard-unused=section and --gc-section
only supported on newer releases
Product: new-bugs
Version: unspecified
Hardware: PC
OS: Solaris
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
The LLVM CMake modules emit the ld(1) option '-z discard-unused=section' (and
--gc-sections) for linking. These flags are new (in Solaris terms at least)
and are also not yet supported on illumos variants.
I suspect we should put those flags behind a feature test when the platform is
SunOS.
Assuming the feature test approach is acceptable, I'm working on a patch to
submit that'd do that.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs