[Bug 259619] cc: should default to -march=armv6t2+fp

[email protected]
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259619

            Bug ID: 259619
           Summary: cc: should default to -march=armv6t2+fp
           Product: Base System
           Version: 13.0-RELEASE
          Hardware: arm
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: arm
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
             Flags: mfc-stable13?, mfc-stable12?

Given that armv6 FreeBSD seems to require armv6+thumb2+vfp2 at a minimum, the
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=armv6 (with hardfp I think) which is very restricting when compiling
thumb code.

Please change the way cc(1) is builz such that -march=armv6t2+fp is the default
for armv6.

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.