Date: Thu, 03 Nov 2016 18:24:17 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 214173] gcc48 doesn't accept -march=nehalem Message-ID: <bug-214173-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214173 Bug ID: 214173 Summary: gcc48 doesn't accept -march=nehalem Product: Base System Version: 11.0-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: conf Assignee: freebsd-bugs@FreeBSD.org Reporter: lantw44@gmail.com CC: freebsd-amd64@FreeBSD.org CC: freebsd-amd64@FreeBSD.org /usr/share/mk/bsd.cpu.mk in FreeBSD 11 unconditionally convert CPUTYPE=corei7 to CPUTYPE=nehalem. It can cause error in ports built with the default version of gcc, including gcc itself, ghc, and other ports with USE_GCC=yes. A simple test: $ echo 'int main(){}' > main.c $ gcc48 -march=corei7 main.c && echo "OK" OK $ gcc48 -march=nehalem main.c && echo "OK" main.c:1:0: error: bad value (nehalem) for -march= switch int main(){} ^ -- 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-214173-8>
