bug#19784: build fails on make-prime-list when asan is enabled

2015-02-05 Thread Yury Usishchev
Hello! We tried to build coreutils with address sanitizer enabled and encountered an error: GEN src/primes.h ==12657== ERROR: AddressSanitizer: heap-buffer-overflow This can be reproduced on git master using gcc-4.8 or gcc-4.9 by git clone export CFLAGS=-fsanitize=address ./bootstrap

bug#19784: build fails on make-prime-list when asan is enabled

2015-02-05 Thread Pádraig Brady
On 05/02/15 15:21, Yury Usishchev wrote: Hello! We tried to build coreutils with address sanitizer enabled and encountered an error: GEN src/primes.h ==12657== ERROR: AddressSanitizer: heap-buffer-overflow This can be reproduced on git master using gcc-4.8 or gcc-4.9 by git

bug#19784: build fails on make-prime-list when asan is enabled

2015-02-05 Thread Yury Usishchev
On 02/05/2015 09:06 PM, Pádraig Brady wrote: On 05/02/15 15:21, Yury Usishchev wrote: Hello! We tried to build coreutils with address sanitizer enabled and encountered an error: GEN src/primes.h ==12657== ERROR: AddressSanitizer: heap-buffer-overflow This can be reproduced on git