pkgsrc-Users archive

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

Re: __stack_chk_fail_local pkgsrc with gcc4.8 (was Re: minimum gcc to compile pkgsrc?



And it went OK, as expected. My compilation of blender is still a go. 

Chavdar

On Fri, 4 Aug 2017 at 19:19 Chavdar Ivanov <ci4ic4%gmail.com@localhost> wrote:
I just got:
....
.buildlink/lib  -Wl,-rpath -Wl,/usr/pkg/lib   -Wl,-soname -Wl,liblapack.so.4 -o ../.libs/liblapack.so.4.0.0
ld: cannot find -lssp_nonshared
ld: cannot find -lssp
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/math/lapack/work/lapack-3.7.0/SRC
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/math/lapack/work/lapack-3.7.0
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/math/lapack
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/math/lapack

I will try with PKGSRC_USE_{SSP|FORTIFY}=no next.

Chavdar Ivanov

On Wed, 2 Aug 2017 at 19:39 <coypu%sdf.org@localhost> wrote:
hi gene,

in pkgsrc-current, PKGSRC_USE_SSP=yes and PKGSRC_USE_FORTIFY=yes
became the default values. so we will attempt to pass -fstack-protector.

It's possible it was broken on netbsd-6.

It's possible your version of gcc48 was broken, I had to change it to
allow -fstack-protector to work. although it failed differently. Using
the latest eliminates this question.

And it's possible a few packages were broken for everyone with
SSP/FORTIFY.


Home | Main Index | Thread Index | Old Index