On 2016 Dec 21 (Wed) at 12:51:44 +0300 (+0300), Vadim Zhukov wrote: :2016-12-21 11:57 GMT+03:00 Jonathan Gray <j...@jsg.id.au>: :> On Wed, Dec 21, 2016 at 11:52:50AM +0300, Vadim Zhukov wrote: :>> 2016-12-21 11:45 GMT+03:00 Jonathan Gray <j...@jsg.id.au>: :>> > On Wed, Dec 21, 2016 at 12:43:57AM -0700, Peter Hessler wrote: :>> >> CVSROOT: /cvs :>> >> Module name: ports :>> >> Changes by: phess...@cvs.openbsd.org 2016/12/21 00:43:57 :>> >> :>> >> Modified files: :>> >> databases/postgresql: Makefile :>> >> :>> >> Log message: :>> >> disable spinlocks on arm, so we can have a postgresql package :>> >> :>> > :>> > Wouldn't it be better to depend on a newer gcc/clang to :>> > get the atomic/sync builtins that base gcc on arm lacks? :>> :>> Until we have working libc++ in base, the generic answer would be :>> "please, no, if you can". Using egcc/clang forces the port binaries :>> being linked to libestdc++, which in turn causes havoc in all :>> dependant ports which are build with base compiler. :> :> postgres doesn't seem to use c++? : :Good point. :) Then let someone doing regular bulk builds speak, not :me. Sorry for annoyance. :
I simply copied the same logic used for hppa and alpha as a quick fix. I'd be happy if armv7 switched to clang; but that will happen when it is ready. -- Misfortune, n.: The kind of fortune that never misses. -- Ambrose Bierce, "The Devil's Dictionary"