Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] openssh 5 mask
Date: Thu, 15 May 2008 13:00:59
In Reply to: Re: [gentoo-alt] openssh 5 mask by Matt Michalowski
On 15-05-2008 22:46:13 +1000, Matt Michalowski wrote:
> This is what I get with openssh-5.0_p1-r1 on amd64-linux: > x86_64-pc-linux-gnu-gcc -o ssh ssh.o readconf.o clientloop.o sshtty.o > sshconnect.o sshconnect1.o sshconnect2.o -L. -Lopenbsd-compat/ > -fstack-protector -lssh -lopenbsd-compat -L/opt/hwbp/usr/lib64 -lssl > -lcrypto -ldl -lutil -lz -lnsl -lcrypt -lresolv -lresolv > ssh.o: In function `env_permitted': > ssh.c:(.text+0x220): undefined reference to `__stack_chk_fail'
> The problem is that the openssh configure checks that the compiler supports > -fstack-protector which succeeds: > configure:5418: checking if x86_64-pc-linux-gnu-gcc supports > -fstack-protector
> Yet the toolchain.eclass has configured gcc with --disable-libssp, so I > don't have libssp. A couple of solutions I can think of but haven't tried: > - configure openssh with --without-stackprotect > - get toolchain.eclass to --enable-libssp and ensure SSP works > > So in my opinion, best left masked for now.
Thanks for the in depth explanation. I'd not be surprised if Solaris actually has the same problem. I've no idea of it in the main tree, but since it doesn't even compile on Linux, I'd say, keep it masked. If Interix needs it, and has it compiling all the way, Markus use package.unmask in the interix profile. -- Fabian Groffen Gentoo on a different level -- gentoo-alt@l.g.o mailing list


Subject Author
RE: [gentoo-alt] openssh 5 mask Markus Duft <mduft@g.o>