From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 42425 invoked by alias); 4 Sep 2016 20:34:53 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 42406 invoked by uid 89); 4 Sep 2016 20:34:52 -0000 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 Received: from smtp-out-no.shaw.ca (HELO smtp-out-no.shaw.ca) (64.59.134.13) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 04 Sep 2016 20:34:42 +0000 Received: from [192.168.1.100] ([174.0.238.184]) by shaw.ca with SMTP id ge7jbrXBYOQkFge7kbDdP8; Sun, 04 Sep 2016 14:34:40 -0600 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.Inglis@SystematicSw.ab.ca Subject: Re: Problem with Python programs with binary components, who to blame? References: <156f59f4272.c6a11ec33673.3924353846235894325@zoho.com> To: cygwin@cygwin.com From: Brian Inglis Message-ID: <208ad79b-35dd-0d71-4949-3fc51c4bf044@SystematicSw.ab.ca> Date: Sun, 04 Sep 2016 20:34:00 -0000 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 X-SW-Source: 2016-09/txt/msg00074.txt.bz2 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