[Bug binutils/17421] Internal error in output_insn during kernel build
https://sourceware.org/bugzilla/show_bug.cgi?id=17421 --- Comment #1 from Mikael Pettersson --- Since you use -march=native it's not surprising to see different results on different machines. Please repeat the kernel build on the failing machine with "make V=1 -j1" and capture the full gcc invocation for the file that crashed gas (cpucheck.c). Then repeat that gcc invocation with "-S" appended to the options. That should leave a cpucheck.s that crashes gas. Attach that file here. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/17421] Internal error in output_insn during kernel build
https://sourceware.org/bugzilla/show_bug.cgi?id=17421 --- Comment #2 from Geoff Hill --- Created attachment 7800 --> https://sourceware.org/bugzilla/attachment.cgi?id=7800&action=edit Input that fails to assemble -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/17421] Internal error in output_insn during kernel build
https://sourceware.org/bugzilla/show_bug.cgi?id=17421 Geoff Hill changed: What|Removed |Added Component|binutils|gas --- Comment #3 from Geoff Hill --- Looking at the V=1 output, the Makefile never calls gas directly but relies on the gcc command. > gcc -Wp,-MD,arch/x86/boot/.cpucheck.o.d -D__KERNEL__ -march=native ... -c -o > arch/x86/boot/.tmp_cpucheck.o arch/x86/boot/cpucheck.c Changing the "-c" to a "-S" gives me the attached file. It fails to compile on my system, even *without* passing any of these arguments to gas (env is clean too). > # as cpucheck.S -c -o .tmp.o > cpucheck.S: Assembler messages: > cpucheck.S:32: Internal error, aborting at > /build/binutils/src/binutils-2.24/gas/config/tc-i386.c line 6969 in > output_insn Please report this bug. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/17421] Internal error in output_insn during kernel build
https://sourceware.org/bugzilla/show_bug.cgi?id=17421 Mikael Pettersson changed: What|Removed |Added CC||mikpelinux at gmail dot com --- Comment #4 from Mikael Pettersson --- Created attachment 7801 --> https://sourceware.org/bugzilla/attachment.cgi?id=7801&action=edit reduced test case Seems like .code16gcc and the "andn" instruction don't work together. > cat bz17421.s .code16gcc .text andnreq_flags(,%edx,4), %ecx, %ecx > as bz17421.s bz17421.s: Assembler messages: bz17421.s:3: Internal error, aborting at config/tc-i386.c line 6340 in output_insn Please report this bug. > as --version GNU assembler version 2.23.52.0.1-9.fc19 20130226 Copyright 2013 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or later. This program has absolutely no warranty. This assembler was configured for a target of `x86_64-redhat-linux'. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils