bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/17473] New: Build error on OSX when building with Clang 6.0


From: tveerman at gmail dot com
Subject: [Bug gold/17473] New: Build error on OSX when building with Clang 6.0
Date: Thu, 09 Oct 2014 20:17:54 +0000

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]