[Info-vax] MariaDB/MySQL on x86
Arne Vajhøj
arne at vajhoej.dk
Tue Apr 25 13:04:24 EDT 2023
On 4/25/2023 11:33 AM, Mark Berryman wrote:
> On 4/24/23 4:12 PM, Craig A. Berry wrote:
>> On 4/22/23 5:38 AM, issinoho wrote:
>>> Has there been any talk on this being ported?
>>
>> The C++ compiler that will be necessary to make it even theoretically
>> possible is still in field test and only became available quite
>> recently. One can hope, but we won't really know until someone does the
>> work.
>
> When the field test C++ compiler became available I attempted to build
> my MariaDB v5.5 kit. It was a no go for a few reasons.
>
> One,
> The field test is still limited in some functionality. For example,
> there are some pragmas that are not yet supported or not yet fully
> supported. The include_directory pragma does not yet appear to work and
> my build procedure depends heavily on this.
Is that VMS C++ specific pragma or standard?
If VMS C++ specific then maybe it will not be added as I believe John R
want to keep the C++ compiler as close to clang elsewhere as possible.
> Two,
> There are a number of places in the port that assume that long and
> size_t are 32 bits. For x86_64, they are 64 bits. Addressing this
> would almost mean redoing the port. (I think long is a bigger issue than
> size_t).
That seems unlikely to be fixed in the compiler.
Time for int32_t and int64_t?
> Three,
> In order for the headers included with the compiler to compile
> correctly, certain values must be defined. For example, in order to use
> string.h, either __CORRECT_ISO_CPP_STRING_H_PROTO or
> _STRING_H_CPLUSPLUS_98_CONFORMANCE_ must be defined. Otherwise, the
> compiler throws errors and aborts. I did not see anything about this in
> the documentation and stumbled across it when trying to figure out why
> the errors were occurring. Now I wonder if there are others.
That sound as a bug.
> I think MariaDB, either V5 for V10, will have to wait until the C++
> compiler is more complete.
11.0 is already RC, so maybe go straight to 11 instead of 10.
Arne
More information about the Info-vax
mailing list