This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/65639] -nostdlib/-nodefaultlibs should not affect ASan runtime
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 06 Apr 2015 14:34:25 +0000
- Subject: [Bug driver/65639] -nostdlib/-nodefaultlibs should not affect ASan runtime
- Auto-submitted: auto-generated
- References: <bug-65639-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65639
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
IMNSHO the GCC behavior is desirable. If you use these flags, you should take
care of linking all the needed runtimes, making a weird exception just for one
runtime is IMHO very much undesirable.
-nostdlib isn't just about libc, but about libgcc, libstdc++ etc., you name it.