[Nix-dev] Trouble packaging llvmlite, Python bindings for LLVM
Freddy Rietdijk
freddyrietdijk at fridh.nl
Tue Sep 1 15:35:48 CEST 2015
Hi Thomas,
It's good to hear you also gave it a try. I reported the issue
https://github.com/numba/llvmlite/issues/93
Freddy
On Sun, Aug 30, 2015 at 12:30 PM, Thomas Hunger <tehunger at gmail.com> wrote:
> Hi Freddy,
>
> I ran into the numba segfault as well [1]. I tried to debug the issue with
> a numba core dev when in the same room but we didn't make any progress in
> an hour. Potentially a double-free bug. Probably worth filing an issue
> which I forgot to do.
>
> ~
>
> [1]
> In [1]: import numba
> *** Error in
> `/nix/store/pbi1lgank10fy0xpjckbdpgacqw34dsz-python-2.7.9/bin/python2.7':
> free(): invalid pointer: 0x00007f501151f3c0 ***
> ======= Backtrace: =========
>
> /nix/store/6k9z1sfl7kghmagwd205k3i81pbcw57s-glibc-2.21/lib/libc.so.6(+0x70d2f)[0x7f502aa60d2f]
>
> /nix/store/6k9z1sfl7kghmagwd205k3i81pbcw57s-glibc-2.21/lib/libc.so.6(+0x760be)[0x7f502aa660be]
> ....
>
> On 30 August 2015 at 09:56, Freddy Rietdijk <freddyrietdijk at fridh.nl>
> wrote:
>
>> Dear Nixers,
>>
>> In the last couple of weeks I've been packaging a bunch of Python
>> packages, mostly packages that I use for my research. There is one package
>> though (or in fact, two), that I can't seem to build correctly: llvmlite
>> and numba. The first is a Python binding to LLVM, and the other is a JIT
>> that uses the binding.
>>
>> llvmlite can be build, but unfortunately segfaults. I don't know too much
>> about compiling, let alone compilers. I was able to build a working version
>> on Debian though.
>>
>> If you could have a look at it, I would very much appreciate it:
>> https://github.com/NixOS/nixpkgs/pull/9516
>> and a direct link to the build log:
>> https://s3.amazonaws.com/archive.travis-ci.org/jobs/77894848/log.txt
>> I would be very hapy to get these working, since then I could finally
>> switch to NixOS on my main machine.
>>
>> Kind regards,
>>
>> Frederik
>>
>> _______________________________________________
>> nix-dev mailing list
>> nix-dev at lists.science.uu.nl
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150901/0f47c728/attachment.html
More information about the nix-dev
mailing list