From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30193 invoked by alias); 9 Apr 2010 18:30:18 -0000 Received: (qmail 30127 invoked by uid 48); 9 Apr 2010 18:30:06 -0000 Date: Fri, 09 Apr 2010 18:30:00 -0000 Message-ID: <20100409183006.30126.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/msg00968.txt.bz2 ------- Comment #29 from sherpya at netfarm dot it 2010-04-09 18:30 ------- using -flto links, but looks like it links in a different way while linking llvm part I get ice: In member function 'RefineAbstractType': lto1: internal compiler error: in input_gimple_stmt, at lto-streamer-in.c:1108 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. lto-wrapper: /opt/mingw/bin/i686-pc-mingw32-g++ returned 1 exit status clamav is not directly compilable with mingw I maintain an unofficial port used in clamwin I've made a simple set of makefiles (without deps by design) to build the mingw version even in cross git clone git://clamwin.git.sourceforge.net/gitroot/clamwin/clamav-win32.git cd contrib/mingw MINGW32_CROSS_PREFIX=i686-pc-mingw32- make or something like make llvm to make llvm dll (I've made a trick to have llvm jit optional) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42776