Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FTBFS with gcc-12.2.0 #1

Closed
cpaelzer opened this issue Sep 19, 2022 · 2 comments
Closed

FTBFS with gcc-12.2.0 #1

cpaelzer opened this issue Sep 19, 2022 · 2 comments

Comments

@cpaelzer
Copy link

Hi,
this is not your issue (it is in gcc AFAICS), but I wanted to file it anyway for your awareness as others might look here for a resolution.
Please close/flag this case accordingly, but having it indexed in search engines will help :-)

If you build qemu-palcode with GCC 12.2.0 I've reliably got the following error.

Repro steps in Ubuntu 22.10:

$ git clone https://gitlab.com/qemu-project/qemu-palcode.git
$ cd qemu-palcode/
$ apt install gcc-alpha-linux-gnu
$ make CROSS=alpha-linux-gnu-
...

alpha-linux-gnu-gcc -O2 -g1 -Wall -fvisibility=hidden -fno-strict-aliasing -msmall-text -msmall-data -mno-fp-regs -mbuild-constants -mcpu=ev67 -DSYSTEM_H='"sys-clipper.h"'  -c -o console.o console.c
during RTL pass: expand
console.c: In function ‘do_console’:
console.c:130:12: internal compiler error: in emit_move_insn, at expr.cc:4010
  130 |     vga[0] = 'H' + attr;
      |     ~~~~~~~^~~~~~~~~~~~
0x137917b internal_error(char const*, ...)
	???:0
0x5a9326 fancy_abort(char const*, int, char const*)
	???:0
0xe0a692 alpha_split_const_mov(machine_mode, rtx_def**)
	???:0
0xe0a801 alpha_expand_mov(machine_mode, rtx_def**)
	???:0
0x112e2dd gen_movv4hi(rtx_def*, rtx_def*)
	???:0
0x7eedeb emit_move_insn_1(rtx_def*, rtx_def*)
	???:0
0x7ef1d7 emit_move_insn(rtx_def*, rtx_def*)
	???:0
0xe0d016 alpha_expand_movmisalign(machine_mode, rtx_def**)
	???:0
0x112e5aa gen_movmisalignv4hi(rtx_def*, rtx_def*)
	???:0
0xa278fc expand_insn(insn_code, unsigned int, expand_operand*)
	???:0
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-12/README.Bugs> for instructions.
make: *** [<builtin>: console.o] Error 1

The real issue I assume is in GCC which is filed here https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106966

@cpaelzer
Copy link
Author

I realized too late it is just the mirror (working on too many projects exception), I moved it over at least to gitlab (which has more attention) and will send a mail about it afterwards.
Closing this one ...

@cpaelzer
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant