pkgsrc-Users archive

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

Re: sysutils/xenkernel4[68] build errors on NetBSD 7



In Message <962a16d693c037ef79e9611ad39b5ded.squirrel%www.duzan.org@localhost>,
   gary@duzan.orgwrote:

=>"Roy Marples" <roy%marples.name@localhost> wrote:
=>=>
=>=> I see the same on -current.
=>=> Are you using clang?
=>=> If so, have you tried gcc?
=>
=>   No, I'm using gcc. The build looks like it is using
=>-fno-stack-protector, which should prevent this, but it seems that
=>cwrappers is putting it back. I'll look deeper when I get a chance.

   This appears to be the issue:

mk/defaults/mk.conf:
    252 PKGSRC_USE_SSP?= yes

With this in place, cwrappers sets -fstack-protector, which conflicts
with what the package wants. Manually removing it from
work/.cwrapper/config/cc after the configure step or setting
PKGSRC_USE_SSP=no in the Makefile allows the build to complete
successfully.

				Gary Duzan


Home | Main Index | Thread Index | Old Index