public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/100014] New: MSDOS DJGPP host endian unknown
@ 2021-04-10  5:55 unlvsur at live dot com
  2021-04-12  8:18 ` [Bug target/100014] " rguenth at gcc dot gnu.org
  2021-04-12  8:31 ` schwab@linux-m68k.org
  0 siblings, 2 replies; 3+ messages in thread
From: unlvsur at live dot com @ 2021-04-10  5:55 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100014

            Bug ID: 100014
           Summary: MSDOS DJGPP host endian unknown
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: unlvsur at live dot com
  Target Milestone: ---

Configuring in ./gcc
configure: loading cache ./config.cache
checking build system type... x86_64-pc-linux-gnu
checking host system type... i586-pc-msdosdjgpp
checking target system type... i586-pc-msdosdjgpp
....
...
checking whether byte ordering is bigendian... unknown
configure: error: unknown endianness
 presetting ac_cv_c_bigendian=no (or yes) will help
make[1]: *** [Makefile:4395: configure-gcc] Error 1
make[1]: Leaving directory '/home/cqwrteur/myhome/msdos_hosted_toolchain/gcc'
make: *** [Makefile:979: all] Error 2

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug target/100014] MSDOS DJGPP host endian unknown
  2021-04-10  5:55 [Bug target/100014] New: MSDOS DJGPP host endian unknown unlvsur at live dot com
@ 2021-04-12  8:18 ` rguenth at gcc dot gnu.org
  2021-04-12  8:31 ` schwab@linux-m68k.org
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-04-12  8:18 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100014

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unknown                     |11.0
           Keywords|                            |build

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Looks like AC_C_BIGENDIAN tests various macros and falls back to runtime checks
which don't work when cross-compiling.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug target/100014] MSDOS DJGPP host endian unknown
  2021-04-10  5:55 [Bug target/100014] New: MSDOS DJGPP host endian unknown unlvsur at live dot com
  2021-04-12  8:18 ` [Bug target/100014] " rguenth at gcc dot gnu.org
@ 2021-04-12  8:31 ` schwab@linux-m68k.org
  1 sibling, 0 replies; 3+ messages in thread
From: schwab@linux-m68k.org @ 2021-04-12  8:31 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100014

--- Comment #2 from Andreas Schwab <schwab@linux-m68k.org> ---
According to the autoconf docs, it should work also when cross-compiling:

     This macro runs a test-case if endianness cannot be determined
     from the system header files.  When cross-compiling, the test-case
     is not run but grep'ed for some magic values.  ACTION-IF-UNKNOWN

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-04-12  8:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-10  5:55 [Bug target/100014] New: MSDOS DJGPP host endian unknown unlvsur at live dot com
2021-04-12  8:18 ` [Bug target/100014] " rguenth at gcc dot gnu.org
2021-04-12  8:31 ` schwab@linux-m68k.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).