------- Comment #15 from vijay dot x dot jain at jpmchase dot com 2009-09-10 06:02 ------- Please find attached stack trace of the segmentation fault
GNU C (GCC) version 4.3.2 (sparc-sun-solaris2.10) compiled by GNU C version 4.3.2 (20090604) (gccfss), GMP version 4.3.1, MPFR version 2.4.1. GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 Program received signal SIGSEGV, Segmentation fault. 0x016d355c in chainon (op1=0xfef1cf40, op2=0xfef1c6e0) at /home/odyssey/f065093/gcc/gcc-4.3.2/gcc/tree.c:1716 1716 for (t1 = op1; TREE_CHAIN (t1); t1 = TREE_CHAIN (t1)) (gdb) bt #0 0x016d355c in chainon (op1=0xfef1cf40, op2=0xfef1c6e0) at /home/odyssey/f065093/gcc/gcc-4.3.2/gcc/tree.c:1716 #1 0x0016ac38 in def_fn_type (def=BT_FN_VOID_PTR_INT, ret=BT_VOID, var=0 '\0', n=2) at /home/odyssey/f065093/gcc/gcc-4.3.2/gcc/c-common.c:3529 #2 0x0016ba6c in c_define_builtins (va_list_ref_type_node=0x1f6e800, va_list_arg_type_node=0x1f6e800) at builtin-types.def:223 #3 0x00185ab8 in c_common_nodes_and_builtins () at /home/odyssey/f065093/gcc/gcc-4.3.2/gcc/c-common.c:3904 #4 0x0009c594 in c_init_decl_processing () at /home/odyssey/f065093/gcc/gcc-4.3.2/gcc/c-decl.c:2773 #5 0x001d3e58 in c_objc_common_init () at /home/odyssey/f065093/gcc/gcc-4.3.2/gcc/c-objc-common.c:70 #6 0x00c80250 in lang_dependent_init (name=0xffbff00f "conftest.c") at /home/odyssey/f065093/gcc/gcc-4.3.2/gcc/toplev.c:2123 #7 0x00c80714 in do_compile () at /home/odyssey/f065093/gcc/gcc-4.3.2/gcc/toplev.c:2239 #8 0x00c807ec in toplev_main (argc=0, argv=0xffbfecb4) at /home/odyssey/f065093/gcc/gcc-4.3.2/gcc/toplev.c:2272 #9 0x0025f8f4 in main (argc=26, argv=0xffbfecb4) at /home/odyssey/f065093/gcc/gcc-4.3.2/gcc/main.c:35 As mentioned by you the precompiled version of GCC on solaris 10 that we are using is not the official compiler. So how do i fullfill this prerequisite ISO C90 compiler Necessary to bootstrap GCC, although versions of GCC prior to 3.4 also allow bootstrapping with a traditional (K&R) C compiler. To build all languages in a cross-compiler or other configuration where 3-stage bootstrap is not performed, you need to start with an existing GCC binary (version 2.95 or later) because source code for language frontends other than C might use GCC extensions. Kindly suggest. We hope your kind co-operation on this to take this to resolution. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41304