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:mime-version:references:in-reply-to:from:date
	:message-id:subject:to:content-type; q=dns; s=default; b=RV9z7Wl
	tqulMFxiwrSLklz8YWfCNjju33AE4mIabssMD+AfYphy4rAxzTFf9iXV5VeP7lmi
	QOJbcfEtnfo5EAojZKpqULdW5TSXqXZ4w76rk6fepXSKi5i+EuIXAi/CjhKPakOC
	hc80oPsRBeNfHM9ppqWjU4aChc/iIf38hYys=
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:references:in-reply-to:from:date
	:message-id:subject:to:content-type; s=default; bh=zVrPjmwd/PDD0
	OGuF94atPB4Wyo=; b=KEuvqqhLSsSdl9bCBmV0URjOnuQAJQRDcA6olgMTnJVST
	0zEiLJ/ja6/vq+DIfc1vn0lnwW/cD8puKIClL0L/dxx1CpCLPx5O5lqRB2ZpVcFW
	HezuKJj+5V0Ofx82GDDvLUfKuYMwFCatAcsb+7L6k2EbaBaLPLecdSsNlElaCY=
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-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.1 spammy=googlemail.com, googlemailcom, H*F:D*googlemail.com, UD:googlemail.com
X-HELO: mail-oi1-f180.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=googlemail.com; s=20161025;        h=mime-version:references:in-reply-to:from:date:message-id:subject:to;        bh=pW5RrwgljIggAQXmTyq5O8mOuJKEdfOpr4Bp4HxGXKg=;        b=J9VzxkVBNHCk1MyRMcAg9pIlskiIwmmFhZ5HyjfplP9AndrHOBKX7GmsPds02V9yYs         Xszb3zWk0hjIvFYgDeekKBHH1ezFZ2+DIdasbMgy8vMMwFrWJiRWJugKQ4bTNLFzr0rP         /okH/aYL/lDZjiG27T5cv1ct+VHqcQbRbuEv3sCLZ6w8er+3f9n0n+4jFN0MPhha02wB         bTBVC/T50Xkhte8Moxll4UW+v3YVAf7J91fBO6M0pohCg0wWZHCiBbvBLJuxnZfF5CWS         oZ4iByxOF5r+nVzgBq0z4zfwiRoJ6yCjrroopAXnW+eSvhL7X/g8sMYD7RQtPRYkhCJ2         24Gg==
MIME-Version: 1.0
References: <732305300.268416262.1565603129541.JavaMail.root@zimbra54-e10.priv.proxad.net> <024ce5b5-6024-b371-e382-5eef5d1d4a90@agner.org> <075477ca-e031-39ea-3dfe-bc8bc2fc8fa6@agner.org> <20190816082603.GR11632@calimero.vinschen.de> <8d594f4d-17e0-447a-8b18-1ed620815e0f@agner.org> <20190816095200.GU11632@calimero.vinschen.de> <2024f551-66e6-47c5-a0b6-2dfa735a690d@agner.org> <20190816111133.GV11632@calimero.vinschen.de>
In-Reply-To: <20190816111133.GV11632@calimero.vinschen.de>
From: Kai Tietz <ktietz70@googlemail.com>
Date: Fri, 16 Aug 2019 13:25:33 +0200
Message-ID: <CAEwic4ZXeM=w0z2BD+s+pSSzkOa-1c5EsggQARLB_MzM_WnTqw@mail.gmail.com>
Subject: Re: Clang is using the wrong memory model
To: cygwin@cygwin.com, Agner Fog <agner@agner.org>
Content-Type: text/plain; charset="UTF-8"
X-IsSubscribed: yes

Hey,

Just my 5 cents to this.  As Corinna pointed out, is the case, that a
"small" memory model application works for you, no valid prove that
all application will work on such a model.  Another thing, which
cygwin depends heavily on is the pseudo-relocation stuff.  It is not
guaranteed that code distance between DSOs are in valid range here to
fit in a single instruction to be relocated.  So the distance allowed
for a "small model instruction" might be in some cases even less 4 GB.
For pseudo-relocation the large memory model is absolutely mandatory
for bigger application.

Kai

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

