X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org EF7A33857009 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=t9Zg4DaldEPFjxamdgARpT0n+efwj72+Y4cQ8MiB2Zw=; b=ELnItrAsopJk/gNIJfg+zMGDtTO0tmeFQNDu1+V4hlf4fHRO9rEVFq0gqpXI4UbAb6 IdO2h8bKBE0pW317wODaCzIW1F95cOIVxvlSCvzxmN5AYl1gqTZ+0cTAQygasN46BImQ 1KyXQfcbilBvEU66OaQlYriI0Il7Ukje8z4K/UdK0TECi0SxODz9mgDPgjLcflqtGDWr ugKB08nYLg3J9JsP5Hsx8d5rfMQD0G6ul7vZth/YpfU/ltvjK8/VZNImKBoh0/RPt49m /ZpFZK0lEdsT2SMR0vgrfM7WH9mFZh2BxbE9ZQrpiP2udt8ZZg8lWPmvHc0ZAp4342AU vdjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=t9Zg4DaldEPFjxamdgARpT0n+efwj72+Y4cQ8MiB2Zw=; b=Nnf/CAM7hVfwqrWsbswl068KGKUMtfcH1KS48ABTefmMg+iZMNfOtIcOAmizZaNFaF RkKJ1SHHgYWv1BuZL2TI5EQpctgzed/N4RSAT5BEW3k+u6Dtz13Zx2dxBkhOYfRsVivx ZZr6oZSIado3PjH8537O6VOPmSGHJFcRtGBskWVioobO+u8+lpUDiHzHtKohN1/xDoy1 h3QRSm9jwvQ5l5fULELcnaS28WXY7Za5WglmUjnVqIk/RdGioL5CdaTDd1+pN6304V9j 2U1C+T8Vng6Wm9xmDktZXL/wDp+oByfXJKhNJzn84hmQNlIQ52YkTiwDOTyMQB5fpnUP JQnQ== X-Gm-Message-State: AOAM530ircp1H3MzP62WdJNAcCLAGHHZjgjKcGQQPWzhjC2QfMglqKc3 43Pj0fCOgeLSjAibK0wssEyK7dZCWSATjctn+ff7DyjQTx4= X-Google-Smtp-Source: ABdhPJyQ2YkZVxRkSIqVSycOZderd4M+nj9/yyZ9t0P9hT7TT/AP/WdWfVVXCnIGarrzXfEnS2dopuCpHfIfp203unw= X-Received: by 2002:a05:6402:84c:: with SMTP id b12mr5489552edz.321.1642796553109; Fri, 21 Jan 2022 12:22:33 -0800 (PST) MIME-Version: 1.0 References: <12baa6c4-ce6f-2904-0295-4fd4b946369c AT gmail DOT com> <01920794-91a0-19db-332c-9ec026c06fbe AT gmail DOT com> In-Reply-To: <01920794-91a0-19db-332c-9ec026c06fbe@gmail.com> From: "Carlo B." Date: Fri, 21 Jan 2022 21:22:22 +0100 Message-ID: Subject: Re: CMake support into libssh-0.8.7-1 is broken. To: cygwin AT cygwin DOT com X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 20LKP7Yr017493 Hello, Il giorno gio 20 gen 2022 alle ore 20:07 Marco Atzeri 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. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple