On Fri, 12 Jul 2019 at 14:37, Bram Moolenaar <b...@moolenaar.net> wrote:

> It looks like you run into the false-positive fortify check.
> Although the build log mentiones -D_FORTIFY_SOURCE=1 it behaves like a
> higher fortify level was used.

Thanks for your input Bram. I wanted to make a couple of checks before
getting back you.

In pkgsrc, as default we have:

PKGSRC_USE_FORTIFY?= strong

As explained here:
http://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/mk/defaults/mk.conf

PKGSRC_USE_FORTIFY?= strong
# Turns on substitute wrappers for commonly used functions that do not bounds
# checking regularly, but could in some cases. This is effectively in use only
# when both enabled and supported.
# Possible values:
# no:     Do not pass any flags for FORTIFY
# weak:   Pass -D_FORTIFY_SOURCE=1
# strong: Pass -D_FORTIFY_SOURCE=2
# Default: strong


I have rebuilt with PKGSRC_USE_FORTIFY?=weak

and this seems to produce an installation that doesn't crash.

I've passed this information to pkgsrc-users and the editors/vim
package maintainer.

Thanks for you assistance.




-- 
Ottavio Caruso

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/CAEJNuHwiYMzGNxGMAnPzed8jQY1tKOUkE4T39exLcdpiCJ55EA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to