https://sourceware.org/bugzilla/show_bug.cgi?id=29961
--- Comment #16 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Alan Modra <amo...@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=80b6c32f233ed28607643c4e4e4e2ee3399fdfd7 commit 80b6c32f233ed28607643c4e4e4e2ee3399fdfd7 Author: Alan Modra <amo...@gmail.com> Date: Mon May 15 22:32:32 2023 +0930 PR29961, plugin-api.h: "Could not detect architecture endianess" Found when attempting to build binutils on sparc sunos-5.8 where sys/byteorder.h defines _BIG_ENDIAN but not any of the BYTE_ORDER variants. This patch adds the extra tests to cope with the old machine, and tidies the header a little. PR 29961 plugin-api.h: When handling non-gcc or gcc < 4.6.0 include necessary header files before testing macros. Make more use of #elif. Test _LITTLE_ENDIAN and _BIG_ENDIAN in final tests. -- You are receiving this mail because: You are on the CC list for the bug.