[Scummvm-tracker] [ScummVM :: Bugs] #12421: BUILD: Scummvm Fails to Compile with GCC v10.3.0

ScummVM :: Bugs trac at scummvm.org
Sat May 1 04:31:30 UTC 2021


#12421: BUILD: Scummvm Fails to Compile with GCC v10.3.0
-------------------------+---------------------
Reporter:  rubyFeedback  |       Owner:  (none)
    Type:  defect        |      Status:  new
Priority:  normal        |   Component:  Ports
 Version:                |  Resolution:
Keywords:                |        Game:
-------------------------+---------------------
Comment (by digitall):

 rubyFeedback: You haven't really included sufficient detail to allow
 replication of this build issue, specifically as per the bug tracker
 landing page:
 "Your OS, including version and device if appropriate (Windows 10 build
 1709 32-bit, Debian 9.2 x86_64, Android 7.0 on Samsung Galaxy S7, ...) "

 Given the "/home/Programs" path, I infer this is likely to be MacOS / OSX
 and thus likely you have installed the compiler via homebrew?

 I would suggest trying rolling back to GCC v10.2.0 which is working fine
 for me to eliminate other build environment issues i.e. libSDL, though it
 looks like something is hinky with your linker and has broken the
 endianess check and write out to the config header i.e.
 ````
 Checking endianness... /usr/bin/ld.gold: warning:
 /home/Programs/Gcc/10.3.0/lib/gcc/x86_64-pc-linux-gnu/10.3.0/crtbegin.o:
 unknown program property type 0xc0010002 in .note.gnu.property section
 /usr/bin/ld.gold: warning: /home/Programs/Gcc/10.3.0/lib/gcc/x86_64-pc-
 linux-gnu/10.3.0/crtbegin.o: unknown program property type 0xc0010001 in
 .note.gnu.property section
 /usr/bin/ld.gold: warning: /home/Temp/cchxxKUI.o: unknown program property
 type 0xc0010002 in .note.gnu.property section
 /usr/bin/ld.gold: warning: /home/Temp/cchxxKUI.o: unknown program property
 type 0xc0010001 in .note.gnu.property section
 /usr/bin/ld.gold: warning: /home/Programs/Gcc/10.3.0/lib/gcc/x86_64-pc-
 linux-gnu/10.3.0/crtend.o: unknown program property type 0xc0010002 in
 .note.gnu.property section
 /usr/bin/ld.gold: warning: /home/Programs/Gcc/10.3.0/lib/gcc/x86_64-pc-
 linux-gnu/10.3.0/crtend.o: unknown program property type 0xc0010001 in
 .note.gnu.property section
 little
 ````

 All of the errors that follow track from ./common/endian.h:49:3: error:
 #error No endianness defined ... which should have killed the compilation
 as that is a fatal error:
 https://gcc.gnu.org/onlinedocs/cpp/Diagnostics.html
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/12421#comment:3>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list