[Bug 257047] Solution for compile fail on i386 with GCC10+
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 257047] Solution for compile fail mariadb105 on i386 with GCC10+"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 257047] Solution for compile fail mariadb105-client on i386 with GCC10+"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 257047] Solution for compile fail mariadb105-client on i386 with GCC10+"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 257047] databases/mariadb105-client: Fails to build on 11.4/i386 with GCC10+"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 07 Jul 2021 21:40:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257047 Bug ID: 257047 Summary: Solution for compile fail on i386 with GCC10+ Product: Ports & Packages Version: Latest Hardware: i386 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: r.quakkelaar@quaras.nl As far as I understood, mariadb105 did not compile on i386 with GCC10+. So it proved true, with several errors in mariadb105-client. With changes to makefile mentioned below, I could compile with GCC11 on 11.4. 1. Changed USES (older versions already had noninja and readline): -USES=bison:build cmake:insource compiler:c++11-lib cpe iconv:translit libedit ncurses shebangfix ssl +USES=bison:build cmake:insource,noninja readline compiler:c++11-lib cpe iconv:translit libedit ncurses shebangfix ssl 2. Changed the i386 section to this: .if ${ARCH} == i386 USE_GCC= yes CFLAGS+= -latomic -fasynchronous-unwind-tables .endif I have only tested on FreeBSD 11.4 i386 with GCC11, but presume GCC10 (current) should probably work also... -- You are receiving this mail because: You are the assignee for the bug.