$ c2ps 
*** buffer overflow detected ***: c2ps terminated
Aborted

 Downloading source from
  http://www.cs.technion.ac.il/users/c2ps/c2ps-4.0.tar.gz
 and compiling gives the same result:

$ /Net/http/www.cs.technion.ac.il/users/c2ps/c2ps-4.0/c2ps -2 tap.c  > zz.ps
*** buffer overflow detected ***: 
/Net/http/www.cs.technion.ac.il/users/c2ps/c2ps-4.0/c2ps terminated
Aborted

 Removeing -O in Makefile:
$ diff Makefile*
6c6
< CCFLAGS =       
---
> CCFLAGS =       -O

 and recompiling solves the issue:
$ /Net/http/www.cs.technion.ac.il/users/c2ps/c2ps-4.0/c2ps -2 tap.c  > zz.ps
tap.c                        2 pages printed                           

 O2 doesn't work either.

 Perhaps this makes the error messages to appear:
$ grep STACKPROT /boot/config-4.11.12-rt16-1 
CONFIG_HAVE_CC_STACKPROTECTOR=y
CONFIG_CC_STACKPROTECTOR=y
# CONFIG_CC_STACKPROTECTOR_NONE is not set
CONFIG_CC_STACKPROTECTOR_REGULAR=y
# CONFIG_CC_STACKPROTECTOR_STRONG is not set

Regards,
/Karl Hammar


Reply via email to