Re: Undefined reference to functions that are a part of amd64 ABI

2018-04-02 Thread Stuart Henderson
Not your fix, the luajit port. It runs fine built with clang, it just needs the right libraries added. -- Sent from a phone, apologies for poor formatting. On 2 April 2018 02:09:59 Utkarsh Anand wrote: All it does different is set TARGET_LDFLAGS to use libc++api/libpthread. You mean my fix? I

Re: Undefined reference to functions that are a part of amd64 ABI

2018-04-02 Thread Juan Francisco Cantero Hurtado
On Mon, Apr 02, 2018 at 06:26:04AM +0530, Utkarsh Anand wrote: > >I understand you're trying to help here, but forcing the use of an > >ancient compiler is far from perfect in my book. > I guess you're talking about LuaJIT using gcc by default, because neovim > now uses clang all around wherever po

Re: Undefined reference to functions that are a part of amd64 ABI

2018-04-01 Thread Utkarsh Anand
>All it does different is set TARGET_LDFLAGS to use libc++api/libpthread. You mean my fix? I don't think so. Now, that we are passing clang as the compiler from neovim, I guess that's what's being used. I have a power cut right now. I'll check again, once the power is back on.

Re: Undefined reference to functions that are a part of amd64 ABI

2018-04-01 Thread Utkarsh Anand
>I understand you're trying to help here, but forcing the use of an >ancient compiler is far from perfect in my book. I guess you're talking about LuaJIT using gcc by default, because neovim now uses clang all around wherever possible. >Fixing LuaJIT to build >and work on OpenBSD out of the box lo

Re: Undefined reference to functions that are a part of amd64 ABI

2018-04-01 Thread Stuart Henderson
On 2018/04/01 20:11, Utkarsh Anand wrote: > > > 01.04.2018, 20:05, "Jeremie Courreges-Anglas" : > > On Sun, Apr 01 2018, Utkarsh Anand wrote: > >>  Thank you all for your inputs. With this, I conclude almost complete > >>  support for OpenBSD: > >>   > >> https://github.com/neovim/neovim/pull/82

Re: Undefined reference to functions that are a part of amd64 ABI

2018-04-01 Thread Jeremie Courreges-Anglas
On Sun, Apr 01 2018, Utkarsh Anand wrote: >> An easier and saner solution would be to use standard Lua instead of >> LuaJIT, as done in the neovim port, passing -DPREFER_LUA=ON to cmake. > "Do you know the definition of insanity?" -- VAAS (Far Cry 3) > https://github.com/neovim/neovim/pull/8215/co

Re: Undefined reference to functions that are a part of amd64 ABI

2018-04-01 Thread Jeremie Courreges-Anglas
On Sun, Apr 01 2018, Utkarsh Anand wrote: > 01.04.2018, 20:05, "Jeremie Courreges-Anglas" : >> On Sun, Apr 01 2018, Utkarsh Anand wrote: >>>  Thank you all for your inputs. With this, I conclude almost complete >>>  support for OpenBSD: >>>   >>> https://github.com/neovim/neovim/pull/8215/commits

Re: Undefined reference to functions that are a part of amd64 ABI

2018-04-01 Thread Utkarsh Anand
01.04.2018, 20:05, "Jeremie Courreges-Anglas" : > On Sun, Apr 01 2018, Utkarsh Anand wrote: >>  Thank you all for your inputs. With this, I conclude almost complete >>  support for OpenBSD: >>   >> https://github.com/neovim/neovim/pull/8215/commits/0f65aa585985ad00803d681c85779011c9e9682a > > Th

Re: Undefined reference to functions that are a part of amd64 ABI

2018-04-01 Thread Jeremie Courreges-Anglas
On Sun, Apr 01 2018, Utkarsh Anand wrote: > Thank you all for your inputs. With this, I conclude almost complete > support for OpenBSD: > https://github.com/neovim/neovim/pull/8215/commits/0f65aa585985ad00803d681c85779011c9e9682a This looks very wrong, you should fix the build with clang instead

Re: Undefined reference to functions that are a part of amd64 ABI

2018-04-01 Thread Utkarsh Anand
Thank you all for your inputs. With this, I conclude almost complete support for OpenBSD: https://github.com/neovim/neovim/pull/8215/commits/0f65aa585985ad00803d681c85779011c9e9682a except for: https://github.com/neovim/neovim/issues/8216 Have fun! :) Utkarsh Anand

Re: Undefined reference to functions that are a part of amd64 ABI

2018-03-30 Thread Stuart Henderson
On 2018/03/30 13:28, Utkarsh Anand wrote: > > > 30.03.2018, 12:51, "Jonathan Gray" : > > The luajit port links libc++abi for those symbols on clang archs. > > With gcc they are included when libgcc is linked by default. > Thanks for the information. > > > > neovim is also ported as editors/neovim

Re: Undefined reference to functions that are a part of amd64 ABI

2018-03-30 Thread Utkarsh Anand
30.03.2018, 12:51, "Jonathan Gray" : > The luajit port links libc++abi for those symbols on clang archs. > With gcc they are included when libgcc is linked by default. Thanks for the information. > > neovim is also ported as editors/neovim. Neovim developers want to run CI for OpenBSD, i.e., they

Re: Undefined reference to functions that are a part of amd64 ABI

2018-03-30 Thread Jonathan Gray
On Fri, Mar 30, 2018 at 09:49:32AM +0530, Utkarsh Anand wrote: > Hello! I was trying to compile neovim (https://github.com/neovim/neovim) > in OpenBSD 6.2 and I get the following error when compiling LuaJIT, > which is dependency for neovim: > http://termbin.com/5zyd > The functions _Unwind_* are

Undefined reference to functions that are a part of amd64 ABI

2018-03-29 Thread Utkarsh Anand
Hello! I was trying to compile neovim (https://github.com/neovim/neovim) in OpenBSD 6.2 and I get the following error when compiling LuaJIT, which is dependency for neovim: http://termbin.com/5zyd The functions _Unwind_* are a part of amd64 ABI: https://uclibc.org/docs/psABI-x86_64.pdf Do I need t