NetBSD-Bugs archive

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

toolchain/48993: Unable to build tools for evbarm on OS X Mavericks



>Number:         48993
>Category:       toolchain
>Synopsis:       Unable to build tools for evbarm on OS X Mavericks
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 14 19:15:00 +0000 2014
>Originator:     venture37
>Release:        -current
>Organization:
>Environment:
Darwin 13.3.0 Darwin Kernel Version 13.3.0: Tue Jun  3 21:27:35 PDT 2014; 
root:xnu-2422.110.17~1/RELEASE_X86_64 x86_64
>Description:
Tools build fails on OS X 10.9.4 with Apple LLVM version 5.1 (clang-503.0.40) 
(based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.3.0
Thread model: posix


#   compile  elftosb/BootImageGenerator.lo
c++ -O -no-cpp-precomp 
-I/Users/someone/Sandbox/NetBSD/obj/tooldir.Darwin-13.3.0-x86_64/include/compat 
-I/Users/someone/Sandbox/NetBSD/src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1 
-D_FILE_OFFSET_BITS=64 
-I/Users/someone/Sandbox/NetBSD/src/external/bsd/elftosb/dist/common 
-I/Users/someone/Sandbox/NetBSD/src/external/bsd/elftosb/dist/elftosb2 -DLinux 
-I/Users/someone/Sandbox/NetBSD/src/external/bsd/elftosb/dist/common 
-I/Users/someone/Sandbox/NetBSD/src/external/bsd/elftosb/dist/elftosb2 -DLinux 
-c -o BootImageGenerator.lo.o    
/Users/someone/Sandbox/NetBSD/src/external/bsd/elftosb/dist/elftosb2/BootImageGenerator.cpp
In file included from 
/Users/someone/Sandbox/NetBSD/src/external/bsd/elftosb/dist/elftosb2/BootImageGenerator.cpp:9:
In file included from 
/Users/someone/Sandbox/NetBSD/src/external/bsd/elftosb/dist/elftosb2/BootImageGenerator.h:10:
In file included from 
/Users/someone/Sandbox/NetBSD/src/external/bsd/elftosb/dist/common/OutputSection.h:10:
In file included from 
/Users/someone/Sandbox/NetBSD/src/external/bsd/elftosb/dist/common/Operation.h:10:
In file included from 
/Users/someone/Sandbox/NetBSD/src/external/bsd/elftosb/dist/common/stdafx.h:14:
In file included from 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/iostream:40:
In file included from 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/istream:156:
In file included from 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/ostream:133:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/locale:3679:52:
 error: use of undeclared identifier 'NL_CAT_LOCALE'
    catalog __cat = (catalog)catopen(__nm.c_str(), NL_CAT_LOCALE);
                                                   ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/locale:3700:5:
 error: unknown type name 'nl_catd'
    nl_catd __cat = (nl_catd)__c;
    ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/locale:3700:22:
 error: use of undeclared identifier 'nl_catd'
    nl_catd __cat = (nl_catd)__c;
                     ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/locale:3716:5:
 error: unknown type name 'nl_catd'
    nl_catd __cat = (nl_catd)__c;
    ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/locale:3716:22:
 error: use of undeclared identifier 'nl_catd'
    nl_catd __cat = (nl_catd)__c;
                     ^
In file included from 
/Users/someone/Sandbox/NetBSD/src/external/bsd/elftosb/dist/elftosb2/BootImageGenerator.cpp:9:
In file included from 
/Users/someone/Sandbox/NetBSD/src/external/bsd/elftosb/dist/elftosb2/BootImageGenerator.h:10:
In file included from 
/Users/someone/Sandbox/NetBSD/src/external/bsd/elftosb/dist/common/OutputSection.h:10:
In file included from 
/Users/someone/Sandbox/NetBSD/src/external/bsd/elftosb/dist/common/Operation.h:12:
In file included from 
/Users/someone/Sandbox/NetBSD/src/external/bsd/elftosb/dist/common/DataSource.h:12:
/Users/someone/Sandbox/NetBSD/src/external/bsd/elftosb/dist/common/smart_ptr.h:69:4:
 warning: delete called on 'elftosb::OptionContext' that is abstract but has 
non-virtual
      destructor [-Wdelete-non-virtual-dtor]
                        delete _p;
                        ^
/Users/someone/Sandbox/NetBSD/src/external/bsd/elftosb/dist/common/OutputSection.h:24:29:
 note: in instantiation of member function
      'smart_ptr<elftosb::OptionContext>::safe_delete' requested here
        OutputSection() : m_id(0), m_options(0) {}
                                   ^
1 warning and 5 errors generated.

*** Failed target:  BootImageGenerator.lo
*** Failed command: c++ -O -no-cpp-precomp 
-I/Users/someone/Sandbox/NetBSD/obj/tooldir.Darwin-13.3.0-x86_64/include/compat 
-I/Users/someone/Sandbox/NetBSD/src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1 
-D_FILE_OFFSET_BITS=64 
-I/Users/someone/Sandbox/NetBSD/src/external/bsd/elftosb/dist/common 
-I/Users/someone/Sandbox/NetBSD/src/external/bsd/elftosb/dist/elftosb2 -DLinux 
-I/Users/someone/Sandbox/NetBSD/src/external/bsd/elftosb/dist/common 
-I/Users/someone/Sandbox/NetBSD/src/external/bsd/elftosb/dist/elftosb2 -DLinux 
-c -o BootImageGenerator.lo.o 
/Users/someone/Sandbox/NetBSD/src/external/bsd/elftosb/dist/elftosb2/BootImageGenerator.cpp
*** Error code 1

Stop.
nbmake[3]: stopped in /Users/someone/Sandbox/NetBSD/src/tools/elftosb

*** Failed target:  dependall
*** Failed command: cd "/Users/someone/Sandbox/NetBSD/src/tools/elftosb"; 
/Users/someone/Sandbox/NetBSD/obj/tooldir.Darwin-13.3.0-x86_64/bin/nbmake 
realall
*** Error code 1

Stop.
nbmake[2]: stopped in /Users/someone/Sandbox/NetBSD/src/tools/elftosb

*** Failed target:  dependall-elftosb
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; 
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; 
real="/Users/someone/Sandbox/NetBSD/src/tools" ;; *) this="${dir}/"; 
real="/Users/someone/Sandbox/NetBSD/src/tools/${dir}" ;; esac; show=${this:-.}; 
echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && 
/Users/someone/Sandbox/NetBSD/obj/tooldir.Darwin-13.3.0-x86_64/bin/nbmake 
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget elftosb dependall
*** Error code 1

Stop.
nbmake[1]: stopped in /Users/someone/Sandbox/NetBSD/src/tools

*** Failed target:  build_install
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; 
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; 
real="/Users/someone/Sandbox/NetBSD/src/tools" ;; *) this="${dir}/"; 
real="/Users/someone/Sandbox/NetBSD/src/tools/${dir}" ;; esac; show=${this:-.}; 
echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && 
/Users/someone/Sandbox/NetBSD/obj/tooldir.Darwin-13.3.0-x86_64/bin/nbmake 
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . dependall-config 
dependall-groff dependall-mandoc dependall-elftosb dependall-mkubootimage
*** Error code 1

Stop.
nbmake: stopped in /Users/someone/Sandbox/NetBSD/src/tools

ERROR: Failed to make build_install in "tools"
*** BUILD ABORTED ***
>How-To-Repeat:
Attempting to build evbarm tools with
 ./build.sh -m evbarm -O /some/path/to/obj -U tools
>Fix:



Home | Main Index | Thread Index | Old Index