GNU bug report logs -
#40462
28.0.50; Building nativecomp branch segfaulting on FreeBSD
Previous Next
Reported by: Ashish SHUKLA <ashish.is <at> lostca.se>
Date: Mon, 6 Apr 2020 09:02:01 UTC
Severity: normal
Found in version 28.0.50
Done: Andrea Corallo <akrl <at> sdf.org>
Bug is archived. No further changes may be made.
Full log
Message #14 received at 40462 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On 4/18/20 4:45 PM, Andrea Corallo wrote:
> Ashish SHUKLA <ashish.is <at> lostca.se> writes:
>
>> Hi,
>>
>> Forgot to mention this is on FreeBSD 12.1 (amd64) with GCC 9.3.0 (built
>> with jit support).
>>
>> Thanks!
>
> Hi Ashish,
>
> sorry I had not time to setup a VM to test this. Could you try
> compiling libgccjit and running hello world example?
>
> https://gcc.gnu.org/onlinedocs/jit/intro/tutorial01.html
>
> this to check if is a libgccjit issue.
>
> Thanks
>
> Andrea
>
There you go:
============================================================================
chateau.d.if!abbe:/tmp λ cc -L/usr/local/lib/gcc9 -I/usr/local/include
-o hello hello.c -lgccjit
chateau.d.if!abbe:/tmp λ ldd ./hello
./hello:
libgccjit.so.0 => /usr/local/lib/gcc9/libgccjit.so.0 (0x800400000)
libc.so.7 => /lib/libc.so.7 (0x801e3b000)
libmpc.so.3 => /usr/local/lib/libmpc.so.3 (0x800249000)
libmpfr.so.6 => /usr/local/lib/libmpfr.so.6 (0x800262000)
libgmp.so.10 => /usr/local/lib/libgmp.so.10 (0x8002e0000)
libz.so.6 => /lib/libz.so.6 (0x800366000)
libm.so.5 => /lib/libm.so.5 (0x800380000)
chateau.d.if!abbe:/tmp λ ./hello
hello world
============================================================================
--
Ashish SHUKLA
[signature.asc (application/pgp-signature, attachment)]
This bug report was last modified 5 years and 21 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.