Date: Wed, 07 Jul 2021 21:40:40 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 257047] Solution for compile fail on i386 with GCC10+ Message-ID: <bug-257047-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257047 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.=20 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=3Dbison:build cmake:insource compiler:c++11-lib cpe iconv:translit li= bedit ncurses shebangfix ssl +USES=3Dbison: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} =3D=3D i386 USE_GCC=3D yes CFLAGS+=3D -latomic -fasynchronous-unwind-tables .endif I have only tested on FreeBSD 11.4 i386 with GCC11, but presume GCC10 (curr= ent) should probably work also... --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257047-7788>