Date: Tue, 02 Nov 2021 17:56:22 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 259619] cc: should default to -march=armv6t2+fp Message-ID: <bug-259619-7@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259619 Bug ID: 259619 Summary: cc: should default to -march=3Darmv6t2+fp Product: Base System Version: 13.0-RELEASE Hardware: arm OS: Any Status: New Severity: Affects Only Me Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: fuz@fuz.su CC: bsdimp@FreeBSD.org Flags: mfc-stable13?, mfc-stable12? Given that armv6 FreeBSD seems to require armv6+thumb2+vfp2 at a minimum, t= he compiler should also be configured to generate code for this architecture. But this does not seem to be the case. Instead, cc(1) seems to default to -march=3Darmv6 (with hardfp I think) which is very restricting when compili= ng thumb code. Please change the way cc(1) is builz such that -march=3Darmv6t2+fp is the d= efault for armv6. --=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-259619-7>