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

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:mime-version:from:date:message-id:subject:to
:content-type; q=dns; s=default; b=qTs0Jk7htX2a+Qyk/w2Yut21vWjG3
R0qnmiCpOUwazw9sl7kDz+HSmJshfW8GTNcd1jV+XAP2SvYUoSfPLIhgOKghFofO
1pU0KAx7Pofi9665a6I6a6BEO9a+l1rXYCIjmAmG3DLzhYH23LyIGloh7ITxTbQE
ctSDQYWLpD6uas=
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:mime-version:from:date:message-id:subject:to
:content-type; s=default; bh=lt3Yb83S6vTYCoXPkZLzYX1Gv40=; b=tp0
PXS/u8y8l/JVz+kiKda21UxXOvm0zogypgPDCe11v4DUGUCmtBRXG99vxy4pOBzV
Ws+vL18YOcdCWRXwBosmMOqD3+XNuUUBxcza3bQnuVg0Tn3jwtsb9TYZ3bv/fBtt
9FV8kyNSsOrpYOVN5Z6rHpO2yPHT+hktENQjCFZA=
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=-0.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-ig0-f174.google.com
X-Received: by 10.43.71.200 with SMTP id yl8mr1776095icb.74.1389287677739; Thu, 09 Jan 2014 09:14:37 -0800 (PST)
MIME-Version: 1.0
From: Jean-Pierre Flori <jpflori AT gmail DOT com>
Date: Thu, 9 Jan 2014 18:14:17 +0100
Message-ID: <CAHhGz8-KiNuY+2oA7RTcokedT-WpdNYZ+4Z60hwwoz40y_Ombw@mail.gmail.com>
Subject: Troubles building PPL 1.0 on Cygwin64
To: cygwin AT cygwin DOT com

Dear all,

I'm having issues building PPL (or more exactly the C interface of
PPL) on Cygwin64 (1.7.27, gcc/g++ 4.8.2).

It fails with undefined reference to ppl_unreachable() (defined in
src/assert.cc/hh) when linking the C interface (cygppl_c in
interfaces/C).
Note that this function is present as a weak symbol in cygppl.dll, but
does not appear in the import library libppl.dll.a, so that's surely
the issue here.
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?

Thanks in advance for your help.
Best,

-- 
Jean-Pierre Flori

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