bugDotGNU Portable.NET - Bugs: bug #10022, libjit compile failes on x86

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #10022: libjit compile failes on x86

Submitter:  Carl-Adam Brengesjo <ptah>
Submitted:  Sun 15 Aug 2004 10:46:16 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Mon 16 Aug 2004 06:46:15 AM UTC, comment #1: 

Fix committed to CVS - 16 Aug 2004

Rhys Weatherley <rweather>
Group administrator
Sun 15 Aug 2004 10:46:16 PM UTC, original submission:  

System/Environment:
ArchLinux
gcc 3.4.1-2
automake 1.9-1
autoconf 2.59-1
flex 2.5.4a-1
bison 1.875-2

GCC 3.4 issues?

$ cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 6
model name      : Celeron (Mendocino)
stepping        : 5
cpu MHz         : 334.105
cache size      : 128 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr
bogomips        : 657.40


This is the complete output from a simple "make" command. Configured with a plain "./configure"

$ make
make  all-recursive
make[1]: Entering directory `/home/ptah/downloads/libjit-0.0.4'
Making all in include
make[2]: Entering directory `/home/ptah/downloads/libjit-0.0.4/include'
Making all in jit
make[3]: Entering directory `/home/ptah/downloads/libjit-0.0.4/include/jit'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/ptah/downloads/libjit-0.0.4/include/jit'
make[3]: Entering directory `/home/ptah/downloads/libjit-0.0.4/include'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/ptah/downloads/libjit-0.0.4/include'
make[2]: Leaving directory `/home/ptah/downloads/libjit-0.0.4/include'
Making all in tools
make[2]: Entering directory `/home/ptah/downloads/libjit-0.0.4/tools'
gcc -DHAVE_CONFIG_H -I. -I. -I..    -I../include -I../include -I../jit -I../jit -fno-gcse -g -O2 -Wall -c gen-apply.c
/bin/sh ../libtool --mode=link gcc -I../include -I../include -I../jit -I../jit -fno-gcse -g -O2 -Wall  -o gen-apply  gen-apply.o  -lpthread -ldl -lm
mkdir .libs
gcc -I../include -I../include -I../jit -I../jit -fno-gcse -g -O2 -Wall -o gen-apply gen-apply.o -lpthread -ldl -lm
bison -y -d  gen-sel-parser.y && mv y.tab.c gen-sel-parser.c
if test -f y.tab.h; then \
if cmp -s y.tab.h gen-sel-parser.h; then rm -f y.tab.h; else mv y.tab.h gen-sel-parser.h; fi; \
else :; fi
gcc -DHAVE_CONFIG_H -I. -I. -I..    -I../include -I../include -I../jit -I../jit -fno-gcse -g -O2 -Wall -c gen-sel-parser.c
flex   gen-sel-scanner.l && mv lex.yy.c gen-sel-scanner.c
gcc -DHAVE_CONFIG_H -I. -I. -I..    -I../include -I../include -I../jit -I../jit -fno-gcse -g -O2 -Wall -c gen-sel-scanner.c
/bin/sh ../libtool --mode=link gcc -I../include -I../include -I../jit -I../jit -fno-gcse -g -O2 -Wall  -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 -o gen-sel gen-sel-parser.o gen-sel-scanner.o -lpthread -ldl -lm
./gen-apply >../jit/jit-apply-rules.h
make[2]: Leaving directory `/home/ptah/downloads/libjit-0.0.4/tools'
Making all in jit
make[2]: Entering directory `/home/ptah/downloads/libjit-0.0.4/jit'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -I../include -I../include -I. -I. -fno-gcse -g -O2 -Wall -c jit-alloc.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I. -I. -fno-gcse -g -O2 -Wall -Wp,-MD,.deps/jit-alloc.pp -c jit-alloc.c  -fPIC -DPIC -o .libs/jit-alloc.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I. -I. -fno-gcse -g -O2 -Wall -Wp,-MD,.deps/jit-alloc.pp -c jit-alloc.c -o jit-alloc.o >/dev/null 2>&1
mv -f .libs/jit-alloc.lo jit-alloc.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -I../include -I../include -I. -I. -fno-gcse -g -O2 -Wall -c jit-apply.c
rm -f .libs/jit-apply.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I. -I. -fno-gcse -g -O2 -Wall -Wp,-MD,.deps/jit-apply.pp -c jit-apply.c  -fPIC -DPIC -o .libs/jit-apply.lo
jit-apply.c: In function `jit_apply_builder_add_arguments':
jit-apply.c:223: warning: dereferencing type-punned pointer will break strict-aliasing rules
jit-apply.c:230: warning: dereferencing type-punned pointer will break strict-aliasing rules
jit-apply.c:237: warning: dereferencing type-punned pointer will break strict-aliasing rules
jit-apply.c:244: warning: dereferencing type-punned pointer will break strict-aliasing rules
jit-apply.c:251: warning: dereferencing type-punned pointer will break strict-aliasing rules
jit-apply.c: In function `closure_handler':
jit-apply.c:644: warning: dereferencing type-punned pointer will break strict-aliasing rules
jit-apply.c:651: warning: dereferencing type-punned pointer will break strict-aliasing rules
jit-apply.c:658: warning: dereferencing type-punned pointer will break strict-aliasing rules
jit-apply.c:665: warning: dereferencing type-punned pointer will break strict-aliasing rules
jit-apply.c:672: warning: dereferencing type-punned pointer will break strict-aliasing rules
jit-apply.c: In function `jit_closure_va_get_long':
jit-apply.c:929: warning: dereferencing type-punned pointer will break strict-aliasing rules
jit-apply.c: In function `jit_closure_va_get_ulong':
jit-apply.c:936: warning: dereferencing type-punned pointer will break strict-aliasing rules
jit-apply.c: In function `jit_closure_va_get_float32':
jit-apply.c:943: warning: dereferencing type-punned pointer will break strict-aliasing rules
jit-apply.c: In function `jit_closure_va_get_float64':
jit-apply.c:950: warning: dereferencing type-punned pointer will break strict-aliasing rules
jit-apply.c: In function `jit_closure_va_get_nfloat':
jit-apply.c:957: warning: dereferencing type-punned pointer will break strict-aliasing rules
jit-apply.c: In function `closure_handler':
jit-apply.c:802: warning: use of memory input without lvalue in asm operand 0 is deprecated
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I. -I. -fno-gcse -g -O2 -Wall -Wp,-MD,.deps/jit-apply.pp -c jit-apply.c -o jit-apply.o >/dev/null 2>&1
mv -f .libs/jit-apply.lo jit-apply.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -I../include -I../include -I. -I. -fno-gcse -g -O2 -Wall -c jit-apply-arm.c
rm -f .libs/jit-apply-arm.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I. -I. -fno-gcse -g -O2 -Wall -Wp,-MD,.deps/jit-apply-arm.pp -c jit-apply-arm.c  -fPIC -DPIC -o .libs/jit-apply-arm.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I. -I. -fno-gcse -g -O2 -Wall -Wp,-MD,.deps/jit-apply-arm.pp -c jit-apply-arm.c -o jit-apply-arm.o >/dev/null 2>&1
mv -f .libs/jit-apply-arm.lo jit-apply-arm.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -I../include -I../include -I. -I. -fno-gcse -g -O2 -Wall -c jit-apply-x86.c
rm -f .libs/jit-apply-x86.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I. -I. -fno-gcse -g -O2 -Wall -Wp,-MD,.deps/jit-apply-x86.pp -c jit-apply-x86.c  -fPIC -DPIC -o .libs/jit-apply-x86.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I. -I. -fno-gcse -g -O2 -Wall -Wp,-MD,.deps/jit-apply-x86.pp -c jit-apply-x86.c -o jit-apply-x86.o >/dev/null 2>&1
mv -f .libs/jit-apply-x86.lo jit-apply-x86.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -I../include -I../include -I. -I. -fno-gcse -g -O2 -Wall -c jit-block.c
rm -f .libs/jit-block.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I. -I. -fno-gcse -g -O2 -Wall -Wp,-MD,.deps/jit-block.pp -c jit-block.c  -fPIC -DPIC -o .libs/jit-block.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I. -I. -fno-gcse -g -O2 -Wall -Wp,-MD,.deps/jit-block.pp -c jit-block.c -o jit-block.o >/dev/null 2>&1
mv -f .libs/jit-block.lo jit-block.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -I../include -I../include -I. -I. -fno-gcse -g -O2 -Wall -c jit-cache.c
rm -f .libs/jit-cache.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I. -I. -fno-gcse -g -O2 -Wall -Wp,-MD,.deps/jit-cache.pp -c jit-cache.c  -fPIC -DPIC -o .libs/jit-cache.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I. -I. -fno-gcse -g -O2 -Wall -Wp,-MD,.deps/jit-cache.pp -c jit-cache.c -o jit-cache.o >/dev/null 2>&1
mv -f .libs/jit-cache.lo jit-cache.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -I../include -I../include -I. -I. -fno-gcse -g -O2 -Wall -c jit-context.c
rm -f .libs/jit-context.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I. -I. -fno-gcse -g -O2 -Wall -Wp,-MD,.deps/jit-context.pp -c jit-context.c  -fPIC -DPIC -o .libs/jit-context.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I. -I. -fno-gcse -g -O2 -Wall -Wp,-MD,.deps/jit-context.pp -c jit-context.c -o jit-context.o >/dev/null 2>&1
mv -f .libs/jit-context.lo jit-context.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -I../include -I../include -I. -I. -fno-gcse -g -O2 -Wall -c jit-cpuid-x86.c
rm -f .libs/jit-cpuid-x86.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I. -I. -fno-gcse -g -O2 -Wall -Wp,-MD,.deps/jit-cpuid-x86.pp -c jit-cpuid-x86.c  -fPIC -DPIC -o .libs/jit-cpuid-x86.lo
jit-cpuid-x86.c: In function `cpuid_query':
jit-cpuid-x86.c:59: error: PIC register `ebx' clobbered in `asm'
make[2]: * [jit-cpuid-x86.lo] Error 1
make[2]: Leaving directory `/home/ptah/downloads/libjit-0.0.4/jit'
make[1]: * [all-recursive] Error 1
make[1]: Leaving directory `/home/ptah/downloads/libjit-0.0.4'
make: * [all-recursive-am] Error 2

Carl-Adam Brengesjo <ptah>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-08-16 rweather StatusNone Fixed
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-bb6a.
Corresponding source code