cmpxchg8b arguments backwards

Bug #148293 reported by Adam Olsen
2
Affects Status Importance Assigned to Milestone
libatomic-ops (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: libatomic-ops-dev

AO_compare_double_and_swap_double_full in sysdeps/gcc/x86.h has val1/val2 registers swapped, causing all updates to fail.

(Don't take my word for it though. Reading the x86 documentation makes my head hurt.)

Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10 RC or later?

Changed in libatomic-ops:
status: New → Incomplete
Revision history for this message
Adam Olsen (rhamph) wrote :

Although I haven't tested it, 1.2-4 does switch the registers, which should put them the correct way. 07_pic_cmpxchng.patch explicitly says it fixes this. Good enough for me.

Changed in libatomic-ops:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.