Date: Sat, 06 Jan 2018 06:44:50 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 224947] audio/libsidplay: fails to build with clang 6.0 (blocks 8 ports) Message-ID: <bug-224947-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224947 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@FreeBSD.org Reporter: jbeich@FreeBSD.org CC: dim@FreeBSD.org Blocks: 224669 CC: dim@FreeBSD.org Flags: maintainer-feedback?(ehaupt@FreeBSD.org), maintainer-feedback?(dim@FreeBSD.org) Assignee: ehaupt@FreeBSD.org FreeBSD -CURRENT plans to update base Clang to 6.0.0 soon. While testing th= is port failed to build. The underlying issue appears to be Clang's idiosyncra= sy 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 i= ts 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. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase= : configure >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D> 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. =3D=3D=3D> 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=3D224669 [Bug 224669] [exp-run] Against projects/clang600-import branch --=20 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-224947-13>