NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/56878: hppa: kernel module lua fails to load
>Number: 56878
>Category: kern
>Synopsis: hppa: kernel module lua fails to load
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jun 12 16:10:00 +0000 2022
>Originator: Tom Lane
>Release: HEAD/202206101540Z
>Organization:
PostgreSQL Global Development Group
>Environment:
NetBSD sss2.sss.pgh.pa.us 9.99.97 NetBSD 9.99.97 (SD0) #1: Sat Jun 11 17:32:11 EDT 2022 tgl%nuc1.sss.pgh.pa.us@localhost:/home/tgl/netbsd-H-202206101540Z/obj.hppa/sys/arch/hppa/compile/SD0 hppa
>Description:
I noticed that /usr/tests/modules/t_klua_pr_52864 fails on HPPA, because the "lua" module won't load. Apparently this is because it tries to compare some function pointers, but the necessary support function __canonicalize_funcptr_for_compare isn't present in the kernel environment.
>How-To-Repeat:
$ sudo modload lua
modload: lua: Exec format error
$ dmesg | tail
...
[ 65548.541189] kobj_checksyms, 994: [lua]: linker error: symbol `__canonicalize_funcptr_for_compare' not found
[ 65548.565380] WARNING: module error: unable to affix module `lua', error 8
>Fix:
Seems like either there needs to be a kernel version of __canonicalize_funcptr_for_compare, or the module needs to be fixed to not do function pointer comparison. I've no idea how hard either one would be.
Home |
Main Index |
Thread Index |
Old Index