From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 124756 invoked by alias); 16 Aug 2019 11:25:47 -0000 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 Received: (qmail 124746 invoked by uid 89); 16 Aug 2019 11:25:47 -0000 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 Received: from mail-oi1-f180.google.com (HELO mail-oi1-f180.google.com) (209.85.167.180) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 16 Aug 2019 11:25:46 +0000 Received: by mail-oi1-f180.google.com with SMTP id g7so4529729oia.8 for ; Fri, 16 Aug 2019 04:25:45 -0700 (PDT) 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 Date: Fri, 16 Aug 2019 13:28:00 -0000 Message-ID: Subject: Re: Clang is using the wrong memory model To: cygwin@cygwin.com, Agner Fog Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2019-08/txt/msg00220.txt.bz2 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