From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 72413 invoked by alias); 14 Feb 2016 20:02:33 -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 72396 invoked by uid 89); 14 Feb 2016 20:02:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.0 required=5.0 tests=AWL,BAYES_40,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=julia, mcjit, Julia, stub X-HELO: BAY004-OMC1S8.hotmail.com Received: from bay004-omc1s8.hotmail.com (HELO BAY004-OMC1S8.hotmail.com) (65.54.190.19) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA256 encrypted) ESMTPS; Sun, 14 Feb 2016 20:02:31 +0000 Received: from BAY169-W81 ([65.54.190.61]) by BAY004-OMC1S8.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Sun, 14 Feb 2016 12:02:30 -0800 X-TMN: [hge9tpElzA4BP0ecZmadIGnG0uOGDpGd] Message-ID: From: Tony Kelman To: "cygwin@cygwin.com" Subject: RE: [ANNOUNCEMENT] Assorted MinGW-w64 toolchain libraries and tools Date: Sun, 14 Feb 2016 20:02:00 -0000 In-Reply-To: References: ,<56BBDCBE.2050208@cygwin.com>, Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes X-SW-Source: 2016-02/txt/msg00217.txt.bz2 >> LLVM/Clang version bumps are time-consuming to get right. I actually >> looked at 3.6, but MCJIT did not work OOTB with PE/COFF targets. I'll >> have to see what the story is with 3.7. > > Understandable. 3.8 is in RC right now so maybe try building the > release_38 branch if you get to it soon, otherwise wait a few weeks. > I'm trying to figure out how to cross-build mingw llvm via cmake > now that they've deprecated autotools (it's still there in 3.8 with > a warning, but has been deleted on trunk which will become 3.9). Okay, just FYI, building LLVM 3.8 or newer will fail with a win32-threads build of mingw-w64 unless you build with LLVM_ENABLE_THREADS=3D0 and completely stub out lib/Support/ThreadPool.cpp. We're using MCJIT (actually the new ORCJIT) in Julia and it's slower than the old JIT but mostly works. > I'll check your i686-libgit2 package soon, but I suspect it may be > affected by https://github.com/libgit2/libgit2/issues/3342 and need > to be built with -mincoming-stack-boundary=3D2 Confirmed. $ echo '#include "git2.h" void main() { =A0=A0=A0 git_repository* repo_ptr =3D NULL; =A0=A0=A0 char* repo_url =3D "https://github.com/JuliaLang/Example.jl"; =A0=A0=A0 char* repo_path =3D "Example.Bare"; =A0=A0=A0 git_clone_options clone_opts =3D GIT_CLONE_OPTIONS_INIT; =A0=A0=A0 clone_opts.bare =3D 1; =A0=A0=A0 git_libgit2_init(); =A0=A0=A0 git_clone(&repo_ptr, repo_url, repo_path, &clone_opts); =A0=A0=A0 git_libgit2_shutdown(); }'> clonetest.c Tony@LAPTOP-O230JCFF ~ $ i686-w64-mingw32-gcc -L/usr/i686-w64-mingw32/sys-root/mingw/bin \ =A0 -lgit2 clonetest.c -g -o /usr/i686-w64-mingw32/sys-root/mingw/bin/clone= test.exe Tony@LAPTOP-O230JCFF ~ $ gdb -q /usr/i686-w64-mingw32/sys-root/mingw/bin/clonetest.exe Reading symbols from /usr/i686-w64-mingw32/sys-root/mingw/bin/clonetest.exe= ...done. (gdb) r Starting program: /usr/i686-w64-mingw32/sys-root/mingw/bin/clonetest.exe [New Thread 8788.0x794] [New Thread 8788.0x209c] [New Thread 8788.0x638] [New Thread 8788.0x123c] Program received signal SIGSEGV, Segmentation fault. 0x6ccf9188 in libgit2!git_filebuf_commit () =A0=A0 from /usr/i686-w64-mingw32/sys-root/mingw/bin/libgit2.dll (be sure to `rm -rf Example.Bare` between runs of this test program) =20=09=09=20=09=20=20=20=09=09=20=20 -- 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