https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66780

--- Comment #7 from John Paul Adrian Glaubitz <glaubitz at physik dot 
fu-berlin.de> ---
(In reply to John Paul Adrian Glaubitz from comment #0)
> To reproduce:
> 
> $ wget
> http://http.debian.net/debian/pool/main/p/procps/procps_3.3.10.orig.tar.xz
> $ tar xf procps_3.3.10.orig.tar.xz
> $ cd procps-3.3.10
> $ export CFLAGS="-g -fstack-protector-strong -Wformat
> -Werror=format-security" ; export "CXXFLAGS=-g -fstack-protector-strong
> -Wformat -Werror=format-security" ; ./configure ; make
> $ ./ps/pscommand 
> Signal 11 (SEGV) caught by lt-pscommand (procps-ng version 3.3.10).
> /root/procps/procps-3.3.10/ps/.libs/lt-pscommand:display.c:66: please report
> this bug
> Segmentation fault
> $

Alright, just re-tested this with gcc-4.9_4.9.3+sh4 which I built manually with
Kaz' patch applied. The segmentation fault is gone, at least for procps.

Will do further testing, just to be safe.

Adrian

Reply via email to