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?



I see. Lapack compiled with g95, which was built yesterday, but is based on gcc 4.1.2:
...
 g95 --version
G95 (GCC 4.1.2 (g95 0.93!) Aug  3 2017)
...

Otherwise the system gcc is 5.4, I have compiled sometimes ago gcc7.1 (because of gfortran, with which I was able to build R), and also gcc 4.8 which something else brought in, but I have no statements in /etc/mk.conf to choose one or another. 



On Fri, 4 Aug 2017 at 19:31 <coypu%sdf.org@localhost> wrote:
On Fri, Aug 04, 2017 at 06:19:04PM +0000, Chavdar Ivanov 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

I have fixed this some time ago, update gcc48/49. (Unless you are using
something else?)

It was a change to configure to make it understand netbsd has a libssp
in its libc, and that it should not try to link with its own (which we
do not build explicitly).


Home | Main Index | Thread Index | Old Index