delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/02/20/10:23:53

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Fri, 20 Feb 2009 16:23:30 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] [1.7] Updated: file-5.00-1
Message-ID: <20090220152330.GG24834@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <announce DOT 20090210093102 DOT GB11175 AT calimero DOT vinschen DOT de> <499E2B9A DOT 5030907 AT cwilson DOT fastmail DOT fm> <20090220095916 DOT GA759 AT calimero DOT vinschen DOT de> <499EB5A6 DOT 5000707 AT gmail DOT com> <499EBABE DOT 8080303 AT gmail DOT com> <499EC6E5 DOT 5000408 AT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <499EC6E5.5000408@gmail.com>
User-Agent: Mutt/1.5.17 (2007-11-01)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Feb 20 15:06, Dave Korn wrote:
> Dave Korn wrote:
>   Ah.  Right.  Ouch.  I see what's going on.  Rebasing does not interact well
> with the presence of unresolved weaks.  Gah.
> [...]
>   I'll need to do some thinking about this, as it might be possible to make it
> work, but in any case, the rule should be that DLLs are *always* linked
> against shared-libgcc, regardless; even plain old C with no exceptions.  It's
> OK if you're linking an entire app statically to link against static libgcc,
> but it's definitely bad practice when building a DLL.  I should probably warn
> against this usage in the compiler, if not fail it altogether; not sure yet,
> because it does basically work, even if the DLL it produces isn't rebaseable,
> and because it might not be difficult to make rebase skip relocating
> unresolved weaks, and because I have this long-term scheme to make weaks work
> properly on win32 like they do on ELF which would avoid the problem altogether.
> 
> 
> 
>   Take-home point: never use -static-libgcc when building a DLL.

Baeh.  The two of us discussed this in PM a couple of days back and I
still don't like the idea to depend on cyggcc_s.dll for more or less
every other package providing a DLL.  If that's becoming the default, we
need at least to put the gcc-runtime package into Base, IMHO.  Yes,
I know you can simply add the dependency to setup.hint, but still.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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