[Bug 207729] llvm 3.8.0 import (r296417)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Mar 5 23:14:43 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207729

Dimitry Andric <dim at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kib at FreeBSD.org

--- Comment #1 from Dimitry Andric <dim at FreeBSD.org> ---
I don't immediately have an idea why this happens just for the aesni.ko module.
 I had about 8 other modules loaded successfully on an amd64-freebsd11
instance, but loading aesni made it panic immediately.

It turns out to be something in the kernel ELF linker, it panics in
link_elf_reloc_local(), because findbase() apparently returned zero, since it
couldn't find a certain entry:

#10 0xffffffff80a32233 in panic (fmt=0xffffffff81afe320 "\004") at
/share/dim/src/freebsd/base/projects/clang380-import/sys/kern/kern_shutdown.c:688
#11 0xffffffff80f9434b in link_elf_reloc_local (lf=<value optimized out>) at
/share/dim/src/freebsd/base/projects/clang380-import/sys/kern/link_elf_obj.c:1396
#12 0xffffffff80f92aa3 in link_elf_load_file (cls=<value optimized out>,
filename=<value optimized out>, result=<value optimized out>) at
/share/dim/src/freebsd/base/projects/clang380-import/sys/kern/link_elf_obj.c:872
#13 0xffffffff80a06112 in linker_load_module (kldname=<value optimized out>,
modname=0xfffff8005f242000 "aesni", parent=<value optimized out>,
verinfo=<value optimized out>, lfpp=<value optimized out>) at linker_if.h:161
#14 0xffffffff80a07967 in kern_kldload (td=<value optimized out>, file=<value
optimized out>, fileid=0xfffffe000024a984) at
/share/dim/src/freebsd/base/projects/clang380-import/sys/kern/kern_linker.c:1037
#15 0xffffffff80a07a2b in sys_kldload (td=0xfffff8005f47c4d0, uap=<value
optimized out>) at
/share/dim/src/freebsd/base/projects/clang380-import/sys/kern/kern_linker.c:1063
(kgdb) frame 11
#11 0xffffffff80f9434b in link_elf_reloc_local (lf=<value optimized out>) at
/share/dim/src/freebsd/base/projects/clang380-import/sys/kern/link_elf_obj.c:1396
1396                            panic("lost base for relatab");

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list