X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:references :in-reply-to:content-type:content-id:content-transfer-encoding :mime-version; q=dns; s=default; b=fxrbJV4i0VcnRzpgp+VKR4W4BN/SA HXR+7RhPkZXdplIbYWj+5rkM5BhhMUOKFWxf+5jxzeqcivCJW/1DMko/Wpetue5e WCrNT/p+Lz0iuvZM2vKieDqcoTnoZ6F6VtmW+CMRhpNL7+glcbqPdPKNPwaSgnd0 YpFfNObxMXSc0A= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:references :in-reply-to:content-type:content-id:content-transfer-encoding :mime-version; s=default; bh=qhiUk89G3Yo0gbrTYzg/ije0jCk=; b=jET QCevnN/STwiOg5q1iIQb3YG+QGV5Vn9bbJ9L7dQQQtQW69hr2hOPJM4TiKtprNUf Ki7HOkQ2/szWF0dQnYUMkwTH8gwj2pO1T3LSbXWgFlwGaBuE8R96KKMeUEzKYmRh Z5k9xeR/zVlkx7bSqxeQzVPmfaa215Bo8Szx/OF4= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: NAM05-DM3-obe.outbound.protection.outlook.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cornell.edu; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VKRpfvgqpWpI8xKwSRLMIPa/OU3/xgQnr2rqiIpP5tw=; b=Z8mlFlpDT0N33Nm34WPslCu2IQRyANKZQBONR9vvYM7xnP2ZkVDHP4V5khysWfrdH9GKBTTwr9tYHby2RsWqnQXmf39lf7vBjO//7xXSPgx0G1tza8/UW3fNCgY1NpSvd5he96e2mE9zyx1Gzk89l2LQytUi3BglJm45Usk9K84= From: Ken Brown To: "cygwin AT cygwin DOT com" Subject: Re: Missing `alloca` symbol - help? Date: Tue, 16 Oct 2018 02:26:04 +0000 Message-ID: <771d665d-b7bd-18b8-44b3-59441d3fbc21@cornell.edu> References: In-Reply-To: user-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 received-spf: None (protection.outlook.com: cornell.edu does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=kbrown AT cornell DOT edu; Content-Type: text/plain; charset="utf-8" Content-ID: <6A7D2B70DEBD0842866A1E229D90434F AT namprd04 DOT prod DOT outlook DOT com> MIME-Version: 1.0 X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id w9G2QIaX001988 On 10/15/2018 9:20 PM, Murray Christopherson wrote: > I'm not certain this is a problem with Cygwin, but I am unable to find any > issue by looking over the project in question, so I thought I'd ask. Is > this an obvious bug, either in Cygwin or the project itself? > [...] > # Observed result > Fails to install. Particularly, the error output makes multiple mentions of > `undefined reference to `alloca'` during linking (full error log at > https://github.com/theacodes/cmarkgfm/issues/13). > > # Notes > As far as I can tell, `alloca` is a standard Unix function (though > deprecated). Also, in Cygwin, `/usr/includes/alloca/h` exists, suggesting > the function _should_ exist to be linked without further packages? alloca is defined in /usr/include/alloca.h as a macro expanding to __builtin_alloca. The linking error you report suggests that there's a missing "#include " in the source code that's being compiled. This is also confirmed by the gcc warnings in your full log. Ken -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple