From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8558 invoked by alias); 13 Oct 2013 18:17:54 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 8548 invoked by uid 89); 13 Oct 2013 18:17:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: nautica.notk.org Received: from nautica.notk.org (HELO nautica.notk.org) (91.121.71.147) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Sun, 13 Oct 2013 18:17:53 +0000 Received: by nautica.notk.org (Postfix, from userid 1003) id 733EBC009; Sun, 13 Oct 2013 20:17:50 +0200 (CEST) Date: Sun, 13 Oct 2013 18:17:00 -0000 From: Adrien Nader To: gcc-help@gcc.gnu.org Subject: [gcc-help] boehm broken for win64; want to use one from system Message-ID: <20131013181750.GB29381@notk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.20 (2009-06-14) X-SW-Source: 2013-10/txt/msg00029.txt.bz2 Hi, I'm building toolchains for Windows and I'm stuck building GCC 4.8.1 for objc (--enable-objc-gc) and java because of boehm. Basically, the boehm-gc/ copy is too old and doesn't support Windows 64. This issue lies in typedefs from types that don't exist ("ULONG_PTR" in gc.h for instance) but I'm not sure it's worth trying to fix the build ssues since there will most probably be runtime issues too. The better way would be to upgrade gc to upstream. Since it seems to be quite some work and with drawbacks, I've tried to use locally a more recent one that I've built; I expected something like ./configure --with-system-gc but couldn't find it. In order to experiment a bit more, I'm replacing (not overwriting: I rm boehm-gc/ first) the boehm-gc/ directory with boehm 7.2d but I have at least 3 issues: - the two ./configure don't match: -> call ./configure myself and then replace ./configure with a symlink to /bin/true - 7.2d doesn't provide the "gc_ext_config.h.in" file -> considering its content, I'm copying gcc's one - I'm getting the following build error too: make[3]: *** No rule to make target `../boehm-gc/libgcjgc_convenience.la', needed by `libgcj.la'. Stop. -> stuck since this is a more invasive change I found an old mailing-list post stating that boehm needs to be updated but gc.h was last changed in 2007. How can I go forward? Is it possible to use a boehm that hasn't been modified specifically for GCC even in a degraded-performance mode? PS: there's at least another issue for objc: "libobjc/exception.c:528:1: error: unknown type name ‘EXCEPTION_DISPOSITION’" but I think it's better to wait until I can use a non-hackish boehm. Thanks, Adrien Nader