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:reply-to:subject:references:to:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=CLHa2tMAvJozSd28 VlZOLBvNORN2+JZ4DVM6rrQdfwa9m50fk8ezQqW/xoczagJQQXCjdp9pEKmnZjK0 8ZSXJty/nIpv/Kv5n576luPPxTzSaLlJ1y0FWS4iuc7NR1TaWiZSLiS6YLk6TIpd /52Vh9gNcOs07/3K3irrAdiQ6SA= 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:reply-to:subject:references:to:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=e2MaLKy3HmWC/J/a1o5n5l 1n7jQ=; b=WZjAbZa2oNL5oD0NQZf/83Z/KyuxpOtc4ITqHDq0CyZpDdVNe35xoy jOeJpQezfgThu0S+A6ydRtC/9f70TSpp2nv2KbJZdS+VAohCZCVtwMf4/VCzZXG4 idFU44OYXkzUk1hleGaIbUIaAulHt81i8k1ZYQTtFDrsdtkKjU3H0= 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-Virus-Found: No X-Spam-SWARE-Status: No, score=0.3 required=5.0 tests=AWL,BAYES_40,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=calgary, Calgary, H*RU:64.59.134.13, Hx-spam-relays-external:64.59.134.13 X-HELO: smtp-out-no.shaw.ca X-Authority-Analysis: v=2.2 cv=VYS1Bxh9 c=1 sm=1 tr=0 a=WqCeCkldcEjBO3QZneQsCg==:117 a=WqCeCkldcEjBO3QZneQsCg==:17 a=IkcTkHD0fZMA:10 a=w_pzkKWiAAAA:8 a=b4eMD0GmHX_ZvWjD-W0A:9 a=QEXdDO2ut3YA:10 a=MP2Ns1xdqCcA:10 a=buB1NfXUTBUA:10 a=sRI3_1zDfAgwuvI8zelB:22 Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca Subject: Re: Problem with Python programs with binary components, who to blame? References: <156f59f4272 DOT c6a11ec33673 DOT 3924353846235894325 AT zoho DOT com> To: cygwin AT cygwin DOT com From: Brian Inglis Message-ID: <208ad79b-35dd-0d71-4949-3fc51c4bf044@SystematicSw.ab.ca> Date: Sun, 4 Sep 2016 14:34:39 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <156f59f4272.c6a11ec33673.3924353846235894325@zoho.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4wfOk7t9GLLqu9QMKmSsy5YV9LD0CfwZfMpPF+b6RWs0LbiX/t6GThQrl1bkOZr9NFVlc/RIy2jDLfzwC4y32eX3LsFJ2z7m2Pw8MMUddYrWKTp3mdysvF OOeAm1wUlqWa6+coyR0kUsCzVfzkosg6L3A2Gg0dbJxdFTSJao2KGWMSZtBJKR1D+U5aoIfTygWajw== X-IsSubscribed: yes On 2016-09-04 08:34, Patrick Pief wrote: > Before writing any formal bug report I thought I might ask first whether the > problem I am seeing is something that can be even fixed from Cygwin's side. > The issue has to do with the compilation of Python binary packages for Python > inside Cygwin (Python installed as a Cygwin package as opposed to Python for > Windows). > The problem starts to show as gcc warnings: "[…] redeclared without dllimport > attribute: previous dllimport ignored", and ends with linkers errors such as: > "relocation truncated to fit [...] against undefined symbol". > I am guessing the problem might actually lie within the Python sources itself > but I am not entirely sure. > So is this some issue that is even worth further research and filing a bug > report here? Hi Patrick, Read about cygwin dll exports and imports at https://cygwin.com/cygwin-ug-net/dll.html You may want to find a similar Cygwin Python module and look at the source package (something called python-...-v.n-p-src) to see how it is built using cygport, which takes care of some Cygwin specific differences in builds. If you still have issues, please provide all the information requested by: https://cygwin.com/problems.html which includes attaching cygcheck and build output logs. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada -- 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