[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: freebsd6 "port"
[Thread Prev] | [Thread Next]
- Subject: Re: freebsd6 "port"
- From: Aris Adamantiadis <aris@xxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Wed, 04 Nov 2009 10:34:42 +0100
- To: libssh@xxxxxxxxxx
Hello,I got the problem. Under freebsd it is needed to link with -fstack-protector if one source file was compiled with it.
But I tried your patch, it didn't change anything. There was no warning with it either, are you sure it's needed ?
Andreas, could you have a look in cmake ? I couldn't find which command to use to add a link parameter if WITH_STACK_PROTECTOR is set.
Btw I am amazed to see that recent versions of libssh are in the freebsd ports. That's a good thing :)
Thanks for the report, Aris Vic Lee wrote:
Hi Aris, Use the dereference way to call function pointers should fix it. #ifdef HAVE_LIBGCRYPT (*(crypto->cbc_encrypt))(crypto, data, out, len); #elif defined HAVE_LIBCRYPTO (*(crypto->cbc_encrypt))(crypto, data, out, len, session->current_crypto->encryptIV); #endif Vic On Tue, 2009-11-03 at 20:48 +0100, Aris Adamantiadis wrote:Alexander,This looks more like a linking problem with the latest stack protector in freebsd. I don't know how to deal with that ...Thanks for the feedback. Aris Alexander Logvinov a écrit :Hello! Hm, there is a new error with samples build: http://tb.logvinov.com/errors/8-CURRENT-dev-i386/libssh-0.3.91.log Best regards, Alexander
Re: freebsd6 "port" | Vic Lee <llyzs@xxxxxxx> |
Re: freebsd6 "port" | Aris Adamantiadis <aris@xxxxxxxxxxxx> |
Re: freebsd6 "port" | Vic Lee <llyzs@xxxxxxx> |