← Back to team overview

maria-developers team mailing list archive

Re: Shared plugin library build question

 

Hi, Steve!

On Nov 11, Steve Ellcey wrote:
> On Wed, 2011-11-09 at 19:25 +0100, Vladislav Vaintroub wrote:
> 
> > > A word of warning upfront before trying HP compiler. Unless xlc
> > > has changed its defaults  in the last year or two, you'd need to
> > > set CFLAGS and CXXFLAGS env.vars prior to CMake so it compiles for
> > > Itanium.
> > 
> > Scratch xlc, that was AIX, not HPUX...  But the rest of the warning
> > applies :)
> > 
> > >  it was either +DD64 or maybe +DSitanium2 or something similar.
> > >  Otherwise the build would produce  PA-RISC binaries (those
> > >  binaries are runnable on the HPUX Itanium,  due to some emulation
> > >  layer, but it is likely not what people expect)
> 
> Well, I tried building Mariadb with the HP compiler and I ran into a
> problem with anonymous unions.  In 5.3.2 the anonymous unions (and
> anonymous struct) in st_dynamic_column_value were changed to have names.
> 
> This change does not seem to be in 5.5.  I don't know if that is
> intentional or accidental but it makes it more difficult to compile the
> 5.5 code with the HP compiler.

I've merged latest changes from 5.3 (including the one that gives names
to anonymous unions) into 5.5 only few days ago. It is still not pushed,
because few optimizer test cases are broken. I'm investigating.

Regards,
Sergei


References