From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21433 invoked by alias); 12 Jul 2012 18:40:58 -0000 Received: (qmail 21423 invoked by uid 22791); 12 Jul 2012 18:40:57 -0000 X-SWARE-Spam-Status: No, hits=-5.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-gh0-f171.google.com (HELO mail-gh0-f171.google.com) (209.85.160.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 12 Jul 2012 18:40:45 +0000 Received: by ghy10 with SMTP id 10so2830065ghy.2 for ; Thu, 12 Jul 2012 11:40:44 -0700 (PDT) Received: by 10.66.83.39 with SMTP id n7mr7349081pay.82.1342118444282; Thu, 12 Jul 2012 11:40:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.15.135 with HTTP; Thu, 12 Jul 2012 11:40:24 -0700 (PDT) In-Reply-To: References: From: "Yaakov (Cygwin/X)" Date: Thu, 12 Jul 2012 18:40:00 -0000 Message-ID: Subject: Re: perl-5.14.2 switch To: Reini Urban Cc: cygwin@cygwin.com Content-Type: text/plain; charset=ISO-8859-1 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 X-SW-Source: 2012-07/txt/msg00235.txt.bz2 On Wed, Jul 11, 2012 at 10:07 AM, Reini Urban wrote: > On Wed, Jul 11, 2012 at 4:53 AM, Yaakov (Cygwin/X) wrote: >> Where this really breaks things is where a EU::E module is linked with >> libtool (as in gnumeric's perl-loader plugin): the xsinit-generated >> code calls boot_Win32CORE() but libtool will drop any static link >> libraries when creating a shared library/module, meaning the link >> fails with an unresolved reference to said function. >> >> AFAICS, static_ext should be empty; packages which actually need the >> w32_* symbols can add Win32CORE as an argument to the EU::E functions. > > I see the problem, but I'm afraid that I cannot move Win32CORE from > static to dynamic now. > Generally we must have the ability to support both types of exts, > static and dynamic. Some internal exts are also static, such as > Cygwin, Internals, utf8, UNIVERSAL, DynaLoader, PerlIO, mro and > partially version, attributes, Tie::Hash::NamedCapture. But they are > included in libperl. I'm not complaining that Win32CORE is static, if EU::E wouldn't insist on using it all the time. > Previously I solved this by adding Win32CORE.o to libperl itself. > Should I do that? I suppose so. 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