Opened 2 years ago

Closed 2 years ago

#17507 closed bug (fixed)

gcc 11 riscv64 do_spec error

Reported by: kallisti5 Owned by: nobody
Priority: normal Milestone: R1/beta4
Component: - General Version: R1/beta3
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Trying to re-bootstrap riscv64 to fix #17468, ran into this issue compiling binutils...

[kallisti5@eris generated.riscv64-bootstrap]$ cat test.c 

/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
[kallisti5@eris generated.riscv64-bootstrap]$ ./cross-tools-riscv64/bin/riscv64-unknown-haiku-gcc -O2 test.c
riscv64-unknown-haiku-gcc: internal compiler error: in do_spec_1, at gcc.c:5971
0x433023 diagnostic_impl(rich_location*, diagnostic_metadata const*, int, char const*, __va_list_tag (*) [1], diagnostic_t)
	???:0
0x433b4a internal_error(char const*, ...)
	???:0
0x405283 fancy_abort(char const*, int, char const*)
	???:0
0x4049e7 do_spec_1(char const*, int, char const*) [clone .cold]
	???:0
0x415483 handle_braces(char const*)
	???:0
0x412daf do_spec_1(char const*, int, char const*)
	???:0
0x41303e do_spec_1(char const*, int, char const*)
	???:0
0x415483 handle_braces(char const*)
	???:0
0x412daf do_spec_1(char const*, int, char const*)
	???:0
0x415483 handle_braces(char const*)
	???:0
0x412daf do_spec_1(char const*, int, char const*)
	???:0
0x415483 handle_braces(char const*)
	???:0
0x412daf do_spec_1(char const*, int, char const*)
	???:0
0x415483 handle_braces(char const*)
	???:0
0x412daf do_spec_1(char const*, int, char const*)
	???:0
0x415483 handle_braces(char const*)
	???:0
0x412daf do_spec_1(char const*, int, char const*)
	???:0
0x415483 handle_braces(char const*)
	???:0
0x412daf do_spec_1(char const*, int, char const*)
	???:0
0x414308 do_spec_2(char const*, char const*)
	???:0
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

Change History (1)

comment:1 by kallisti5, 2 years ago

Milestone: UnscheduledR1/beta4
Resolution: fixed
Status: newclosed

solved on remaining architectures via btrev43187

Note: See TracTickets for help on using tickets.