Date: Tue, 03 Apr 2018 00:03:54 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ppc@FreeBSD.org Subject: [Bug 227093] powerpc64/pseries: Symbol table not relocated Message-ID: <bug-227093-21-cPgb7DuirO@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-227093-21@https.bugs.freebsd.org/bugzilla/> References: <bug-227093-21@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227093 Breno Leitao <breno.leitao@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|patch | --- Comment #2 from Breno Leitao <breno.leitao@gmail.com> --- Hi Nathan, This patch shouldn't be considered to be applied. This is just a first demonstration on how to solve this issue in a hackish way. We definitely ne= ed to fix the debug symbol table. Regarding your proposal, it didn't help either, since I still see the follo= wing stack when I run [1] 0xe000000000318da0: at 0xc00000000067bd4c 0xe000000000318ed0: at .dump+0x2c 0xe000000000318f50: at .handler+0x3c 0xe000000000318fd0: at 0xc0000000006001e8 0xe000000000319070: at 0xc0000000005f1d60 0xe000000000319450: at 0xc0000000005f2588 0xe000000000319510: at 0xc0000000005f26f4 0xe0000000003195b0: at 0xc0000000009ca550 0xe000000000319770: at 0xc0000000009bf418 0xe000000000319810: user SC trap by 0x8100daef8: srr1=3D0x800000000000f032 r1=3D0x3fffffffffffbd90 cr=3D0x44224044 xer=3D0x20000000 ctr=3D= 0x8100daef0 r2=3D0x810258e50 Looking further at the code, it seems that the linker_kernel_file->address = is not affecting the debug symbols st_value field at all, that explains why th= ey are not being relocated. For now, I am trying to relocate the whole debug symbol table manually to s= ee if that fixes the problem. [1] https://github.com/leitao/freebsd_modules/tree/master/dump_stack --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227093-21-cPgb7DuirO>