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: nickc at redhat dot com
Subject: [Bug binutils/29961] /include/plugin-api.h:162:2: error: #error "Could not detect architecture endianess"
Date: Wed, 04 Jan 2023 13:38:47 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=29961

--- Comment #5 from Nick Clifton <nickc at redhat dot com> ---
(In reply to Andreas Schwab from comment #4)
> No, it defines _BYTE_ORDER and _BIG_ENDIAN.

Ah - so the issue is this line:

  #if defined(__GLIBC__) || defined(__GNU_LIBRARY__) || defined(__ANDROID__)

Presumably we need to test for SunOS.  Would this work:

  #if defined(__GLIBC__) || defined(__GNU_LIBRARY__) || defined(__ANDROID__) ||
defined(__SUNOS__)

Or:

  #if defined(__GLIBC__) || defined(__GNU_LIBRARY__) || defined(__ANDROID__) ||
defined(SunOS)

Would that work ?  

Dennis - are you able to test this idea and see if it helps ?

-- 
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]