Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Aug 2013 14:04:46 +0200
From:      Ed Schouten <ed@80386.nl>
To:        David Chisnall <theraven@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r255092 - in head: lib/libcompiler_rt sys/arm/arm
Message-ID:  <CAJOYFBAxmT-OT_5PvQph6cV1T-c7BjZmtkpDvEj1Tu1FLs8-%2BQ@mail.gmail.com>
In-Reply-To: <34C4386C-25D8-449C-8E53-5A0597FEEF7A@FreeBSD.org>
References:  <201308310850.r7V8ojQX022383@svn.freebsd.org> <CAJOYFBB63WuWXRCTtj4VbN1G3WBaQ9P6uhWwLDqWJxFNwjztug@mail.gmail.com> <34C4386C-25D8-449C-8E53-5A0597FEEF7A@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
2013/8/31 David Chisnall <theraven@freebsd.org>:
> Although this would fix the issue in the tree, a number of ports explicitly call the __sync_* builtins, including some that have USE_GCC set, so even fixing clang would not address this.

Do we know how many ports there are that do this? This only affects
ports that use __sync_*, have USE_GCC is set and are being built on
ARMv5.

I think our intent should not be to "keep compilers happy". FreeBSD
should provide proper APIs instead (e.g. <stdatomic.h>).

-- 
Ed Schouten <ed@80386.nl>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJOYFBAxmT-OT_5PvQph6cV1T-c7BjZmtkpDvEj1Tu1FLs8-%2BQ>