Re: LDC compiler snap issues on 14.04 (ABI compatibility?)

2017-02-19 Thread Joseph Rushton Wakeling
On 16/02/17 05:10, Sergio Schvezov wrote: I'll check your snap first thing once I am at a computer again. From experience with classic confinement though, stage-packages to provide runnables are most of the time the root cause. There was discusssion on having ld set --library-path in be core

Re: LDC compiler snap issues on 14.04 (ABI compatibility?)

2017-02-15 Thread Sergio Schvezov
El miércoles, 15 de febrero de 2017 20h'09:36 ART, Joseph Rushton Wakeling escribió: On 11/02/17 17:31, Joseph Rushton Wakeling wrote: I just reproduced the issue in a VirtualBox install of 14.04 to get these details. Kernel report in kern.log: Feb 11 17:16:19

Re: LDC compiler snap issues on 14.04 (ABI compatibility?)

2017-02-15 Thread Manik Taneja
jamie, any insights? /manik On Wed, Feb 15, 2017 at 3:09 PM, Joseph Rushton Wakeling < joseph.wakel...@webdrake.net> wrote: > On 11/02/17 17:31, Joseph Rushton Wakeling wrote: > >> I just reproduced the issue in a VirtualBox install of 14.04 to get these >> details. Kernel report in kern.log:

Re: LDC compiler snap issues on 14.04 (ABI compatibility?)

2017-02-15 Thread Joseph Rushton Wakeling
On 11/02/17 17:31, Joseph Rushton Wakeling wrote: I just reproduced the issue in a VirtualBox install of 14.04 to get these details. Kernel report in kern.log: Feb 11 17:16:19 vb1404 kernel: [ 534.781526] traps: gcc[6209] general protection ip:7f6632d1b1ee sp:7fff0a09e2f0 error:0 in

Re: LDC compiler snap issues on 14.04 (ABI compatibility?)

2017-02-11 Thread Joseph Rushton Wakeling
On 11/02/17 17:31, Joseph Rushton Wakeling wrote: And `dmesg | grep -i gcc` gave this output: Slightly more detailed dmesg output from `dmesg | grep -e "gcc" -e "ldc2"`: [0.00] Linux version 4.4.0-62-generic (buildd@lcy01-33) (gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3) )

Re: LDC compiler snap issues on 14.04 (ABI compatibility?)

2017-02-11 Thread Joseph Rushton Wakeling
On 11/02/17 00:48, Seth Arnold wrote: Hi Joe, can you grab the dmesg output that might include DENIED lines as well as the kernel's segfault report? Sure -- thanks for the thought! :-) I just reproduced the issue in a VirtualBox install of 14.04 to get these details. Kernel report in

Re: LDC compiler snap issues on 14.04 (ABI compatibility?)

2017-02-10 Thread Seth Arnold
On Fri, Feb 10, 2017 at 09:41:52PM +0100, Joseph Rushton Wakeling wrote: > Attempting to compile this program resulted in a segfault in GCC (which LDC > invokes in order to link programs). [...] > Anyway, does anyone have any thoughts? Hi Joe, can you grab the dmesg output that might include

Re: LDC compiler snap issues on 14.04 (ABI compatibility?)

2017-02-10 Thread Joseph Rushton Wakeling
On 10/02/17 21:41, Joseph Rushton Wakeling wrote: Running `ldc -v` for verbose output, the precise call that segfaulted was: /usr/bin/gcc hello.o -o hello -L/snap/ldc2/3/bin/../lib -lphobos2-ldc -ldruntime-ldc -Wl,--gc-sections -lrt -ldl -lpthread -lm -m64 My suspicion is that that