bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/29961] /include/plugin-api.h:162:2: error: #error "Could n


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/29961] /include/plugin-api.h:162:2: error: #error "Could not detect architecture endianess"
Date: Wed, 17 May 2023 01:52:20 +0000

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 <amodra@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=80b6c32f233ed28607643c4e4e4e2ee3399fdfd7

commit 80b6c32f233ed28607643c4e4e4e2ee3399fdfd7
Author: Alan Modra <amodra@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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]