From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 107809 invoked by alias); 4 Sep 2016 14:43:51 -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 107794 invoked by uid 89); 4 Sep 2016 14:43:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=pief, Pief, H*MI:sk:156f59f, H*i:sk:156f59f X-HELO: mail-wm0-f53.google.com Received: from mail-wm0-f53.google.com (HELO mail-wm0-f53.google.com) (74.125.82.53) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 04 Sep 2016 14:43:48 +0000 Received: by mail-wm0-f53.google.com with SMTP id w2so90598381wmd.0 for ; Sun, 04 Sep 2016 07:43:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=U8Sn2pz+a97wciamXVnwb4XAIX74eEUe65myCFHCPss=; b=dzSQzKHpZH9NcNvzws8HMAZgcYEy3A83Dnp/3T0aCN+zGpvZqW88+t52NcRZNMhSYT ac/bDa/o99XniC/NLC1VbFWiJW02kUaUwQLWj7Nu/wnY0yE9x9naqa3eFHHw7yM/bZy+ UBlY8w/KXRzzGUR43bcWHNg9EuXzBM5PP7HWL/EYS+Yiy2n+2Mut2fDITvucdNMRm1jk KCL9LIz+Wr8XCl/kYFpwHlo5czavlyptnB8sAs/FgIAlOiATG4RXyoLyZzpwnsjHjTqH 34d7V4X0pNsDnhXwZhVmF/Ja6jDnosYUfdE9o8aqjeMVsj2U1U9SnNn7OJAfoQzR//Or G3lw== X-Gm-Message-State: AE9vXwMvW4JMsJ2gtXDLhqDPkzwY13IJqphdledNiLzhZeXIae67C+BvJujvZC5CFaaH8A== X-Received: by 10.194.19.164 with SMTP id g4mr4782181wje.110.1473000226262; Sun, 04 Sep 2016 07:43:46 -0700 (PDT) Received: from ?IPv6:2003:63:2f6b:da01:1d12:4ffc:11fe:1580? (p200300632F6BDA011D124FFC11FE1580.dip0.t-ipconnect.de. [2003:63:2f6b:da01:1d12:4ffc:11fe:1580]) by smtp.googlemail.com with ESMTPSA id f10sm21603915wje.14.2016.09.04.07.43.45 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 04 Sep 2016 07:43:45 -0700 (PDT) Subject: Re: Problem with Python programs with binary components, who to blame? To: cygwin@cygwin.com References: <156f59f4272.c6a11ec33673.3924353846235894325@zoho.com> From: Marco Atzeri Message-ID: <19afd29b-3fbb-922f-9b05-e394475f1876@gmail.com> Date: Sun, 04 Sep 2016 14:43:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; 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-IsSubscribed: yes X-SW-Source: 2016-09/txt/msg00065.txt.bz2 On 04/09/2016 16:34, Patrick Pief wrote: > Hi, > > 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? On windows all symbols must be available at linking time. Cygwin programs/libraries have the same constrain. Can you report the full command that produce : ""relocation truncated to fit [...] against undefined symbol"." ? Are you building a specific program or it is your own development ? Regards Marco -- 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