CMake support into libssh-0.8.7-1 is broken.

Carlo B. carlo.bramini@gmail.com
Fri Jan 21 20:22:22 GMT 2022


Hello,

Il giorno gio 20 gen 2022 alle ore 20:07 Marco Atzeri
<marco.atzeri@gmail.com> ha scritto:
>
> On 15.01.2022 14:19, Marco Atzeri wrote:
> > On 14.01.2022 23:30, Carlo B. wrote:
> >> Hello,
> >> I discovered that CMake support into current libssh-0.8.7-1 is broken.
> >> After you installed the development package, you just need to add this
> >> line into a dummy CMakeLists.txt:
> >>
> >>
> >> find_package(libssh)
> >>
> >>
>
> >>
> >> So, I downloaded the latest sources from the repository: GCC still
> >> emits an internal compiler error, but only when building the examples.
> >> So I configured with -DWITH_EXAMPLES=OFF and I got the base library
> >> compiled.
> >> Here, I verified that the macros for CMake are generated correctly
> >> with the right names and paths.
> >>
> >> Is it possible to fix or update this package?
> >> Thank you very much for your time.
> >>
> >> Sincerely.
> >>
> >
> > noted
> >
> > Regards
> > Marco
> >
>
> what´s happening if  you try to use libssh2 ?
>

Thank you for the reply.
Unfortunately, I doubt that it can be possible because libssh is
required for building Codelite for CYGWIN.
About the crash of CYGWIN GCC when building the latest source of
libssh, this is caused by the "-fstack-clash-protection" option.
However, according to this issue at bugzilla for GCC:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90458

it should not be used when the target platform is Windows and derivates.

> Currently libssh is without maintainer and it is anyway obsolete
> so probably you should build with libssh2
>
This is a bad news actually, I mean the missing maintaner.

Sincerely.


More information about the Cygwin mailing list