[Libreoffice] [PATCH] Fix building bridge with -mavx
kendy at suse.cz
Tue Aug 9 09:14:03 PDT 2011
On 2011-08-08 at 12:06 +0100, Caolán McNamara wrote:
> > > Libreoffice bridge code won't compile on new CPUs which add -mavx to cxxflags with --march=native.
> > > As first idea for the fix is actual ban for the -mavx cxxflag by adding -nomavx.
> > I'm curious, in what way does the implicit -mavx cause the build to fail?
> I wonder how far we'd get rebasing the bridges on on libffi ? There's a
> fair bit of overlap.
Hard to say - I've re-used the libffi implementation of the small struct
handling in the x86-64 bridge, but did not go any further; might be
doable, but for sure not trivial :-)
More information about the LibreOffice