Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Nov 2016 23:44:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 214413] gcc49 is required for compiler:c11/gnu11
Message-ID:  <bug-214413-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214413

            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@FreeBSD.org
          Reporter: jhibbits@FreeBSD.org
                CC: freebsd-ports-bugs@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 w=
hich
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 '=3D', ',', ';', '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)=20
      ^
/usr/include/runetype.h:96:6: note: each undeclared identifier is reported =
only
once for each function it appears in

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214413-13>