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: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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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-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 DOT 268416262 DOT 1565603129541 DOT JavaMail DOT root AT zimbra54-e10 DOT priv DOT proxad DOT net> <024ce5b5-6024-b371-e382-5eef5d1d4a90 AT agner DOT org> <075477ca-e031-39ea-3dfe-bc8bc2fc8fa6 AT agner DOT org> <20190816082603 DOT GR11632 AT calimero DOT vinschen DOT de> <8d594f4d-17e0-447a-8b18-1ed620815e0f AT agner DOT org> <20190816095200 DOT GU11632 AT calimero DOT vinschen DOT de> <2024f551-66e6-47c5-a0b6-2dfa735a690d AT agner DOT org> <20190816111133 DOT GV11632 AT calimero DOT vinschen DOT de> In-Reply-To: <20190816111133.GV11632@calimero.vinschen.de> From: Kai Tietz Date: Fri, 16 Aug 2019 13:25:33 +0200 Message-ID: Subject: Re: Clang is using the wrong memory model To: cygwin AT cygwin DOT com, Agner Fog 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