[oe] [RFC] add ubuntu patch which adds atomic builtin support to gcc 4.3.[3 but also other microversions]

Graeme Gregory dp at xora.org.uk
Wed Jun 16 16:56:40 UTC 2010


On Wed, 16 Jun 2010 09:54:07 -0700
Khem Raj <raj.khem at gmail.com> wrote:

> On Wed, Jun 16, 2010 at 1:02 AM, Graeme Gregory <dp at xora.org.uk>
> wrote:
> > On Wed, 16 Jun 2010 09:27:50 +0200
> > Robert Schuster <thebohemian at gmx.net> wrote:
> >
> >> Hi,
> >> Angstrom's default GCC is 4.3.3 for ARM. Unfortunately that version
> >> lacks atomic intrinsics support for the very same architecture
> >> (__sync_synchronize and friends). The support is available from
> >> 4.4.x onwards but a patch exists in Ubuntu's GCC that adds the
> >> intrinsics to the earlier GCC version. I would like add that patch
> >> to our GCC 4.3.x (all of them so there is not suddenly a feature
> >> missing when one changes from one microversion to another). This
> >> has the potential for drastic effects on other recipes because a
> >> lot of programs (e.g. pulseaudio, llvm) check for the availability
> >> of the intrinsics and make use of them in that case.
> >>
> >> I ask for comments here because I would also like to see this
> >> change move into OE stable later on. (The use case is to get
> >> OpenJDK with the Shark JIT compiler [llvm-based] to run on the
> >> bug20 hardware).
> >>
> >> Regards,
> >> Robert
> >
> > This sounds like it would require a DISTRO_PR bump on the Angstrom
> > side
> 
> why a DISTRO_PR bump. ? Just update the libgcc
> 
Did you miss the "This has the potential for drastic effects..." bit?

Graeme




More information about the Openembedded-devel mailing list