Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 May 2024 22:24:17 +0100 (BST)
From:      Gerald Pfeifer <gerald@pfeifer.com>
To:        Eugene Grosbein <eugen@FreeBSD.org>,  "Eugene M. Zheganin" <eugene@zhegan.in>
Cc:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org,  dev-commits-ports-main@FreeBSD.org
Subject:   Re: git: e6a60afa18ab - main - databases/xtrabackup80: make  it buildable on i386
Message-ID:  <a2ff9226-c3bb-ea6a-f162-41f0a74e58ee@pfeifer.com>
In-Reply-To: <202405140609.44E69Bvx021213@gitrepo.freebsd.org>
References:  <202405140609.44E69Bvx021213@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 14 May 2024, Eugene Grosbein wrote:
>     databases/xtrabackup80: make it buildable on i386
>     
>     Modern clang cannot build the port on i386 systems.
>     Use GCC13 to make working package.
>     
>     Approved by:    Eugene M. Zheganin (maintainer)
> ---
>  databases/xtrabackup80/Makefile                    | 75 ++++++++++++++--------

This appears to be a bit more than just using GCC 13?

Did you tree using USE_GCC=13 as a base and then make necessary tweaks?
If so, what could you not make work?

>  # Since MySQL 8.0.20 InnoDB engine uses new memory alligned allocator
> -# which is broken on i386 due to different size of types and causes a
> -# 'static_assert(alignof(T) <= alignof(std::max_align_t))' error
> +# which is broken on i386 with Clang due to different size of types
> +# and causes a 'static_assert(alignof(T) <= alignof(std::max_align_t))' error

What do the upstream maintainers say about this issue?

Gerald



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a2ff9226-c3bb-ea6a-f162-41f0a74e58ee>