[LLVMbugs] [Bug 5314] [Linux Kernel] Inline asm asmprinter crash with P modifier
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Jan 5 08:41:29 PST 2011
http://llvm.org/bugs/show_bug.cgi?id=5314
Rob <rob1weld at aol.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
CC| |rob1weld at aol.com
Resolution|FIXED |
--- Comment #5 from Rob <rob1weld at aol.com> 2011-01-05 10:41:28 CST ---
(In reply to comment #4)
> Crash fixed in 108545. Generated code made correct in 108548 (I think).
I downloaded the Attachment and I can reproduce this BR, I 'REOPENED' Tiago's
BR to avoid a Dupe:
# uname -a
Linux debian 2.6.33.7 #1 SMP PREEMPT Tue Jan 4 19:10:07 PST 2011 i686 GNU/Linux
# cd /usr/local/linux-2.6.33.7
# make-kpkg clean
# MAKEFLAGS="CC=llvm-gcc-4.2" make-kpkg --initrd kernel_image
...
HOSTCC scripts/kallsyms
HOSTCC scripts/pnmtologo
HOSTCC scripts/conmakehash
HOSTCC scripts/bin2c
CC init/main.o
UNREACHABLE executed!
init/main.c:897: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://llvm.org/bugs/> for instructions.
make[2]: *** [init/main.o] Error 1
make[1]: *** [init] Error 2
make[1]: Leaving directory `/usr/local/linux-2.6.33.7'
make: *** [debian/stamp/build/kernel] Error 2
root at debian:/usr/local/linux-2.6.33.7#
(Note: Line init/main.c:897 is EOF - nothing to see but "}")
# llc-2.7 -version
Low Level Virtual Machine (http://llvm.org/):
llvm version 2.7 (Debian 2.7-6)
Optimized build.
Built Sep 23 2010 (21:14:53).
Host: i386-pc-linux-gnu
Host CPU: athlon64
...
# llc-2.7 t.bc -o -
.file "t.bc"
.text
.globl init_post
.type init_post, at function
init_post: # @init_post
# BB#0: # %entry
subl $4, %esp
xorb %al, %al
testb %al, %al
movl $per_cpu__current_task, %eax
#APP
movl %fs:UNREACHABLE executed!
0 libLLVM-2.7.so.1 0xb7554c08
Stack dump:
0. Program arguments: llc-2.7 t.bc -o -
1. Running pass 'X86 AT&T-Style Assembly Printer' on function '@init_post'
Aborted
I will try and grab LLVM's Trunk and see if _another_ BR (and associated fix)
has resolved this.
Thanks,
Rob
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list