Re: libgccjit

2021-04-05 Thread Achim Gratz
Achim Gratz writes: > Other than that, I'll probably provide test packages for the 10.3.0-RC1 > since I have to get that going anyway. Now that I have also built the 32bit version I see that the JIT tests fail there because the JIT executables don't seem to invoke the linker correctly and ld in tu

Re: libgccjit

2021-04-04 Thread Ken Brown via Cygwin
On 4/4/2021 3:45 PM, Achim Gratz wrote: Ken Brown via Cygwin writes: Emacs development (on the feature/native-comp branch) is using libgccjit. Is it possible to build this library on Cygwin? Several false starts later I've munged my patches and the MinGW ones into something that gets

Re: libgccjit

2021-04-04 Thread Achim Gratz
Ken Brown via Cygwin writes: > Emacs development (on the feature/native-comp branch) is using > libgccjit. Is it possible to build this library on Cygwin? Several false starts later I've munged my patches and the MinGW ones into something that gets me a build, packages and runs most J

Re: libgccjit

2021-03-14 Thread Andy Moreton via Cygwin
enabled for gccjit. Getting rid of host-shared makes the > build a lot closer to what it has been before I think and might then not > need as extensive a surgery to get the rest of the build into line. The MSYS2 libgccjit built from that spec works for 32bit and 64bit emacs builds on the e

Re: libgccjit

2021-03-14 Thread Achim Gratz
Achim Gratz writes: > Jonathan Yong via Cygwin writes: >> Thanks for trying. >> Does injecting dlfcn.h work? > > The include is not used because it is tied to --enable-plugins. Plugins > do not work because the configury determines that shared objects do not > work. If I manually force the inclus

Re: libgccjit

2021-03-14 Thread Achim Gratz
Andy Moreton via Cygwin writes: > The build scripts for Mingw64 in the MSYS2 distro are here: > > https://github.com/msys2/MINGW-packages/tree/master/mingw-w64-gcc Ah, OK. Thanks. > The PKGBUILD file is the build script (same tooling as Arch linux), and > the local patches there may help guide

Re: libgccjit

2021-03-14 Thread Andy Moreton via Cygwin
On Sun 14 Mar 2021, Achim Gratz wrote: > Jonathan Yong via Cygwin writes: >> Thanks for trying. >> Does injecting dlfcn.h work? > > The include is not used because it is tied to --enable-plugins. Plugins > do not work because the configury determines that shared objects do not > work. If I manua

Re: libgccjit

2021-03-14 Thread Achim Gratz
Jonathan Yong via Cygwin writes: > Thanks for trying. > Does injecting dlfcn.h work? The include is not used because it is tied to --enable-plugins. Plugins do not work because the configury determines that shared objects do not work. If I manually force the inclusion some other stuff goes missi

Re: libgccjit

2021-03-14 Thread Jonathan Yong via Cygwin
:12: error: ‘dlopen’ was not declared in this scope; did you mean ‘open’? 2654 | handle = dlopen (m_tempdir->get_path_so_file (), |^~ |open I can pile on another kludge to make that compile and eventully it'll end up linking libgccjit, but t

Re: libgccjit

2021-03-13 Thread Achim Gratz
open’ was not declared in this scope; did you mean ‘open’? 2654 | handle = dlopen (m_tempdir->get_path_so_file (), |^~ |open I can pile on another kludge to make that compile and eventully it'll end up linking libgccjit, but the build then stops with

Re: libgccjit

2021-03-13 Thread Achim Gratz
Jonathan Yong via Cygwin writes: > I've not honestly tried setting up libgccjit, looks like its as simple > as adding jit to --enable-languages. > > Achim, mind trying? That also needs --enable-host-shared and then it dies shortly after configure because it can't find libibe

Re: libgccjit

2021-03-11 Thread Achim Gratz
Corinna Vinschen via Cygwin writes: > On Mar 10 12:00, Ken Brown via Cygwin wrote: >> Emacs development (on the feature/native-comp branch) is using libgccjit. >> Is it possible to build this library on Cygwin? > > Isn't this a question for Jon? I CCed him. It was pr

Re: libgccjit

2021-03-11 Thread Jonathan Yong via Cygwin
On 3/11/21 10:16 AM, Corinna Vinschen wrote: On Mar 10 12:00, Ken Brown via Cygwin wrote: Emacs development (on the feature/native-comp branch) is using libgccjit. Is it possible to build this library on Cygwin? Isn't this a question for Jon? I CCed him. Corinna I've not hone

Re: libgccjit

2021-03-11 Thread Corinna Vinschen via Cygwin
On Mar 10 12:00, Ken Brown via Cygwin wrote: > Emacs development (on the feature/native-comp branch) is using libgccjit. > Is it possible to build this library on Cygwin? Isn't this a question for Jon? I CCed him. Corinna -- Problem reports: https://cygwin.com/proble

libgccjit

2021-03-10 Thread Ken Brown via Cygwin
Emacs development (on the feature/native-comp branch) is using libgccjit. Is it possible to build this library on Cygwin? Ken -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe