bugDotGNU Portable.NET - Bugs: bug #10002, [libjit-0.0.4/ia64] libjit doesn't...

 
 

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

bug #10002: [libjit-0.0.4/ia64] libjit doesn't compile on ia64

Submitter:  -Deleted Account- <scandium>
Submitted:  Fri 13 Aug 2004 02:53:39 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Fri 15 Oct 2004 09:53:31 PM UTC, comment #4: 

Bug closed per submitters request.

Rhys Weatherley <rweather>
Group administrator
Fri 15 Oct 2004 07:07:12 PM UTC, comment #3: 

It seems that it indeed was a gcc optimization problem on some architectures, recent gcc versions don't have that problem and a "gen-apply" built with -Ox does not segfault anymore.

Tested with GNU/Linux on ia64, gcc-3.3.5 and gcc-3.4.2

<=3.3.4 fails obviously, I don't know about earlier 3.4 releases than 3.4.2.


Someone please close this bug :)

-Deleted Account- <scandium>
Tue 28 Sep 2004 04:57:54 PM UTC, comment #2: 

This is perhaps an optimization bug in gcc.
If I use -O0 it compiles fine, -O[anything] fails, though.

-Deleted Account- <scandium>
Fri 20 Aug 2004 02:28:29 PM UTC, comment #1: 

same here:
SunOS isray 5.9 Generic_112233-12 sun4u sparc SUNW,Sun-Fire-V440
gcc version 3.3.4
automake (GNU automake) 1.9
autoconf (GNU Autoconf) 2.59
flex version 2.5.4
bison (GNU Bison) 1.35



Falko Meyer <fmeyer>
Fri 13 Aug 2004 02:53:39 PM UTC, original submission:  

Environment:
gcc-3.3.2
automake-1.8.3
autoconf-2.59
flex-2.5.4a
bison-1.875

The error message when compiling libjit on ia64 gnu/linux is as follows:


/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]: * [../jit/jit-apply-rules.h] Error 139
make[2]: Leaving directory `/home/scandium/distfiles/libjit-0.0.4/tools'
make[1]: * [all-recursive] Error 1
make[1]: Leaving directory `/home/scandium/distfiles/libjit-0.0.4'
make: * [all-recursive-am] Error 2

----------
When running make again, it also errors, but that is probably just a quirk in the Makefile and caused by the previous error:

make[2]: Entering directory `/home/scandium/distfiles/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-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:66: error: `JIT_APPLY_STRUCT_RETURN_IN_REG_INIT' undeclared here (not in a function)
jit-apply.c:152: error: syntax error before '*' token
jit-apply.c: In function `jit_apply_builder_add_arguments':
jit-apply.c:157: error: `num_args' undeclared (first use in this function)
jit-apply.c:157: error: (Each undeclared identifier is reported only once
jit-apply.c:157: error: for each function it appears in.)
jit-apply.c:160: error: `signature' undeclared (first use in this function)
jit-apply.c:160: warning: passing arg 2 of `jit_type_get_param' makes integer from pointer without a cast
jit-apply.c:166: warning: implicit declaration of function `jit_apply_builder_add_sbyte'
jit-apply.c:166: error: `builder' undeclared (first use in this function)
jit-apply.c:166: error: `args' undeclared (first use in this function)
jit-apply.c:173: warning: implicit declaration of function `jit_apply_builder_add_ubyte'
jit-apply.c:180: warning: implicit declaration of function `jit_apply_builder_add_short'
jit-apply.c:187: warning: implicit declaration of function `jit_apply_builder_add_ushort'
jit-apply.c:194: warning: implicit declaration of function `jit_apply_builder_add_int'
jit-apply.c:201: warning: implicit declaration of function `jit_apply_builder_add_uint'
jit-apply.c:210: warning: implicit declaration of function `jit_apply_builder_add_nint'
jit-apply.c:217: warning: implicit declaration of function `jit_apply_builder_add_nuint'
jit-apply.c:224: warning: implicit declaration of function `jit_apply_builder_add_long'
jit-apply.c:231: warning: implicit declaration of function `jit_apply_builder_add_ulong'
jit-apply.c:238: warning: implicit declaration of function `jit_apply_builder_add_float32'
jit-apply.c:245: warning: implicit declaration of function `jit_apply_builder_add_float64'
jit-apply.c:252: warning: implicit declaration of function `jit_apply_builder_add_nfloat'
jit-apply.c:260: warning: implicit declaration of function `jit_apply_builder_add_struct'
jit-apply.c: At top level:
jit-apply.c:272: error: syntax error before '*' token
jit-apply.c: In function `jit_apply_builder_get_return':
jit-apply.c:275: error: `type' undeclared (first use in this function)
jit-apply.c:279: error: `return_value' undeclared (first use in this function)
jit-apply.c:280: warning: implicit declaration of function `jit_apply_return_get_sbyte'
jit-apply.c:280: error: `result' undeclared (first use in this function)
jit-apply.c:287: warning: implicit declaration of function `jit_apply_return_get_ubyte'
jit-apply.c:294: warning: implicit declaration of function `jit_apply_return_get_short'
jit-apply.c:301: warning: implicit declaration of function `jit_apply_return_get_ushort'
jit-apply.c:308: warning: implicit declaration of function `jit_apply_return_get_int'
jit-apply.c:315: warning: implicit declaration of function `jit_apply_return_get_uint'
jit-apply.c:324: warning: implicit declaration of function `jit_apply_return_get_nint'
jit-apply.c:331: warning: implicit declaration of function `jit_apply_return_get_nuint'
jit-apply.c:338: warning: implicit declaration of function `jit_apply_return_get_long'
jit-apply.c:345: warning: implicit declaration of function `jit_apply_return_get_ulong'
jit-apply.c:352: warning: implicit declaration of function `jit_apply_return_get_float32'
jit-apply.c:359: warning: implicit declaration of function `jit_apply_return_get_float64'
jit-apply.c:366: warning: implicit declaration of function `jit_apply_return_get_nfloat'
jit-apply.c:375: warning: implicit declaration of function `jit_apply_builder_get_struct_return'
jit-apply.c:375: error: `builder' undeclared (first use in this function)
jit-apply.c: In function `jit_apply':
jit-apply.c:395: error: `jit_apply_builder' undeclared (first use in this function)
jit-apply.c:395: error: syntax error before "builder"
jit-apply.c:397: error: `jit_apply_return' undeclared (first use in this function)
jit-apply.c:397: error: `apply_return' undeclared (first use in this function)
jit-apply.c:401: warning: implicit declaration of function `jit_apply_builder_init'
jit-apply.c:401: error: `builder' undeclared (first use in this function)
jit-apply.c:408: warning: implicit declaration of function `jit_apply_builder_add_struct_return'
jit-apply.c:414: warning: implicit declaration of function `jit_apply_builder_start_varargs'
jit-apply.c: In function `jit_apply_raw':
jit-apply.c:452: error: `jit_apply_return' undeclared (first use in this function)
jit-apply.c:452: error: `apply_return' undeclared (first use in this function)
jit-apply.c: At top level:
jit-apply.c:531: error: syntax error before "jit_apply_builder"
jit-apply.c:531: warning: no semicolon at end of struct or union
jit-apply.c: In function `jit_closure_va_get_nint':
jit-apply.c:915: warning: implicit declaration of function `jit_apply_parser_get_nint'
jit-apply.c:915: error: dereferencing pointer to incomplete type
jit-apply.c: In function `jit_closure_va_get_nuint':
jit-apply.c:922: warning: implicit declaration of function `jit_apply_parser_get_nuint'
jit-apply.c:922: error: dereferencing pointer to incomplete type
jit-apply.c: In function `jit_closure_va_get_long':
jit-apply.c:929: warning: implicit declaration of function `jit_apply_parser_get_long'
jit-apply.c:929: error: dereferencing pointer to incomplete type
jit-apply.c: In function `jit_closure_va_get_ulong':
jit-apply.c:936: warning: implicit declaration of function `jit_apply_parser_get_ulong'
jit-apply.c:936: error: dereferencing pointer to incomplete type
jit-apply.c: In function `jit_closure_va_get_float32':
jit-apply.c:943: warning: implicit declaration of function `jit_apply_parser_get_float32'
jit-apply.c:943: error: dereferencing pointer to incomplete type
jit-apply.c: In function `jit_closure_va_get_float64':
jit-apply.c:950: warning: implicit declaration of function `jit_apply_parser_get_float64'
jit-apply.c:950: error: dereferencing pointer to incomplete type
jit-apply.c: In function `jit_closure_va_get_nfloat':
jit-apply.c:957: warning: implicit declaration of function `jit_apply_parser_get_nfloat'
jit-apply.c:957: error: dereferencing pointer to incomplete type
jit-apply.c: In function `jit_closure_va_get_ptr':
jit-apply.c:964: error: dereferencing pointer to incomplete type
jit-apply.c: In function `jit_closure_va_get_struct':
jit-apply.c:978: warning: implicit declaration of function `jit_apply_parser_get_struct'
jit-apply.c:978: error: dereferencing pointer to incomplete type
jit-apply.c: At top level:
jit-apply.c:72: warning: `jit_type_get_max_arg_size' defined but not used
make[2]: * [jit-apply.lo] Error 1
make[2]: Leaving directory `/home/scandium/distfiles/libjit-0.0.4/jit'
make[1]: * [all-recursive] Error 1
make[1]: Leaving directory `/home/scandium/distfiles/libjit-0.0.4'
make: * [all-recursive-am] Error 2


-Deleted Account- <scandium>

 

(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 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-10-15 rweather StatusNone Fixed
    Open/ClosedOpen Closed
2004-09-28 scandium Carbon-Copy- Added pnet-developers --AT-- dotgnu --DOT-- org

Back to the top

Powered by Savane 3.13-caa5.
Corresponding source code