This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/11292] New: __init_cpu_features race
- From: "jan dot kratochvil at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 17 Feb 2010 17:29:16 -0000
- Subject: [Bug libc/11292] New: __init_cpu_features race
- Reply-to: sourceware-bugzilla at sourceware dot org
ifunc resolver can be called from multiple threads at once.
./sysdeps/x86_64/multiarch/init-arch.c
struct cpu_features __cpu_features attribute_hidden;
__init_cpu_features:
__cpu_features.family += extended_family;
This is a race, __cpu_features is global and it has no locks being held.
--
Summary: __init_cpu_features race
Product: glibc
Version: unspecified
Status: NEW
Severity: minor
Priority: P3
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: jan dot kratochvil at redhat dot com
CC: glibc-bugs at sources dot redhat dot com
GCC host triplet: x86_64-unknown-linux-gnu
http://sourceware.org/bugzilla/show_bug.cgi?id=11292
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.