Compiling the bin86 package in current trunk stops with: *** buffer overflow detected ***: ncc terminated
when ncc is called for the first time. This is because -D_FORTIFY_SOURCE=2 is added to the default CFLAGS in an increasing number of gcc based distributions. This enables extra compile-time and run-time checking above and beyond what is normal. Obviously, there is a security problem in ncc ;-) But, who cares ... Below is a patch to fix this. Keep on rocking Joerg --- dev86-0.16.17/makefile.in.orig 2009-03-05 21:49:12.000000000 +0100 +++ dev86-0.16.17/makefile.in 2009-03-05 21:41:48.000000000 +0100 @@ -42,7 +42,7 @@ WALL =-Wall -Wstrict-prototypes CC =%CC% -CFLAGS =$(GCCFLAG) $(WALL) -O2 -g +CFLAGS =$(GCCFLAG) $(WALL) -O2 -g -D_FORTIFY_SOURCE=0 #endif #ifndef GNUMAKE ------------------------------------------------------- ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [email protected] with a subject of: unsubscribe t2
