X-Recipient: archive-cygwin@delorie.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:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=AUunBwRs0zUM161A
	kk6zjtLUOLN6Tzijt7I6LfebrmqMR7nF3wb+w9Pz2oMm0tgJPSBVwTkY94NndkvH
	ryb9mH+7zWVwxTm9pd76pzgocaVvK/4wFrZQ39HljAeXzV2I+88ojbUFGsFcj/NX
	o8jlYCzFBEvP6Xs1jFeOXSe/WDc=
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:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=ZAb4e+jUUTX3JYh3qEfkAO
	VLf1Y=; b=FMh5j5X76z5TYd8R65FUvt5rJ6oZX3/sgA19kpe6ULc+6pKvDU/oMh
	oJVeRz7Er39mcFjkGyNzcG+iD7z5g2GQbpwOeAcykjm9gDNWj1xgsyJ+yc3pob3L
	mWrqwJwl17xXJcwjrEaJUBKFgKDjSduY1KnlItaTFIHytOfSaXNeY=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
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
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)
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 <marco.atzeri@gmail.com>
Message-ID: <19afd29b-3fbb-922f-9b05-e394475f1876@gmail.com>
Date: Sun, 4 Sep 2016 16:43:30 +0200
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

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

