dotgnu-pnet
[Top][All Lists]
Advanced

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

[Pnet-developers] [bugs #10002] [libjit-0.0.4/ia64] libjit doesn't compi


From: Rainer Groesslinger
Subject: [Pnet-developers] [bugs #10002] [libjit-0.0.4/ia64] libjit doesn't compile on ia64
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040917 Galeon/1.3.17

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.

/**************************************************************************/
[bugs #10002] Latest Modifications:

Changes by: 
                Rainer Groesslinger <address@hidden>
'Date: 
                Fri 10/15/2004 at 19:07 (Europe/Berlin)

------------------ Additional Follow-up Comments ----------------------------
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 :)






/**************************************************************************/
[bugs #10002] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=10002>
Project: DotGNU Portable.NET
Submitted by: Rainer Groesslinger
On: Fri 08/13/2004 at 14:53

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  None
Privacy:  Public
Assigned to:  None
Status:  Open


Summary:  [libjit-0.0.4/ia64] libjit doesn't compile on ia64

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



Follow-up Comments
------------------


-------------------------------------------------------
Date: Fri 10/15/2004 at 19:07       By: Rainer Groesslinger <scandium>
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 :)

-------------------------------------------------------
Date: Tue 09/28/2004 at 16:57       By: Rainer Groesslinger <scandium>
This is perhaps an optimization bug in gcc.
If I use -O0 it compiles fine, -O[anything] fails, though.

-------------------------------------------------------
Date: Fri 08/20/2004 at 14:28       By: Falko Meyer <fmeyer>
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







CC List
-------

CC Address                          | Comment
------------------------------------+-----------------------------
pnet-developers --AT-- dotgnu --DOT-- org | 









For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=10002>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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