F21 system GCC changed to 4.9.0 prerelease
pmatilai at laiskiainen.org
Fri Apr 11 08:32:53 UTC 2014
On 04/10/2014 05:38 PM, Richard W.M. Jones wrote:
> On Thu, Apr 10, 2014 at 12:23:07PM +0200, Jakub Jelinek wrote:
>> To investigate runtime rather than compile time
>> issues, please consider using temporarily -fsanitize=undefined and/or
>> -fsanitize=address to look for undefined behavior in the packages
>> you own.
> Which is this in case anyone else was wondering:
> Enable AddressSanitizer, a fast memory error detector. Memory
> access instructions will be instrumented to detect out-of-bounds
> and use-after-free bugs. See
> <http://code.google.com/p/address-sanitizer/> for more details.
> The run-time behavior can be influenced using the 'ASAN_OPTIONS'
> environment variable; see
> for a list of supported options.
Also in case anybody else wonders about gcc failing to recognize these
options, you'll need to add BuildRequires for these: libasan for
-fsanitize=address and libubsan for -fsanitize=undefined (and similarly
for leak and thread sanitizers )
- Panu -
More information about the devel