This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/44289] New: [4.6 Regression]: cris-elf doesn't build libgcc (config/fp-bit.c alias dp-bit.c) after r159873
- From: "hp at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 May 2010 23:38:50 -0000
- Subject: [Bug middle-end/44289] New: [4.6 Regression]: cris-elf doesn't build libgcc (config/fp-bit.c alias dp-bit.c) after r159873
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
With revision 159873 cris-elf built a combined tree (with results at
regress-9).
>From revision 159896 and on, the tree is broken as follows:
/tmp/hpautotest-gcc1/cris-elf/gccobj/./gcc/xgcc
-B/tmp/hpautotest-gcc1/cris-elf/gccobj/./gcc/ -nostdinc
-B/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/newlib/ -isystem
/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/newlib/targ-include -isystem
/tmp/hpautotest-gcc1/gcc/newlib/libc/include
-B/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/libgloss/cris
-L/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/libgloss/libnosys
-L/tmp/hpautotest-gcc1/gcc/libgloss/cris
-B/tmp/hpautotest-gcc1/cris-elf/pre/cris-elf/bin/
-B/tmp/hpautotest-gcc1/cris-elf/pre/cris-elf/lib/ -isystem
/tmp/hpautotest-gcc1/cris-elf/pre/cris-elf/include -isystem
/tmp/hpautotest-gcc1/cris-elf/pre/cris-elf/sys-include -g -O2 -march=v10
-mbest-lib-options -O2 -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall
-Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -isystem ./include -g -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../.././gcc
-I/tmp/hpautotest-gcc1/gcc/libgcc -I/tmp/hpautotest-gcc1/gcc/libgcc/.
-I/tmp/hpautotest-gcc1/gcc/libgcc/../gcc
-I/tmp/hpautotest-gcc1/gcc/libgcc/../include -DHAVE_CC_TLS -DUSE_EMUTLS -o
_mul_df.o -MT _mul_df.o -MD -MP -MF _mul_df.dep -DFINE_GRAINED_LIBRARIES
-DL_mul_df -c ../../.././gcc/dp-bit.c
../../.././gcc/dp-bit.c: In function '_fpmul_parts':
../../.././gcc/dp-bit.c:898:4: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[4]: *** [_mul_df.o] Error 1
make[4]: Leaving directory
`/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/v10/libgcc'
A backtrace in gdb at the SEGV doesn't reveal a smoking gun:
(gdb) bt
#0 0x000000000040537f in narrowest_signed_type (value=0x7ffff7f846e8,
loc=<value optimized out>, cpp_flags=0x0,
lex_flags=<value optimized out>) at
/tmp/hpautotest-gcc1/gcc/gcc/c-lex.c:511
#1 interpret_integer (value=0x7ffff7f846e8, loc=<value optimized out>,
cpp_flags=0x0, lex_flags=<value optimized out>)
at /tmp/hpautotest-gcc1/gcc/gcc/c-lex.c:545
#2 c_lex_with_flags (value=0x7ffff7f846e8, loc=<value optimized out>,
cpp_flags=0x0, lex_flags=<value optimized out>)
at /tmp/hpautotest-gcc1/gcc/gcc/c-lex.c:333
#3 0x0000000000476739 in c_lex_one_token (parser=0x7ffff7f846e0,
token=0x7ffff7f846e0)
at /tmp/hpautotest-gcc1/gcc/gcc/c-parser.c:205
#4 0x000000000047ca7c in c_parser_peek_token (parser=<value optimized out>,
after=<value optimized out>)
at /tmp/hpautotest-gcc1/gcc/gcc/c-parser.c:321
#5 c_parser_expr_no_commas (parser=<value optimized out>, after=<value
optimized out>)
at /tmp/hpautotest-gcc1/gcc/gcc/c-parser.c:4763
#6 0x000000000047ce75 in c_parser_expression (parser=0x7ffff7f846e0) at
/tmp/hpautotest-gcc1/gcc/gcc/c-parser.c:6166
#7 0x000000000047d33d in c_parser_expression_conv (parser=0x7ffff7f846e0)
at /tmp/hpautotest-gcc1/gcc/gcc/c-parser.c:6197
#8 0x00000000004812ab in c_parser_statement_after_labels
(parser=0x7ffff7f846e0)
at /tmp/hpautotest-gcc1/gcc/gcc/c-parser.c:4050
#9 0x0000000000482164 in c_parser_compound_statement_nostart
(parser=0x7ffff7f846e0)
at /tmp/hpautotest-gcc1/gcc/gcc/c-parser.c:3728
#10 0x0000000000482789 in c_parser_compound_statement (parser=0x7ffff7f846e0)
at /tmp/hpautotest-gcc1/gcc/gcc/c-parser.c:3565
#11 0x00000000004836e7 in c_parser_if_body (parser=0x7ffff7f846e0) at
/tmp/hpautotest-gcc1/gcc/gcc/c-parser.c:4143
#12 c_parser_if_statement (parser=0x7ffff7f846e0) at
/tmp/hpautotest-gcc1/gcc/gcc/c-parser.c:4201
#13 0x000000000048187b in c_parser_statement_after_labels
(parser=0x7ffff7f846e0)
at /tmp/hpautotest-gcc1/gcc/gcc/c-parser.c:3948
#14 0x0000000000482164 in c_parser_compound_statement_nostart
(parser=0x7ffff7f846e0)
at /tmp/hpautotest-gcc1/gcc/gcc/c-parser.c:3728
#15 0x0000000000482789 in c_parser_compound_statement (parser=0x7ffff7f846e0)
at /tmp/hpautotest-gcc1/gcc/gcc/c-parser.c:3565
#16 0x00000000004813c0 in c_parser_statement_after_labels
(parser=0x7ffff7f846e0)
at /tmp/hpautotest-gcc1/gcc/gcc/c-parser.c:3942
#17 0x0000000000483838 in c_parser_c99_block_statement (parser=0x7ffff7f846e0)
at /tmp/hpautotest-gcc1/gcc/gcc/c-parser.c:4110
#18 0x00000000004818fc in c_parser_while_statement (parser=0x7ffff7f846e0)
at /tmp/hpautotest-gcc1/gcc/gcc/c-parser.c:4276
#19 c_parser_statement_after_labels (parser=0x7ffff7f846e0) at
/tmp/hpautotest-gcc1/gcc/gcc/c-parser.c:3954
#20 0x0000000000482164 in c_parser_compound_statement_nostart
(parser=0x7ffff7f846e0)
at /tmp/hpautotest-gcc1/gcc/gcc/c-parser.c:3728
#21 0x0000000000482789 in c_parser_compound_statement (parser=0x7ffff7f846e0)
at /tmp/hpautotest-gcc1/gcc/gcc/c-parser.c:3565
#22 0x0000000000482dce in c_parser_declaration_or_fndef (parser=0x7ffff7f846e0,
fndef_ok=<value optimized out>,
static_assert_ok=<value optimized out>, empty_ok=<value optimized out>,
nested=<value optimized out>,
start_attr_ok=<value optimized out>) at
/tmp/hpautotest-gcc1/gcc/gcc/c-parser.c:1376
#23 0x0000000000486378 in c_parser_translation_unit () at
/tmp/hpautotest-gcc1/gcc/gcc/c-parser.c:1031
#24 c_parse_file () at /tmp/hpautotest-gcc1/gcc/gcc/c-parser.c:8891
#25 0x000000000046a17a in c_common_parse_file (set_yydebug=<value optimized
out>)
at /tmp/hpautotest-gcc1/gcc/gcc/c-opts.c:1393
#26 0x000000000070c5fb in compile_file (argc=6, argv=0x7fffffffe138) at
/tmp/hpautotest-gcc1/gcc/gcc/toplev.c:1050
#27 do_compile (argc=6, argv=0x7fffffffe138) at
/tmp/hpautotest-gcc1/gcc/gcc/toplev.c:2415
#28 toplev_main (argc=6, argv=0x7fffffffe138) at
/tmp/hpautotest-gcc1/gcc/gcc/toplev.c:2457
#29 0x00000037d421eb1d in __libc_start_main () from /lib64/libc.so.6
#30 0x0000000000402739 in _start ()
Preprocessed source to be attached. There are several authors in that revision
range, so I'll bisect the list before adding any to CC.
--
Summary: [4.6 Regression]: cris-elf doesn't build libgcc
(config/fp-bit.c alias dp-bit.c) after r159873
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code, build
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hp at gcc dot gnu dot org
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: cris-axis-elf
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44289