[Bug 214512] audio/linux-skype_oss_wrapper: gcc provided by CentOS is too old to understand some valid CPUTYPE
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Nov 14 18:39:00 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214512
Bug ID: 214512
Summary: audio/linux-skype_oss_wrapper: gcc provided by CentOS
is too old to understand some valid CPUTYPE
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: lantw44 at gmail.com
CC: s3erios at gmail.com
CC: s3erios at gmail.com
Flags: maintainer-feedback?(s3erios at gmail.com)
I set CPUTYPE=corei7 in /etc/make.conf, and the value is converted to
-march=nehalem by Makefiles installed on FreeBSD 11.0-RELEASE. CentOS 6 uses
gcc 4.4 and CentOS 7 uses gcc 4.8, but this option is only supported on gcc >=
4.9, which can cause build failure for audio/linux-skype_oss_wrapper. This
problem also happens in native FreeBSD gcc (gcc 4.8) and a bug (bug 214173) is
already filed for the native port.
===> Building for linux-skype_oss_wrapper-0.1.1
/compat/linux/usr/bin/gcc -O2 -pipe -march=corei7 -fstack-protector
-fno-strict-aliasing -m32 -fPIC -c libpulse.c -o libpulse.o
libpulse.c:1: error: bad value (corei7) for -march= switch
libpulse.c:1: error: bad value (corei7) for -mtune= switch
*** Error code 1
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list