-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Closed
Labels
A-linkageArea: linking into static, shared libraries and binariesArea: linking into static, shared libraries and binaries
Description
Currently the compiler unconditionally passes -nodefaultlibs
(or the platform equivalent) to the linker. Unfortunately though this actually causes linking to fail in some circumstances. Some investigation has shown that when compiled with -fsanitize=address
this has been seen to cause problems and cause link errors.
While there may be more bugs to fix here on various sides, we should have an option to disable passing this flag!
Metadata
Metadata
Assignees
Labels
A-linkageArea: linking into static, shared libraries and binariesArea: linking into static, shared libraries and binaries