[Scummvm-tracker] [ScummVM :: Bugs] #10962: COMPILER: Configuring with -flto errors out on finding a suitable compiler (AmigaOS4)

ScummVM :: Bugs trac at scummvm.org
Thu May 16 17:50:50 CEST 2019


#10962: COMPILER: Configuring with -flto errors out on finding a suitable compiler
(AmigaOS4)
--------------------+--------------------
Reporter:  raziel-  |      Owner:  (none)
    Type:  defect   |     Status:  new
Priority:  normal   |  Component:  Common
Keywords:           |       Game:
--------------------+--------------------
 AmigaOS4 - BE - PPC - SDL
 gcc -v
 Using built-in specs.
 COLLECT_GCC=/Development/Coding/SDK/gcc/bin/gcc
 COLLECT_LTO_WRAPPER=/Development/Coding/SDK/gcc/bin/../libexec/gcc/ppc-
 amigaos/8.3.0/lto-wrapper
 Target: ppc-amigaos
 Configured with: /var/lib/jenkins/workspace/native-
 gcc-8/gcc/repo/configure --with-
 bugurl=https://github.com/sba1/adtools/issues --with-pkgversion='adtools
 build 8.3.0' --host=ppc-amigaos --target=ppc-amigaos --disable-nls
 --prefix=/gcc --with-gmp=/var/lib/jenkins/workspace/native-gcc-8/native-
 build/root-cross --with-mpfr=/var/lib/jenkins/workspace/native-gcc-8
 /native-build/root-cross --with-mpc=/var/lib/jenkins/workspace/native-
 gcc-8/native-build/root-cross --enable-languages=c,c++ --enable-haifa
 --enable-sjlj-exceptions --disable-libstdcxx-pch --disable-tls --enable-
 threads=amigaos --enable-lto
 Thread model: amigaos
 gcc version 8.3.0 (adtools build 8.3.0)

 On using the above compiler version and "trying" to compile with -flto in
 place, unfortunately makes ./configure not find any suitable compilers at
 all.

 The problem seems to be the in-configure check for endianess, since, if i
 skip that check and simply set my endian to big, it works.

 See also this thread on the forums:
 https://forums.scummvm.org/viewtopic.php?f=1&t=14806&p=86938&hilit=configure+flto#p86938

 Could this be fixed/supported in configure, if possible, please?

-- 
Ticket URL: <https://bugs.scummvm.org/ticket/10962>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list