[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1037070: RFP: libx1000 -- provides a dynamically-linked workaround for the LOCK prefix bug on Intel X1000 devices



Package: wnpp
Severity: wishlist

* Package name    : libx1000
  Version         : 0.0.0
  Upstream Contact: Ray Kinsella <mdr@ashroe.eu>
* URL             : http://ashroe.eu/x1000/2016/10/21/fixing-lock-prefix-on-x1000.html
* License         : LGPLv2.1
  Programming Lang: C
  Description     : provides a dynamically-linked workaround for the LOCK prefix bug on Intel X1000 devices

The Intel X1000 system-on-chip is a 32-bit x86-based system that has a bug
related to use of a LOCK instruction that makes Debian somewhat unusable; see
bugreport #738575 for some prior discussion.

On distributions that can compile and distribute binaries to target specific
processors, binutils can be configured to omit the LOCK prefix, preventing the
bug from occurring.  That isn't possible for Debian, because Debian supports
a multitude of x86 systems, including multiprocessor systems where the LOCK
instruction is required to provide correct shared-memory locking behaviour.

The libx1000 library provides a packaged, runtime software workaround using LD
preloading.  For more information, see the author's blog post at:

http://ashroe.eu/x1000/2016/10/21/fixing-lock-prefix-on-x1000.html


Reply to: