[Bug 241439] csu dynamiclib/init_test:jcr_test does not pass on armv7
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Oct 23 16:44:44 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241439
Bug ID: 241439
Summary: csu dynamiclib/init_test:jcr_test does not pass on
armv7
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: bugs at FreeBSD.org
Reporter: kevans at freebsd.org
We currently hit the following failure:
dynamiclib/init_test:jcr_test -> failed:
/usr/src/lib/csu/tests/init_test.c:82: Incorrect pointer passed to
_Jv_RegisterClasses [0.029s]
This test is comparing jcr_ptr to jcr_func_ptr; the former being what's passed
to _Jv_RegisterClasses. If I dump them in the ATF_REQUIRE_MSG, jcr_ptr == 12000
and jcr_func_ptr == 20057000; jcr_ptr == 12000 corresponds to this:
$ readelf -a init_test | grep '\.jcr'
...
[17] .jcr PROGBITS 00012000 002000 000000 00 WA 0 0
4
The value of jcr_func_ptr is consistent here:
(gdb) print jcr_func_ptr
$3 = (const void *) 0x20057000
(gdb) print &jcr_func
$4 = (func_ptr *) 0x20057000
For completeness:
$ readelf -a libh_csu.so | grep '\.jcr'
...
[16] .jcr PROGBITS 00002000 002000 000004 00 WA 0 0
4
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list