Opened 10 months ago

Closed 8 months ago

#14106 closed bug (fixed)

Compiling buildtools on macOS hits 'fancy_abort()' error.

Reported by: robg2 Owned by: bonefish
Priority: normal Milestone: Unscheduled
Component: Build System Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: yes Platform: All


As reported on the forum here:, compiling buildtools on recent macOS versions hits this error:

In file included from /Volumes/haiku/buildtools/gcc/gcc/auto-profile.c:25:
In file included from /Applications/
/Applications/ error: no member named 'fancy_abort' in
      namespace 'std::__1'; did you mean simply 'fancy_abort'?

This appears to be a bug in gcc5.4.0. FreeBSD has a patch available here:

The attached patch applies these fixes to buildtools repository. I think this is fixed in gcc 5.5 and later.

Attachments (1)

0001-Apply-patch-to-fix-fancy_abort-error-on-macOS.patch (1.4 KB) - added by robg2 10 months ago.
Apply FreeBSD 'fancy_abort' fixes to buildtools.

Download all attachments as: .zip

Change History (2)

Changed 10 months ago by robg2

Apply FreeBSD 'fancy_abort' fixes to buildtools.

comment:1 Changed 8 months ago by pulkomandy

Resolution: fixed
Status: newclosed

We have since updated to GCC7, which already fixes these problems.

Note: See TracTickets for help on using tickets.