[Bug 224947] audio/libsidplay: fails to build with clang 6.0 (blocks 8 ports)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Jan 6 06:44:52 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224947
Bug ID: 224947
Summary: audio/libsidplay: fails to build with clang 6.0
(blocks 8 ports)
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Keywords: needs-patch
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ehaupt at FreeBSD.org
Reporter: jbeich at FreeBSD.org
CC: dim at FreeBSD.org
Blocks: 224669
CC: dim at FreeBSD.org
Flags: maintainer-feedback?(ehaupt at FreeBSD.org),
maintainer-feedback?(dim at FreeBSD.org)
Assignee: ehaupt at FreeBSD.org
FreeBSD -CURRENT plans to update base Clang to 6.0.0 soon. While testing this
port failed to build. The underlying issue appears to be Clang's idiosyncrasy
with C++11 attributes. GCC 6+ is unaffected.
$ cat a.cc
extern "C" void exit(int);
#include <stdlib.h>
int main() { return 0; }
$ c++ a.cc
In file included from a.cc:3:
In file included from /usr/include/c++/v1/stdlib.h:94:
/usr/include/stdlib.h:97:1: error: function declared '[[noreturn]]' after its
first declaration
_Noreturn void exit(int);
^
/usr/include/sys/cdefs.h:278:22: note: expanded from macro '_Noreturn'
#define _Noreturn [[noreturn]]
^
a.cc:1:17: note: declaration missing '[[noreturn]]' attribute is here
extern "C" void exit(int);
^
1 error generated.
===========================================================================
=======================<phase: configure >============================
===> Configuring for libsidplay-1.36.59_1
[...]
checking whether exception-handling is supported... no
[...]
checking size of char... configure: error: cannot compute sizeof (char), 77
See `config.log' for more details.
===> Script "configure" failed unexpectedly.
To reproduce:
$ poudriere jail -cj clang6-amd64 -a amd64 -v projects/clang600-import -m
svn+https
$ poudriere bulk -Ctj clang6-amd64 audio/libsidplay
http://package18.nyi.freebsd.org/data/headamd64PR224669-default/2018-01-02_08h32m49s/logs/errors/libsidplay-1.36.59_1.log
Referenced Bugs:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224669
[Bug 224669] [exp-run] Against projects/clang600-import branch
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list