This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/21708] New: ppc64le: Invalid IFUNC resolver from libgcc calls getauxval, leading to relocation crash with BIND_NOW
- From: "fweimer at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 04 Jul 2017 06:35:09 +0000
- Subject: [Bug math/21708] New: ppc64le: Invalid IFUNC resolver from libgcc calls getauxval, leading to relocation crash with BIND_NOW
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=21708
Bug ID: 21708
Summary: ppc64le: Invalid IFUNC resolver from libgcc calls
getauxval, leading to relocation crash with BIND_NOW
Product: glibc
Version: 2.26
Status: NEW
Severity: normal
Priority: P2
Component: math
Assignee: unassigned at sourceware dot org
Reporter: fweimer at redhat dot com
Target Milestone: ---
Target: ppc64le-redhat-linux
The crash seems to happen with --enable-bind-now only and is at the last line
of the disassembly (from libc.so.6).
00000000001c3380 <have_ieee_hw_p>:
1c3380: 08 00 4c 3c addis r2,r12,8
1c3384: 80 3d 42 38 addi r2,r2,15744
1c3388: f8 ff e1 fb std r31,-8(r1)
1c338c: a0 8c e2 eb ld r31,-29536(r2)
1c3390: d1 ff 21 f8 stdu r1,-48(r1)
1c3394: 02 00 3f e9 lwa r9,0(r31)
1c3398: 00 00 89 2f cmpwi cr7,r9,0
1c339c: 14 00 9c 41 blt cr7,1c33b0 <have_ieee_hw_p+0x30>
1c33a0: 30 00 21 38 addi r1,r1,48
1c33a4: 78 4b 23 7d mr r3,r9
1c33a8: f8 ff e1 eb ld r31,-8(r1)
1c33ac: 20 00 80 4e blr
1c33b0: a6 02 08 7c mflr r0
1c33b4: 0f 00 60 38 li r3,15
1c33b8: 40 00 01 f8 std r0,64(r1)
1c33bc: 15 fc e5 4b bl 22fd0 <00000036.plt_call.__getauxval>
1c33c0: 18 00 41 e8 ld r2,24(r1)
All binaries are affected during startup. The problem is that the data
getauxval uses has not been initialized at this point.
--
You are receiving this mail because:
You are on the CC list for the bug.