https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68059
Bug ID: 68059 Summary: [arm] libgcc uses __write to report error Product: gcc Version: 5.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: --- this bug was reported on the musl libc list: http://www.openwall.com/lists/musl/2015/10/22/3 libgcc/config/arm/linux-atomic-64bit.c references __write in __check_for_sync8_kernelhelper. __write is not a public abi symbol in libc, libgcc should not reference it. the standard way is to use assert, but in this case the error message seems superfluous: the crash is in a ctor, easily reproducible.