From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29777 invoked by alias); 21 Jun 2012 15:28:02 -0000 Received: (qmail 29766 invoked by uid 22791); 21 Jun 2012 15:28:01 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 21 Jun 2012 15:27:49 +0000 From: "adrian.m.smith at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/46125] -mcmodel=large doesn't work Date: Thu, 21 Jun 2012 15:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Keywords: link-failure X-Bugzilla-Severity: normal X-Bugzilla-Who: adrian.m.smith at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-06/txt/msg01484.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46125 Adrian Smith changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |adrian.m.smith at gmail dot | |com --- Comment #3 from Adrian Smith 2012-06-21 15:27:49 UTC --- "As mentioned in the thread to the list you need to compile crtstuff.c with -mcmodel=large also." Can someone add a link to the thread? I have googled for it but this bug report keeps on coming up. I am not too familiar with gcc development so don't know which list is being talked about. I too have a program which requires > 2GB of compiled code on x86-64 and get the errors from "crtstuff.c". But where is it, how do I recompile it?