CVSROOT:        /cvs
Module name:    xenocara
Changes by:     j...@cvs.openbsd.org    2015/08/28 08:25:03

Modified files:
        lib/libdrm     : configure.ac 

Log message:
The libdrm autoconf test for atomics uses __sync_val_compare_and_swap with
the address of a function argument which triggers a gcc ICE on sparc64
resulting in libdrm_radeon not being built as reported by naddy.

kettenis pointed out that while other architectures probably spill the
argument onto the stack this is likely not the case on register window
architectures like SPARC and suggested passing a pointer as an argument
instead which avoids the ICE and allows the drm libraries requiring
atomics to build on sparc64 again.

ok kettenis@ matthieu@

Reply via email to