dotgnu-libjit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Dotgnu-libjit] libjit CVS don't build on Debian/i686/Lenny (gen-app


From: Klaus Treichel
Subject: Re: [Dotgnu-libjit] libjit CVS don't build on Debian/i686/Lenny (gen-apply crashes in detect_struct_1)
Date: Sun, 09 Nov 2008 21:24:36 +0100

Hi Basile,

Am Sonntag, den 09.11.2008, 20:20 +0100 schrieb Basile STARYNKEVITCH:
> Hello
> 
> I fail to build libjit [the latest CVS] on Debian/i686/Lenny (running in 
> a schroot on Debian/Sid/AMD64) with gcc 4.3.2
> 
> /bin/sh ../libtool --tag=CC   --mode=link gcc -I../include -I../include 
> -I../jit -I../jit -fno-gcse -g -O2 -Wall -fno-omit-frame-pointer   -o 
> gen-sel gen-sel-parser.o gen-sel-scanner.o  -lpthread -ldl -lm
> gcc -I../include -I../include -I../jit -I../jit -fno-gcse -g -O2 -Wall 
> -fno-omit-frame-pointer -o gen-sel gen-sel-parser.o gen-sel-scanner.o 
> -lpthread -ldl -lm
> ./gen-apply >../jit/jit-apply-rules.h
> /bin/sh: line 1: 24204 Segmentation fault      ./gen-apply > 
> ../jit/jit-apply-rules.h
> 
> with gdb tools/gen-apply tools/core I'm getting
> 
> Program terminated with signal 11, Segmentation fault.
> [New process 22412]
> #0  detect_struct_1 () at gen-apply.c:979
> 979     declare_struct_test(1);
> (gdb) bt 5
> #0  detect_struct_1 () at gen-apply.c:979
> #1  0x0804ff2a in run_detect_struct_1 () at gen-apply.c:979
> #2  0x0804ff5b in detect_struct_conventions () at gen-apply.c:1046
> #3  0x08051a35 in main () at gen-apply.c:2591
> 
I have this with gcc 4.3.1 on x86 too.
Compiling gen-apply with -O0 made it work on x86. Maybe this helps with
gcc 4.3.2 on AMD64 too.

I'm building libjit with gcc 4.3.1 with -O2 on AMD64 without problems.

Cheers,

Klaus

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


reply via email to

[Prev in Thread] Current Thread [Next in Thread]