delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/01/09/12:51:36

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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=WrTJtUx48oJdpUhkheVxOFrknHmOq1UFM62Wu4hUPSe
VpYQlPBXimBu8tvalJHAvi+4Dn9k19YHoYnx4gVtGT7JxHvSpmxyyM1yQRln7JS+
biw8Kl9vc+IacjXJw/ki+MysNX0yfvZDp1heu7a4M7c6GvFAHWDRMFHtg33CpnRw
=
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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=4OPIIq8Ual0jM5/MFv6P0FD3E2E=; b=d+qWtguUCuoUs3LCI
wicguo3eFv9CcJaMeqMhHxFcWLwSpNPJ/jW7JI3sCFnH82TcnE58WfE+HGE68rdn
OLLKNswwM9RkBaBpRfYEQdEzm+rE0uddg+IhtOWoZfezxBBE52A+vX7qQZYOLgDZ
Z/lCub9dvB1c5FE+iAy4e28zuM=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=-2.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-ie0-f178.google.com
X-Received: by 10.50.227.139 with SMTP id sa11mr39257526igc.46.1389289875031; Thu, 09 Jan 2014 09:51:15 -0800 (PST)
Message-ID: <52CEE1A1.9000508@users.sourceforge.net>
Date: Thu, 09 Jan 2014 11:51:29 -0600
From: "Yaakov (Cygwin/X)" <yselkowitz AT users DOT sourceforge DOT net>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Troubles building PPL 1.0 on Cygwin64
References: <CAHhGz8-KiNuY+2oA7RTcokedT-WpdNYZ+4Z60hwwoz40y_Ombw AT mail DOT gmail DOT com>
In-Reply-To: <CAHhGz8-KiNuY+2oA7RTcokedT-WpdNYZ+4Z60hwwoz40y_Ombw@mail.gmail.com>

On 2014-01-09 11:14, Jean-Pierre Flori wrote:
> I'm having issues building PPL (or more exactly the C interface of
> PPL) on Cygwin64 (1.7.27, gcc/g++ 4.8.2).
[snip]
> Disabling all the weak symbols magic in src/ppl.hh let ppl and its C
> interface compile.
> Note that PPL actually tests that weak symbols are supported, so it
> thought it would be ok, and indeed the symbol is here n the shared
> lib, but in the end it did not make into the import lib.
>
> What's surprising is that I had no issues with Cygwin32.
> So is gcc/g++/ld/binutils configured/behaving differently?

In general, weak symbols don't work the same way they do on ELF.  But 
wrt the difference between i686 and x86_64, see the following threads:

http://cygwin.com/ml/cygwin-developers/2013-03/msg00120.html
http://cygwin.com/ml/cygwin-developers/2013-04/msg00008.html


Yaakov


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019