https://sourceware.org/bugzilla/show_bug.cgi?id=17473
Bug ID: 17473 Summary: Build error on OSX when building with Clang 6.0 Product: binutils Version: 2.23 Status: NEW Severity: critical Priority: P2 Component: gold Assignee: ccoutant at google dot com Reporter: tveerman at gmail dot com CC: ian at airs dot com Created attachment 7821 --> https://sourceware.org/bugzilla/attachment.cgi?id=7821&action=edit Patch to fix build error Minix3 builds Gold as part of its build process. When cross compiling on OSX10.9, it fails to build Gold with the following error: In file included from /Users/thomas/minix/tools/binutils/../../external/gpl3/binutils/dist/gold/binary.cc:31: In file included from /Users/thomas/minix/tools/binutils/../../external/gpl3/binutils/dist/gold/stringpool.h:23: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:438: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cwchar:107: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cwctype:54: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cctype:51:72: error: use of undeclared identifier 'do_not_use_isalnum_with_safe_ctype' inline _LIBCPP_INLINE_VISIBILITY int __libcpp_isalnum(int __c) {return isalnum(__c);} This is fixed by #include'ing <sstream>. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils