This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug dynamic-link/20547] New: Don't use AT_HWCAP for shared library search path
- From: "hjl.tools at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 02 Sep 2016 17:09:37 +0000
- Subject: [Bug dynamic-link/20547] New: Don't use AT_HWCAP for shared library search path
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=20547
Bug ID: 20547
Summary: Don't use AT_HWCAP for shared library search path
Product: glibc
Version: 2.25
Status: NEW
Severity: normal
Priority: P2
Component: dynamic-link
Assignee: unassigned at sourceware dot org
Reporter: hjl.tools at gmail dot com
Target Milestone: ---
Target: x86
AT_HWCAP is treated differently on i386:
AT_HWCAP: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat
pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe
vs x86-64:
AT_HWCAP: bfebfbff
as shown by LD_SHOW_AUXV. On i386, only sse2 is used for shared library search
path. On x86-64, nothing additional directory is searched for shared library.
We can use _dl_x86_cpu_features to replace AT_HWCAP and enable additional
directories for loading shared libraries.
--
You are receiving this mail because:
You are on the CC list for the bug.