This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Compilation of glibc fails currently with the mainline on i686-linux with glibc 2.2.4. Alexandre, the backtrace looks like your inline changes might be the reason. $ /opt/gcc-3.1-devel/bin/gcc ../sysdeps/generic/strtoll.c -c -O3 -Wall -Wbad-function-cast -Wcomment -Wcomments -Winline -Wmissing-declarations -Wmissing-format-attribute -Wm issing-noreturn -Wmissing-prototypes -Wmultichar -Wstrict-prototypes -Wtrigraphs -Wwrite-strings -freorder-blocks -g -march=pentiumpro -mcpu=i686 -I../include -I. -I/builds/glibc/gcc-3.1/stdlib -I.. -I../libio -I/builds/glibc/gcc-3.1 -I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386 -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386/i686 -I../linuxthreads/sysdeps/i386/i586 -I../sysdeps/i386/i586 -I../sysdeps/i386/i486 -I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386/i686 -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -D_LIBC_REENTRANT -include ../include/libc-symbols.h -o /builds/glibc/gcc-3.1/stdlib/strtoll.o -v -save-temps Reading specs from /opt/gcc-3.1-devel/lib/gcc-lib/i686-pc-linux-gnu/3.1/specs Configured with: /cvs/gcc/configure --prefix=/opt/gcc-3.1-devel --enable-shared --enable-threads=posix --enable-clocale=gnu --with-gnu-as --with-gnu-ld --disable-nls --with-system-zlib --enable-languages=c,objc,c++,f77,java,ada Thread model: posix gcc version 3.1 20011113 (experimental) /opt/gcc-3.1-devel/lib/gcc-lib/i686-pc-linux-gnu/3.1/cpp0 -lang-c -v -I../include -I. -I/builds/glibc/gcc-3.1/stdlib -I.. -I../libio -I/builds/glibc/gcc-3.1 -I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386 -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386/i686 -I../linuxthreads/sysdeps/i386/i586 -I../sysdeps/i386/i586 -I../sysdeps/i386/i486 -I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386/i686 -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -D__GNUC__=3 -D__GNUC_MINOR__=1 -D__GNUC_PATCHLEVEL__=0 -D__ELF__ -Dunix -Dlinux -D__ELF__ -D__unix__ -D__linux__ -D__unix -D__linux -Asystem=posix -D__OPTIMIZE__ -D__STDC_HOSTED__=1 -Wall -Wbad-function-cast -Wcomment -Wcomments -Winline -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wmultichar -Wstrict-prototypes -Wtrigraphs -Wwrite-strings -Acpu=i386 -Amachine=i386 -Di386 -D__i386 -D__i386__ -D__i686 -D__i686__ -D__pentiumpro -D__pentiumpro__ -D__tune_i686__ -D__tune_pentiumpro__ -D_LIBC_REENTRANT -include ../include/libc-symbols.h ../sysdeps/generic/strtoll.c strtoll.i GNU CPP version 3.1 20011113 (experimental) (cpplib) (i386 Linux/ELF) ignoring nonexistent directory "/opt/gcc-3.1-devel/i686-pc-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: ../include . /builds/glibc/gcc-3.1/stdlib .. ../libio /builds/glibc/gcc-3.1 ../sysdeps/i386/elf ../linuxthreads/sysdeps/unix/sysv/linux/i386 ../linuxthreads/sysdeps/unix/sysv/linux ../linuxthreads/sysdeps/pthread ../sysdeps/pthread ../linuxthreads/sysdeps/unix/sysv ../linuxthreads/sysdeps/unix ../linuxthreads/sysdeps/i386/i686 ../linuxthreads/sysdeps/i386/i586 ../sysdeps/i386/i586 ../sysdeps/i386/i486 ../linuxthreads/sysdeps/i386 ../sysdeps/unix/sysv/linux/i386/i686 ../sysdeps/unix/sysv/linux/i386 ../sysdeps/unix/sysv/linux ../sysdeps/gnu ../sysdeps/unix/common ../sysdeps/unix/mman ../sysdeps/unix/inet ../sysdeps/unix/sysv/i386 ../sysdeps/unix/sysv ../sysdeps/unix/i386 ../sysdeps/unix ../sysdeps/posix ../sysdeps/i386/i686/fpu ../sysdeps/i386/i686 ../sysdeps/i386/fpu ../sysdeps/i386 ../sysdeps/wordsize-32 ../sysdeps/ieee754/ldbl-96 ../sysdeps/ieee754/dbl-64 ../sysdeps/ieee754/flt-32 ../sysdeps/ieee754 ../sysdeps/generic/elf ../sysdeps/generic /usr/local/include /opt/gcc-3.1-devel/include /opt/gcc-3.1-devel/lib/gcc-lib/i686-pc-linux-gnu/3.1/include /usr/include End of search list. /opt/gcc-3.1-devel/lib/gcc-lib/i686-pc-linux-gnu/3.1/cc1 -fpreprocessed strtoll.i -quiet -dumpbase strtoll.c -march=pentiumpro -mcpu=i686 -g -O3 -Wall -Wbad-function-cast -Wcomment -Wcomments -Winline -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wmultichar -Wstrict-prototypes -Wtrigraphs -Wwrite-strings -version -freorder-blocks -o strtoll.s GNU CPP version 3.1 20011113 (experimental) (cpplib) (i386 Linux/ELF) GNU C version 3.1 20011113 (experimental) (i686-pc-linux-gnu) compiled by GNU C version 3.1 20011113 (experimental). ../sysdeps/generic/strtoll.c: In function `strtoq': ../sysdeps/generic/strtoll.c:321: Internal error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. gdb) r -fpreprocessed strtoll.i -quiet -dumpbase strtoll.c -march=pentiumpro -mcpu=i686 -g -O3 -Wall -Wbad-function-cast -Wcomment -Wcomments -Winline -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wmultichar -Wstrict-prototypes -Wtrigraphs -Wwrite-strings -version -freorder-blocks -o strtoll.s Starting program: /opt/gcc-3.1-devel/lib/gcc-lib/i686-pc-linux-gnu/3.1/cc1 -fpreprocessed strtoll.i -quiet -dumpbase strtoll.c -march=pentiumpro -mcpu=i686 -g -O3 -Wall -Wbad-function-cast -Wcomment -Wcomments -Winline -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wmultichar -Wstrict-prototypes -Wtrigraphs -Wwrite-strings -version -freorder-blocks -o strtoll.s Breakpoint 2 at 0x4005c755 Breakpoint 3 at 0x4005b347 GNU CPP version 3.1 20011113 (experimental) (cpplib) (i386 Linux/ELF) GNU C version 3.1 20011113 (experimental) (i686-pc-linux-gnu) compiled by GNU C version 3.1 20011113 (experimental). Program received signal SIGSEGV, Segmentation fault. 0x812eefe in aggregate_value_p (exp=0x0) at /cvs/gcc/gcc/function.c:4175 4175 tree type = (TYPE_P (exp)) ? exp : TREE_TYPE (exp); (gdb) bt #0 0x812eefe in aggregate_value_p (exp=0x0) at /cvs/gcc/gcc/function.c:4175 #1 0x8133253 in init_function_start (subr=0x401a07b4, filename=0x844ae1b "../sysdeps/generic/strtoll.c", line=33) at /cvs/gcc/gcc/function.c:6248 #2 0x80645f6 in c_expand_body (fndecl=0x401a07b4, nested_p=0, can_defer_p=0) at /cvs/gcc/gcc/c-decl.c:6821 #3 0x8064541 in c_expand_deferred_function (fndecl=0x401a07b4) at /cvs/gcc/gcc/c-decl.c:6765 #4 0x804f06c in finish_file () at /cvs/gcc/gcc/c-lang.c:275 #5 0x8049b65 in yyparse_1 () at /usr/share/bison.simple:293 #6 0x821fc47 in compile_file (name=0xbffff653 "strtoll.i") at /cvs/gcc/gcc/toplev.c:2341 #7 0x82241cc in toplev_main (argc=27, argv=0xbffff424) at /cvs/gcc/gcc/toplev.c:4966 #8 0x8099feb in main (argc=27, argv=0xbffff424) at /cvs/gcc/gcc/main.c:35 #9 0x40049c6f in __libc_start_main () from /lib/libc.so.6 (gdb) up #1 0x8133253 in init_function_start (subr=0x401a07b4, filename=0x844ae1b "../sysdeps/generic/strtoll.c", line=33) at /cvs/gcc/gcc/function.c:6248 6248 if (aggregate_value_p (DECL_RESULT (subr))) (gdb) pt subr <function_decl 0x401a07b4 strtoq type <function_type 0x401a0740 type <integer_type 0x4001c4fc long long int DI size <integer_cst 0x4001b580 constant 64> unit size <integer_cst 0x4001b6a0 constant 8> align 64 symtab 6 alias set -1 precision 64 min <integer_cst 0x4001b660 0x8000000000000000> max <integer_cst 0x4001b680 0x7fffffffffffffff>> DI size <integer_cst 0x4001b880 constant 64> unit size <integer_cst 0x4001baa0 constant 8> align 64 symtab 0 alias set -1 arg-types <tree_list 0x4019fab0 value <pointer_type 0x4019da6c> chain <tree_list 0x4019fac8 value <pointer_type 0x4019dbc8> chain <tree_list 0x4019fae0 value <integer_type 0x4001c32c int> chain <tree_list 0x4019faf8 value <void_type 0x4001e7b4 void>>>>> pointer_to_this <pointer_type 0x401ad570>> public common external inline defer-output QI file ../sysdeps/generic/strtoll.c line 33 attributes <tree_list 0x402bda38> initial <error_mark 0x4001a450> (mem:QI (symbol_ref:SI ("strtoq")) [0 S1 A8]) chain <function_decl 0x401a0570 strtoul>> I'm appending the preprocessed source, Andreas
Attachment:
strtoll.i
Description: Binary data
-- Andreas Jaeger SuSE Labs aj@suse.de private aj@arthur.inka.de http://www.suse.de/~aj
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |