--- old/make/autoconf/toolchain.m4 2018-03-05 21:06:05.000000000 +0100 +++ new/make/autoconf/toolchain.m4 2018-03-05 21:06:04.000000000 +0100 @@ -1,5 +1,5 @@ # -# Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it @@ -726,6 +726,14 @@ # bails if argument is missing. BASIC_FIXUP_EXECUTABLE(OBJDUMP) fi + + case $TOOLCHAIN_TYPE in + gcc|clang|solstudio) + BASIC_CHECK_TOOLS(CXXFILT, [c++filt]) + BASIC_CHECK_NONEMPTY(CXXFILT) + BASIC_FIXUP_EXECUTABLE(CXXFILT) + ;; + esac ]) # Setup the build tools (i.e, the compiler and linker used to build programs