Details
- Reviewers
brooks imp - Commits
- rS282285: Add ELF Tool Chain's c++filt to the build
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Oh - we also need either:
diff --git a/gnu/usr.bin/cc/Makefile b/gnu/usr.bin/cc/Makefile index abc9876..12ee7f8 100644 --- a/gnu/usr.bin/cc/Makefile +++ b/gnu/usr.bin/cc/Makefile @@ -12,7 +12,10 @@ SUBDIR+= cpp .endif .if ${MK_CXX} != "no" -SUBDIR+= cc1plus c++ c++filt +SUBDIR+= cc1plus c++ +.if ${MK_ELFTOOLCHAIN_TOLOLS} != "no" +SUBDIR+= c++filt +.endif .endif .if ${MK_GCOV} != "no"
or
--- a/usr.bin/Makefile +++ b/usr.bin/Makefile @@ -238,7 +238,9 @@ SUBDIR+= ee .if ${MK_ELFTOOLCHAIN_TOOLS} != "no" _addr2line= addr2line +.if ${MK_GCC} != "no" && ${MK_CXX} != "no" _cxxfilt= cxxfilt +.endif _elfcopy= elfcopy _nm= nm _readelf= readelf
gnu/usr.bin/cc/Makefile | ||
---|---|---|
16 | Sigh, this is backwards. |
This looks like it's more for debugging than for an end user. Maybe put this under boot verbose? The reason is that it's not an error until it's an error, meaning that if we're going to wait for the device when it's not there yet, then printing errors is confusing. Putting it under boot verbose is a nice way for people to get insight into why a boot may be stalled...