cuitao2046 / gperftools

Automatically exported from code.google.com/p/gperftools
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

-Wp,-D_FORTIFY_SOURCE=2 causes compilation issues #263

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compile with -Wp,-D_FORTIFY_SOURCE=2 in CXXFLAGS
2. Lots of files get built as 0 files, causing compile failure when it goes to 
link the libraries.

This happens on Fedora 14 (rawhide), with gcc 4.5. I've disabled 
-Wp,-D_FORTIFY_SOURCE=2 temporarily, but it would be good to be able to 
re-enable this.

Original issue reported on code.google.com by spo...@gmail.com on 6 Aug 2010 at 2:25

GoogleCodeExporter commented 9 years ago
Please attach the full output of when you run configure and make.  It may also 
be helpful to attach your config.log file.

Original comment by csilv...@gmail.com on 8 Aug 2010 at 2:38

GoogleCodeExporter commented 9 years ago
Any more info on this?

Original comment by csilv...@gmail.com on 10 Jan 2011 at 3:04

GoogleCodeExporter commented 9 years ago
This must have been a compiler bug, because I can no longer reproduce it with 
the latest toolchain in Fedora 14.

Original comment by spo...@gmail.com on 10 Jan 2011 at 3:11

GoogleCodeExporter commented 9 years ago
Thanks for the info.  I'll close as CannotReproduce then.  Hopefully it won't 
crop up again...

Original comment by csilv...@gmail.com on 10 Jan 2011 at 3:20