Failure During Building

-xlan- ahsan.ahmed3246@gmail.com
Fri Feb 17 15:17:00 GMT 2023


I was building gcc version 4.9.1 on Mac OS version when I got this error:

In file included from ../../gcc-4.9.1/gcc/c/c-objc-common.c:33:
In file included from
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/new:93:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/exception:184:5:
error: no member named 'fancy_abort' in namespace 'std::__1'; did you mean
simply 'fancy_abort'?
    _VSTD::abort();
    ^~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:858:15:
note: expanded from macro '_VSTD'
#define _VSTD std::_LIBCPP_ABI_NAMESPACE
              ^
../../gcc-4.9.1/gcc/system.h:685:13: note: 'fancy_abort' declared here
extern void fancy_abort (const char *, int, const char *)
ATTRIBUTE_NORETURN;
            ^
1 error generated.
make[1]: *** [c/c-objc-common.o] Error 1
make: *** [all-gcc] Error 2

Mac OS: Monterey 12.6.4


More information about the Gcc mailing list