Track -dynamic/-fPIC to avoid obscure linker errors
Using the wrong combination of -dynamic
and/or -fPIC
can lead to obscure linker errors, see e.g. #3705 (closed). We should track whether an object file was compiled with -dynamic
and -fPIC
so that we can give better error messages before running the linker.
See also [)](TicketQuery(id=3712)
Trac metadata
Trac field | Value |
---|---|
Version | 6.10.4 |
Type | Task |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |