-
-
Notifications
You must be signed in to change notification settings - Fork 23
std Atomic{I,U}{8,16}::fetch_{max,min} seem to broken on a few platform (LLVM bug) #2
Copy link
Copy link
Open
Labels
C-upstream-bugCategory: This is a bug of compiler or dependencies (the fix may require action in the upstream)Category: This is a bug of compiler or dependencies (the fix may require action in the upstream)O-aarch64Target: Armv8-A, Armv8-R, or later processors in AArch64 modeTarget: Armv8-A, Armv8-R, or later processors in AArch64 modeO-armTarget: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 stateTarget: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 stateO-mipsTarget: MIPS processorsTarget: MIPS processorsO-powerpcTarget: PowerPC processorsTarget: PowerPC processors
Description
Metadata
Metadata
Assignees
Labels
C-upstream-bugCategory: This is a bug of compiler or dependencies (the fix may require action in the upstream)Category: This is a bug of compiler or dependencies (the fix may require action in the upstream)O-aarch64Target: Armv8-A, Armv8-R, or later processors in AArch64 modeTarget: Armv8-A, Armv8-R, or later processors in AArch64 modeO-armTarget: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 stateTarget: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 stateO-mipsTarget: MIPS processorsTarget: MIPS processorsO-powerpcTarget: PowerPC processorsTarget: PowerPC processors
std
Atomic{I,U}{8,16}::fetch_{max,min}is currently broken for the following targetsportable-atomic/src/lib.rs
Lines 1458 to 1467 in 55b3d49
I haven't checked if it's a bug in rustc or in qemu-user, but this crate contains a workaround for this problem.
portable-atomic implements a workaround for this bug, so users aren't affected by this bug. This issue itself is tracking the upstream bug.