NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [pkgsrc] ICU needs configure CFLAGS='-03'

On Tue, Nov 14, 2017 at 03:21:47PM +0100, wrote:
> On Tue, Nov 14, 2017 at 03:08:29PM +0100, Benny Siegert wrote:
> > Can you post the entire config.log?
> > 
> Attached.
> (Indeed there is the info: libssp not found---what is it?)


SSP is a compiler security mitigation.
In C are some functions which are more prone to buffer overflows, and
while there are better functions to use, they still exist in a lot of
code (and are easier to use).

I think the compiler inserts fake values to the end of buffers and
checks if it has been modified, and so it can terminate the program if
an overflow had happened (as opposed to possibly allowing code

netbsd did not want to supply libssp, an independent library from GCC,
and so provides the same in libc. GCC had to be taught not to build
libssp on netbsd, but didn't in the past.

The problem you have is likely an older gcc48/49 package that does not
contain the fixes not to think netbsd built with -lssp and
-lssp_nonshared.  Others have fixed some more changes.

Home | Main Index | Thread Index | Old Index