[Bug 214413] gcc49 is required for compiler:c11/gnu11

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Nov 10 23:44:57 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214413

            Bug ID: 214413
           Summary: gcc49 is required for compiler:c11/gnu11
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr at FreeBSD.org
          Reporter: jhibbits at FreeBSD.org
                CC: freebsd-ports-bugs at FreeBSD.org

GCC 4.8 defines __STDC_VERSION__ to 201112L, but does not support
_Thread_lcoal.  _Thread_local was added in GCC 4.9.  This causes any port which
needs c11 and includes sys/cdefs.h to fail to build with errors like the
following (taken from graphics/argyllcms log):

In file included from /usr/include/_ctype.h:95:0,
                 from /usr/include/ctype.h:46,
                 from icc/icc.c:66:
/usr/include/runetype.h:92:22: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'const'
 extern _Thread_local const _RuneLocale *_ThreadRuneLocale;
                      ^
/usr/include/runetype.h: In function '__getCurrentRuneLocale':
/usr/include/runetype.h:96:6: error: '_ThreadRuneLocale' undeclared (first use
in this function)
  if (_ThreadRuneLocale) 
      ^
/usr/include/runetype.h:96:6: note: each undeclared identifier is reported only
once for each function it appears in

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list