From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32633 invoked by alias); 11 Apr 2010 23:58:39 -0000 Received: (qmail 32430 invoked by uid 48); 11 Apr 2010 23:58:23 -0000 Date: Sun, 11 Apr 2010 23:58:00 -0000 Message-ID: <20100411235823.32429.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug lto/42776] LTO doesn't work on non-ELF platforms. In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "sherpya at netfarm dot it" 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: 2010-04/txt/msg01097.txt.bz2 ------- Comment #34 from sherpya at netfarm dot it 2010-04-11 23:58 ------- good point :) it should be written in caps, it's not common usage of linking flags :) anyway the reason is easy to understand results aren't exactly as expected by at least not crazy :) ----------- SCAN SUMMARY ----------- Known viruses: 754681 Engine version: devel@clamwin MinGW - Apr 12 2010 Scanned directories: 1 Scanned files: 4402 Infected files: 0 Data scanned: 980.84 MB Data read: 998.92 MB (ratio 0.98:1) Time: 443.047 sec (7 m 23 s) about the llvm dll I still get an ice lto1: internal compiler error: in input_gimple_stmt, at lto-streamer-in.c:1108 /* In case of type mismatches across units we can fail to unify some types and thus not find a proper field-decl here. So only assert here if checking is enabled. */ #ifdef ENABLE_CHECKING gcc_assert (tem != NULL_TREE); #endif any suggestion about submitting this bug? I suspect that intermediate file for this report would become very large (normally the resulting binary is 8-9mb large) I've not tested natively but only a cross, but in my opinion your patch looks ok, the produced code was always working -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42776