Date: Thu, 27 Oct 2016 21:35:42 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 213841] net-im/qTox: fix build on 9i386 Message-ID: <bug-213841-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213841 Bug ID: 213841 Summary: net-im/qTox: fix build on 9i386 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: matthew@reztek.cz CC: yuri@rawbw.com Flags: maintainer-feedback?(yuri@rawbw.com) CC: yuri@rawbw.com Created attachment 176229 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D176229&action= =3Dedit fix build of net-im/qTox on 9i386 qTox was recently marked BROKEN on 9 i386 due to a compilation error that I happen to recognize. I don't run 9 so this doesn't affect me, but I know the solution from using it on other ports; GCC defaults to 486 compatibility on i386 so 64bit atomic ops are not available unless specifying arch as 586 or better. The attached patch does just that, it sets march=3D586 when gcc is = the compiler, arch is i386, and no march was set already by CPUTYPE. I verified this builds clean in a 9i386 jail with poudriere. --=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-213841-13>