-
-
Save samuelgrf/2dc9eb7853589aa6b474433c9fa9bf2b to your computer and use it in GitHub Desktop.
Failed Xenia build on NixOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
building '/nix/store/gin37vbxlb3gsymhiac642l4pvxz1p7v-xenia-unstable-2021-01-04.drv'... | |
unpacking sources | |
unpacking source archive /nix/store/nr0vfdy5ykri64077kgl3yfgc51dcl0y-source | |
source root is source | |
patching sources | |
building | |
WARNING: Git should be installed and on PATH. Version info will be omitted from all binaries! | |
Building release... | |
- running premake... | |
premake5 executable not found, attempting build... | |
rm -rf ./bin | |
rm -rf ./build | |
rm -rf ./obj | |
mkdir -p build/bootstrap | |
clang -o build/bootstrap/premake_bootstrap -DPREMAKE_NO_BUILTIN_SCRIPTS -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I"contrib/lua/src" -I"contrib/luashim" src/host/*.c contrib/lua/src/lapi.c contrib/lua/src/lbaselib.c contrib/lua/src/lbitlib.c contrib/lua/src/lcode.c contrib/lua/src/lcorolib.c contrib/lua/src/lctype.c contrib/lua/src/ldblib.c contrib/lua/src/ldebug.c contrib/lua/src/ldo.c contrib/lua/src/ldump.c contrib/lua/src/lfunc.c contrib/lua/src/lgc.c contrib/lua/src/linit.c contrib/lua/src/liolib.c contrib/lua/src/llex.c contrib/lua/src/lmathlib.c contrib/lua/src/lmem.c contrib/lua/src/loadlib.c contrib/lua/src/lobject.c contrib/lua/src/lopcodes.c contrib/lua/src/loslib.c contrib/lua/src/lparser.c contrib/lua/src/lstate.c contrib/lua/src/lstring.c contrib/lua/src/lstrlib.c contrib/lua/src/ltable.c contrib/lua/src/ltablib.c contrib/lua/src/ltm.c contrib/lua/src/lundump.c contrib/lua/src/lutf8lib.c contrib/lua/src/lvm.c contrib/lua/src/lzio.c -lm -ldl -lrt | |
contrib/lua/src/lundump.c:237:33: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] | |
checkliteral(S, LUA_SIGNATURE + 1, "not a"); /* 1st char already checked */ | |
~~~~~~~~~~~~~~^~~ | |
contrib/lua/src/lundump.c:237:33: note: use array indexing to silence this warning | |
checkliteral(S, LUA_SIGNATURE + 1, "not a"); /* 1st char already checked */ | |
^ | |
& [ ] | |
1 warning generated. | |
./build/bootstrap/premake_bootstrap embed | |
Running action 'embed'... | |
Compiling... | |
Embedding... | |
Writing... | |
Generated ../src/scripts.c... | |
./build/bootstrap/premake_bootstrap --to=build/bootstrap gmake2 | |
Building configurations... | |
Running action 'gmake2'... | |
Generated build/bootstrap/Makefile... | |
Generated build/bootstrap/Premake5.make... | |
Generated build/bootstrap/lua-lib.make... | |
Generated build/bootstrap/luashim-lib.make... | |
Generated build/bootstrap/zlib-lib.make... | |
Generated build/bootstrap/zip-lib.make... | |
Generated build/bootstrap/mbedtls-lib.make... | |
Generated build/bootstrap/curl-lib.make... | |
Generated build/bootstrap/example.make... | |
Generated build/bootstrap/luasocket.make... | |
Done (2687ms). | |
make -C build/bootstrap -j`getconf _NPROCESSORS_ONLN` config=release | |
make[1]: Entering directory '/build/source/third_party/premake-core/build/bootstrap' | |
==== Building lua-lib (release) ==== | |
==== Building zip-lib (release) ==== | |
==== Building zlib-lib (release) ==== | |
==== Building curl-lib (release) ==== | |
==== Building mbedtls-lib (release) ==== | |
==== Building luashim-lib (release) ==== | |
Creating obj/Release/luashim-lib | |
Creating bin/Release | |
luashim.c | |
Creating obj/Release/zlib-lib | |
adler32.c | |
compress.c | |
crc32.c | |
Creating obj/Release/lua-lib | |
lapi.c | |
Creating obj/Release/mbedtls-lib | |
Creating obj/Release/zip-lib | |
aes.c | |
mkstemp.c | |
Creating obj/Release/curl-lib | |
amigaos.c | |
zip_add.c | |
lbaselib.c | |
deflate.c | |
asyn-ares.c | |
gzclose.c | |
zip_add_dir.c | |
Linking luashim-lib | |
==== Building example (release) ==== | |
Creating obj/Release/example | |
Creating ../../bin/release | |
main.c | |
gzlib.c | |
zip_add_entry.c | |
asyn-thread.c | |
lbitlib.c | |
Linking example | |
zip_close.c | |
axtls.c | |
gzread.c | |
lcode.c | |
gzwrite.c | |
infback.c | |
aesni.c | |
base64.c | |
zip_delete.c | |
inffast.c | |
arc4.c | |
inflate.c | |
zip_dir_add.c | |
cleartext.c | |
asn1parse.c | |
inftrees.c | |
trees.c | |
zip_dirent.c | |
asn1write.c | |
conncache.c | |
lcorolib.c | |
connect.c | |
base64.c | |
bignum.c | |
lctype.c | |
blowfish.c | |
zip_discard.c | |
ldblib.c | |
camellia.c | |
uncompr.c | |
zip_entry.c | |
zutil.c | |
ccm.c | |
ldebug.c | |
ldo.c | |
content_encoding.c | |
zip_err_str.c | |
Linking zlib-lib | |
==== Building luasocket (release) ==== | |
Creating obj/Release/luasocket | |
auxiliar.c | |
zip_error.c | |
zip_error_clear.c | |
ldump.c | |
cookie.c | |
buffer.c | |
zip_error_get.c | |
lfunc.c | |
certs.c | |
zip_error_get_sys_type.c | |
zip_error_strerror.c | |
cipher.c | |
lgc.c | |
linit.c | |
compat.c | |
zip_error_to_str.c | |
zip_extra_field.c | |
except.c | |
liolib.c | |
llex.c | |
inet.c | |
cipher_wrap.c | |
zip_extra_field_api.c | |
cram.c | |
lmathlib.c | |
lmem.c | |
zip_fclose.c | |
loadlib.c | |
ctr_drbg.c | |
io.c | |
curl_addrinfo.c | |
lobject.c | |
zip_fdopen.c | |
luasocket.c | |
lopcodes.c | |
curl_des.c | |
loslib.c | |
lparser.c | |
zip_file_add.c | |
main.c | |
debug.c | |
curl_endian.c | |
lstate.c | |
zip_file_error_clear.c | |
mime.c | |
zip_file_error_get.c | |
lstring.c | |
des.c | |
dhm.c | |
curl_fnmatch.c | |
zip_file_get_comment.c | |
lstrlib.c | |
ltable.c | |
zip_file_get_external_attributes.c | |
ecdh.c | |
options.c | |
curl_gethostname.c | |
zip_file_get_offset.c | |
ecdsa.c | |
ltablib.c | |
curl_gssapi.c | |
zip_file_rename.c | |
ltm.c | |
select.c | |
ecjpake.c | |
curl_memrchr.c | |
ecp.c | |
zip_file_replace.c | |
zip_file_set_comment.c | |
zip_file_set_external_attributes.c | |
lundump.c | |
curl_multibyte.c | |
curl_ntlm_core.c | |
serial.c | |
zip_file_strerror.c | |
zip_filerange_crc.c | |
zip_fopen.c | |
curl_ntlm_wb.c | |
curl_rtmp.c | |
tcp.c | |
lutf8lib.c | |
curl_sasl.c | |
zip_fopen_encrypted.c | |
zip_fopen_index.c | |
curl_sspi.c | |
curl_threads.c | |
zip_fopen_index_encrypted.c | |
cyassl.c | |
timeout.c | |
lvm.c | |
udp.c | |
darwinssl.c | |
dict.c | |
ecp_curves.c | |
zip_fread.c | |
unix.c | |
digest.c | |
zip_get_archive_comment.c | |
digest_sspi.c | |
dotdot.c | |
unixdgram.c | |
unixstream.c | |
zip_get_archive_flag.c | |
entropy.c | |
easy.c | |
usocket.c | |
escape.c | |
file.c | |
entropy_poll.c | |
zip_get_compression_implementation.c | |
error.c | |
fileinfo.c | |
zip_get_encryption_implementation.c | |
gcm.c | |
Linking luasocket | |
zip_get_file_comment.c | |
formdata.c | |
zip_get_name.c | |
lzio.c | |
ftp.c | |
zip_get_num_entries.c | |
zip_get_num_files.c | |
zip_memdup.c | |
Linking lua-lib | |
zip_name_locate.c | |
havege.c | |
hmac_drbg.c | |
md.c | |
zip_new.c | |
zip_open.c | |
zip_rename.c | |
md2.c | |
zip_replace.c | |
zip_set_archive_comment.c | |
ftplistparser.c | |
getenv.c | |
md4.c | |
zip_set_archive_flag.c | |
getinfo.c | |
zip_set_default_password.c | |
md5.c | |
gopher.c | |
zip_set_file_comment.c | |
zip_set_file_compression.c | |
md_wrap.c | |
gskit.c | |
zip_set_name.c | |
memory_buffer_alloc.c | |
gtls.c | |
zip_source_buffer.c | |
zip_source_close.c | |
zip_source_crc.c | |
hash.c | |
net.c | |
oid.c | |
padlock.c | |
hmac.c | |
zip_source_deflate.c | |
zip_source_error.c | |
zip_source_file.c | |
pem.c | |
hostasyn.c | |
zip_source_filep.c | |
zip_source_free.c | |
zip_source_function.c | |
zip_source_layered.c | |
hostcheck.c | |
hostip.c | |
pk.c | |
hostip4.c | |
zip_source_open.c | |
zip_source_pkware.c | |
zip_source_pop.c | |
zip_source_read.c | |
hostip6.c | |
zip_source_stat.c | |
pk_wrap.c | |
zip_source_window.c | |
zip_source_zip.c | |
hostsyn.c | |
pkcs11.c | |
http.c | |
zip_source_zip_new.c | |
http2.c | |
pkcs12.c | |
zip_stat.c | |
zip_stat_index.c | |
zip_stat_init.c | |
pkcs5.c | |
zip_strerror.c | |
zip_string.c | |
http_chunks.c | |
zip_unchange.c | |
pkparse.c | |
pkwrite.c | |
zip_unchange_all.c | |
zip_unchange_archive.c | |
zip_unchange_data.c | |
zip_utf-8.c | |
platform.c | |
http_digest.c | |
http_negotiate.c | |
http_ntlm.c | |
ripemd160.c | |
Linking zip-lib | |
rsa.c | |
sha1.c | |
sha256.c | |
http_proxy.c | |
idn_win32.c | |
if2ip.c | |
imap.c | |
inet_ntop.c | |
inet_pton.c | |
krb5.c | |
krb5_gssapi.c | |
sha512.c | |
ssl_cache.c | |
ssl_ciphersuites.c | |
krb5_sspi.c | |
ldap.c | |
llist.c | |
mbedtls.c | |
ssl_cli.c | |
ssl_cookie.c | |
ssl_srv.c | |
ssl_ticket.c | |
md4.c | |
md5.c | |
memdebug.c | |
ssl_tls.c | |
threading.c | |
timing.c | |
mprintf.c | |
version.c | |
multi.c | |
version_features.c | |
x509.c | |
netrc.c | |
x509_create.c | |
non-ascii.c | |
nonblock.c | |
x509_crl.c | |
x509_crt.c | |
nss.c | |
x509_csr.c | |
ntlm.c | |
x509write_crt.c | |
x509write_csr.c | |
ntlm_sspi.c | |
xtea.c | |
nwlib.c | |
nwos.c | |
oauth2.c | |
openldap.c | |
openssl.c | |
parsedate.c | |
pingpong.c | |
pipeline.c | |
polarssl.c | |
polarssl_threadlock.c | |
pop3.c | |
progress.c | |
rand.c | |
rtsp.c | |
schannel.c | |
security.c | |
select.c | |
sendf.c | |
share.c | |
slist.c | |
smb.c | |
smtp.c | |
socks.c | |
socks_gssapi.c | |
Linking mbedtls-lib | |
socks_sspi.c | |
speedcheck.c | |
splay.c | |
spnego_gssapi.c | |
spnego_sspi.c | |
ssh.c | |
strcase.c | |
strdup.c | |
strerror.c | |
strtok.c | |
strtoofft.c | |
system_win32.c | |
telnet.c | |
tftp.c | |
timeval.c | |
transfer.c | |
url.c | |
vauth.c | |
version.c | |
vtls.c | |
warnless.c | |
wildcard.c | |
x509asn1.c | |
Linking curl-lib | |
==== Building Premake5 (release) ==== | |
Creating obj/Release/Premake5 | |
buffered_io.c | |
criteria_matches.c | |
curl_utils.c | |
debug_prompt.c | |
http_download.c | |
http_post.c | |
http_get.c | |
lua_auxlib.c | |
os_chdir.c | |
os_chmod.c | |
os_comparefiles.c | |
os_compile.c | |
os_copyfile.c | |
os_getWindowsRegistry.c | |
os_getcwd.c | |
os_getpass.c | |
os_getversion.c | |
os_host.c | |
os_is64bit.c | |
os_isdir.c | |
os_isfile.c | |
os_islink.c | |
os_listWindowsRegistry.c | |
os_match.c | |
os_locate.c | |
os_mkdir.c | |
os_pathsearch.c | |
os_realpath.c | |
os_remove.c | |
os_rename.c | |
os_rmdir.c | |
os_stat.c | |
os_touchfile.c | |
os_uuid.c | |
os_writefile_ifnotequal.c | |
path_getabsolute.c | |
path_getrelative.c | |
path_isabsolute.c | |
path_join.c | |
path_normalize.c | |
path_translate.c | |
path_wildcards.c | |
premake.c | |
premake_main.c | |
scripts.c | |
string_endswith.c | |
string_hash.c | |
string_sha1.c | |
string_startswith.c | |
term_textColor.c | |
zip_extract.c | |
Linking Premake5 | |
make[1]: Leaving directory '/build/source/third_party/premake-core/build/bootstrap' | |
Building configurations... | |
Baking aes_128... | |
Baking capstone... | |
Baking dxbc... | |
Baking discord-rpc... | |
Baking cxxopts... | |
Baking cpptoml... | |
Baking fmt... | |
Baking glslang-spirv... | |
Baking imgui... | |
Baking libavcodec... | |
Baking libavutil... | |
Baking mspack... | |
Baking snappy... | |
Baking spirv-tools... | |
Baking volk... | |
Baking xxhash... | |
Baking xenia-core... | |
Baking xenia-app-discord... | |
Baking xenia-apu... | |
Baking xenia-apu-nop... | |
Baking xenia-base... | |
Baking xenia-base-tests... | |
Baking xenia-cpu... | |
Baking xenia-cpu-tests... | |
Baking xenia-cpu-ppc-tests... | |
Baking xenia-cpu-backend-x64... | |
Baking xenia-debug-ui... | |
Baking xenia-gpu... | |
Baking xenia-gpu-shader-compiler... | |
Baking xenia-gpu-null... | |
Baking xenia-gpu-vulkan... | |
Baking xenia-gpu-vulkan-trace-viewer... | |
Baking xenia-gpu-vulkan-trace-dump... | |
Baking xenia-hid... | |
Baking xenia-hid-demo... | |
Baking xenia-hid-nop... | |
Baking xenia-kernel... | |
Baking xenia-ui... | |
Baking xenia-ui-spirv... | |
Baking xenia-ui-vulkan... | |
Baking xenia-ui-window-vulkan-demo... | |
Baking xenia-vfs... | |
Baking xenia-vfs-dump... | |
Baking xenia-apu-sdl... | |
Baking xenia-helper-sdl... | |
Baking xenia-hid-sdl... | |
Baking xenia-app... | |
Running action 'gmake2'... | |
Generated build/Makefile... | |
Generated build/aes_128.make... | |
Generated build/capstone.make... | |
Generated build/dxbc.make... | |
Generated build/discord-rpc.make... | |
Generated build/cxxopts.make... | |
Generated build/cpptoml.make... | |
Generated build/fmt.make... | |
Generated build/glslang-spirv.make... | |
Generated build/imgui.make... | |
Generated build/libavcodec.make... | |
Generated build/libavutil.make... | |
Generated build/mspack.make... | |
Generated build/snappy.make... | |
Generated build/spirv-tools.make... | |
Generated build/volk.make... | |
Generated build/xxhash.make... | |
Generated build/xenia-core.make... | |
Generated build/xenia-app-discord.make... | |
Generated build/xenia-apu.make... | |
Generated build/xenia-apu-nop.make... | |
Generated build/xenia-base.make... | |
Generated build/xenia-base-tests.make... | |
Generated build/xenia-cpu.make... | |
Generated build/xenia-cpu-tests.make... | |
Generated build/xenia-cpu-ppc-tests.make... | |
Generated build/xenia-cpu-backend-x64.make... | |
Generated build/xenia-debug-ui.make... | |
Generated build/xenia-gpu.make... | |
Generated build/xenia-gpu-shader-compiler.make... | |
Generated build/xenia-gpu-null.make... | |
Generated build/xenia-gpu-vulkan.make... | |
Generated build/xenia-gpu-vulkan-trace-viewer.make... | |
Generated build/xenia-gpu-vulkan-trace-dump.make... | |
Generated build/xenia-hid.make... | |
Generated build/xenia-hid-demo.make... | |
Generated build/xenia-hid-nop.make... | |
Generated build/xenia-kernel.make... | |
Generated build/xenia-ui.make... | |
Generated build/xenia-ui-spirv.make... | |
Generated build/xenia-ui-vulkan.make... | |
Generated build/xenia-ui-window-vulkan-demo.make... | |
Generated build/xenia-vfs.make... | |
Generated build/xenia-vfs-dump.make... | |
Generated build/xenia-apu-sdl.make... | |
Generated build/xenia-helper-sdl.make... | |
Generated build/xenia-hid-sdl.make... | |
Generated build/xenia-app.make... | |
Done (6799ms). | |
- building (all):release... | |
make: Entering directory '/build/source/build' | |
==== Building aes_128 (release_linux) ==== | |
==== Building capstone (release_linux) ==== | |
==== Building dxbc (release_linux) ==== | |
==== Building discord-rpc (release_linux) ==== | |
==== Building cxxopts (release_linux) ==== | |
==== Building cpptoml (release_linux) ==== | |
==== Building fmt (release_linux) ==== | |
Creating obj/Linux/Release/Linux/Release/aes_128 | |
Creating bin/Linux/Release | |
Creating obj/Linux/Release/Linux/Release/dxbc | |
Creating bin/Linux/Release | |
==== Building glslang-spirv (release_linux) ==== | |
aes.c | |
==== Building imgui (release_linux) ==== | |
==== Building libavutil (release_linux) ==== | |
Creating obj/Linux/Release/Linux/Release/discord-rpc | |
DXBCChecksum.cpp | |
Creating obj/Linux/Release/Linux/Release/fmt | |
connection_unix.cpp | |
format.cc | |
Creating obj/Linux/Release/Linux/Release/capstone | |
Creating obj/Linux/Release/Linux/Release/glslang-spirv | |
Creating obj/Linux/Release/Linux/Release/imgui | |
MCInst.c | |
InReadableOrder.cpp | |
imgui.cpp | |
Creating obj/Linux/Release/Linux/Release/libavutil | |
adler32.c | |
aes.c | |
MCInstrDesc.c | |
discord_register_linux.cpp | |
MCRegisterInfo.c | |
atomic.c | |
SStream.c | |
Linking dxbc | |
imgui_demo.cpp | |
audio_fifo.c | |
discord_rpc.cpp | |
X86ATTInstPrinter.c | |
X86Disassembler.c | |
Linking aes_128 | |
avstring.c | |
==== Building snappy (release_linux) ==== | |
Creating obj/Linux/Release/Linux/Release/snappy | |
snappy-sinksource.cc | |
../third_party/libav/libavutil/avstring.c:57:16: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] | |
return s1; | |
^~ | |
../third_party/libav/libavutil/avstring.c:61:20: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] | |
return s1; | |
^~ | |
../third_party/libav/libavutil/avstring.c:71:16: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] | |
return haystack; | |
^~~~~~~~ | |
../third_party/libav/libavutil/avstring.c:75:20: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] | |
return haystack; | |
^~~~~~~~ | |
snappy-stubs-internal.cc | |
4 warnings generated. | |
base64.c | |
X86DisassemblerDecoder.c | |
blowfish.c | |
buffer.c | |
snappy.cc | |
channel_layout.c | |
cpu.c | |
Logger.cpp | |
cpu.c | |
crc.c | |
des.c | |
dict.c | |
X86IntelInstPrinter.c | |
../third_party/libav/libavutil/dict.c:83:58: warning: passing 'const char *' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] | |
if (flags & AV_DICT_DONT_STRDUP_KEY) av_free(key); | |
^~~ | |
../third_party/libav/libavutil/mem.h:184:20: note: passing argument to parameter 'ptr' here | |
void av_free(void *ptr); | |
^ | |
../third_party/libav/libavutil/dict.c:84:58: warning: passing 'const char *' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] | |
if (flags & AV_DICT_DONT_STRDUP_VAL) av_free(value); | |
^~~~~ | |
../third_party/libav/libavutil/mem.h:184:20: note: passing argument to parameter 'ptr' here | |
void av_free(void *ptr); | |
^ | |
../third_party/libav/libavutil/dict.c:105:36: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] | |
m->elems[m->count].key = key; | |
^ ~~~ | |
../third_party/libav/libavutil/dict.c:109:38: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] | |
m->elems[m->count].value = value; | |
rpc_connection.cpp | |
^ ~~~~~ | |
display.c | |
4 warnings generated. | |
downmix_info.c | |
error.c | |
eval.c | |
Linking snappy | |
fifo.c | |
==== Building spirv-tools (release_linux) ==== | |
X86Mapping.c | |
Creating obj/Linux/Release/Linux/Release/spirv-tools | |
assembly_grammar.cpp | |
../third_party/libav/libavutil/eval.c:174:21: warning: 16 enumeration values not handled in switch: 'e_value', 'e_const', 'e_func0'... [-Wswitch] | |
switch (e->type) { | |
^ | |
1 warning generated. | |
basic_block.cpp | |
file.c | |
file_open.c | |
SPVRemapper.cpp | |
float_dsp.c | |
serialization.cpp | |
X86Module.c | |
float_dsp_init.c | |
cs.c | |
binary.cpp | |
utils.c | |
frame.c | |
Linking capstone | |
==== Building volk (release_linux) ==== | |
Creating obj/Linux/Release/Linux/Release/volk | |
Linking discord-rpc | |
volk.c | |
hmac.c | |
==== Building xxhash (release_linux) ==== | |
Creating obj/Linux/Release/Linux/Release/xxhash | |
xxhash.c | |
../third_party/libav/libavutil/hmac.c:61:21: warning: incompatible pointer types assigning to 'void (*)(void *)' from 'void (struct AVMD5 *)' [-Wincompatible-pointer-types] | |
c->init = av_md5_init; | |
^ ~~~~~~~~~~~ | |
../third_party/libav/libavutil/hmac.c:62:21: warning: incompatible pointer types assigning to 'void (*)(void *, const uint8_t *, int)' (aka 'void (*)(void *, const unsigned char *, int)') from 'void (struct AVMD5 *, const uint8_t *, const int)' (aka 'void (struct AVMD5 *, const unsigned char *, const int)') [-Wincompatible-pointer-types] | |
c->update = av_md5_update; | |
^ ~~~~~~~~~~~~~ | |
../third_party/libav/libavutil/hmac.c:63:21: warning: incompatible pointer types assigning to 'void (*)(void *, uint8_t *)' (aka 'void (*)(void *, unsigned char *)') from 'void (struct AVMD5 *, uint8_t *)' (aka 'void (struct AVMD5 *, unsigned char *)') [-Wincompatible-pointer-types] | |
c->final = av_md5_final; | |
^ ~~~~~~~~~~~~ | |
../third_party/libav/libavutil/hmac.c:70:21: warning: incompatible pointer types assigning to 'void (*)(void *, const uint8_t *, int)' (aka 'void (*)(void *, const unsigned char *, int)') from 'void (struct AVSHA *, const uint8_t *, unsigned int)' (aka 'void (struct AVSHA *, const unsigned char *, unsigned int)') [-Wincompatible-pointer-types] | |
c->update = av_sha_update; | |
^ ~~~~~~~~~~~~~ | |
../third_party/libav/libavutil/hmac.c:71:21: warning: incompatible pointer types assigning to 'void (*)(void *, uint8_t *)' (aka 'void (*)(void *, unsigned char *)') from 'void (struct AVSHA *, uint8_t *)' (aka 'void (struct AVSHA *, unsigned char *)') [-Wincompatible-pointer-types] | |
c->final = av_sha_final; | |
^ ~~~~~~~~~~~~ | |
../third_party/libav/libavutil/hmac.c:78:21: warning: incompatible pointer types assigning to 'void (*)(void *, const uint8_t *, int)' (aka 'void (*)(void *, const unsigned char *, int)') from 'void (struct AVSHA *, const uint8_t *, unsigned int)' (aka 'void (struct AVSHA *, const unsigned char *, unsigned int)') [-Wincompatible-pointer-types] | |
c->update = av_sha_update; | |
^ ~~~~~~~~~~~~~ | |
../third_party/libav/libavutil/hmac.c:79:21: warning: incompatible pointer types assigning to 'void (*)(void *, uint8_t *)' (aka 'void (*)(void *, unsigned char *)') from 'void (struct AVSHA *, uint8_t *)' (aka 'void (struct AVSHA *, unsigned char *)') [-Wincompatible-pointer-types] | |
c->final = av_sha_final; | |
^ ~~~~~~~~~~~~ | |
../third_party/libav/libavutil/hmac.c:86:21: warning: incompatible pointer types assigning to 'void (*)(void *, const uint8_t *, int)' (aka 'void (*)(void *, const unsigned char *, int)') from 'void (struct AVSHA *, const uint8_t *, unsigned int)' (aka 'void (struct AVSHA *, const unsigned char *, unsigned int)') [-Wincompatible-pointer-types] | |
c->update = av_sha_update; | |
^ ~~~~~~~~~~~~~ | |
../third_party/libav/libavutil/hmac.c:87:21: warning: incompatible pointer types assigning to 'void (*)(void *, uint8_t *)' (aka 'void (*)(void *, unsigned char *)') from 'void (struct AVSHA *, uint8_t *)' (aka 'void (struct AVSHA *, unsigned char *)') [-Wincompatible-pointer-types] | |
c->final = av_sha_final; | |
^ ~~~~~~~~~~~~ | |
9 warnings generated. | |
imgutils.c | |
../third_party/libav/libavutil/imgutils.c:320:62: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'uint8_t *' (aka 'unsigned char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] | |
return av_image_fill_pointers(dst_data, pix_fmt, height, src, dst_linesize); | |
^~~ | |
../third_party/libav/libavutil/imgutils.c:101:37: note: passing argument to parameter 'ptr' here | |
uint8_t *ptr, const int linesizes[4]) | |
^ | |
Linking volk | |
==== Building xenia-app-discord (release_linux) ==== | |
Creating obj/Linux/Release/Linux/Release/xenia-app-discord | |
discord_presence.cc | |
1 warning generated. | |
intmath.c | |
lfg.c | |
bit_stream.cpp | |
lls.c | |
imgui_draw.cpp | |
lls_init.c | |
log.c | |
../third_party/libav/libavutil/log.c:86:33: warning: '&&' within '||' [-Wlogical-op-parentheses] | |
(getenv("TERM") && isatty(2) || getenv("AV_LOG_FORCE_COLOR")); | |
~~~~~~~~~~~~~~~^~~~~~~~~~~~ ~~ | |
../third_party/libav/libavutil/log.c:86:33: note: place parentheses around the '&&' expression to silence this warning | |
(getenv("TERM") && isatty(2) || getenv("AV_LOG_FORCE_COLOR")); | |
^ | |
( ) | |
1 warning generated. | |
log2_tab.c | |
lzo.c | |
mathematics.c | |
Linking xxhash | |
md5.c | |
mem.c | |
../third_party/libav/libavutil/md5.c:165:24: warning: passing 'char [2]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] | |
av_md5_update(ctx, "\200", 1); | |
^~~~~~ | |
../third_party/libav/libavutil/md5.c:144:47: note: passing argument to parameter 'src' here | |
void av_md5_update(AVMD5 *ctx, const uint8_t *src, const int len) | |
^ | |
../third_party/libav/libavutil/md5.c:167:28: warning: passing 'char [1]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] | |
av_md5_update(ctx, "", 1); | |
^~ | |
../third_party/libav/libavutil/md5.c:144:47: note: passing argument to parameter 'src' here | |
void av_md5_update(AVMD5 *ctx, const uint8_t *src, const int len) | |
^ | |
Linking xenia-app-discord | |
opt.c | |
parseutils.c | |
2 warnings generated. | |
pixdesc.c | |
../third_party/libav/libavutil/opt.c:49:13: warning: 4 enumeration values not handled in switch: 'AV_OPT_TYPE_STRING', 'AV_OPT_TYPE_BINARY', 'AV_OPT_TYPE_DICT'... [-Wswitch] | |
switch (o->type) { | |
^ | |
../third_party/libav/libavutil/opt.c:142:10: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
*dst = av_strdup(val); | |
^ ~~~~~~~~~~~~~~ | |
../third_party/libav/libavutil/opt.c:222:13: warning: enumeration values 'AV_OPT_TYPE_DICT' and 'AV_OPT_TYPE_CONST' not handled in switch [-Wswitch] | |
switch (o->type) { | |
^ | |
../third_party/libav/libavutil/opt.c:344:48: warning: passing 'uint8_t [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
case AV_OPT_TYPE_FLAGS: ret = snprintf(buf, sizeof(buf), "0x%08X", *(int *)dst);break; | |
^~~ | |
/nix/store/isc38rkzb8193xlngavl506wgdld7qvr-glibc-2.32-10-dev/include/bits/stdio2.h:75:29: note: expanded from macro 'snprintf' | |
__builtin___snprintf_chk (str, len, __USE_FORTIFY_LEVEL - 1, __bos (str), \ | |
^~~ | |
../third_party/libav/libavutil/opt.c:345:48: warning: passing 'uint8_t [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
case AV_OPT_TYPE_INT: ret = snprintf(buf, sizeof(buf), "%d" , *(int *)dst);break; | |
^~~ | |
/nix/store/isc38rkzb8193xlngavl506wgdld7qvr-glibc-2.32-10-dev/include/bits/stdio2.h:75:29: note: expanded from macro 'snprintf' | |
__builtin___snprintf_chk (str, len, __USE_FORTIFY_LEVEL - 1, __bos (str), \ | |
^~~ | |
../third_party/libav/libavutil/opt.c:346:48: warning: passing 'uint8_t [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
case AV_OPT_TYPE_INT64: ret = snprintf(buf, sizeof(buf), "%"PRId64, *(int64_t*)dst);break; | |
^~~ | |
/nix/store/isc38rkzb8193xlngavl506wgdld7qvr-glibc-2.32-10-dev/include/bits/stdio2.h:75:29: note: expanded from macro 'snprintf' | |
__builtin___snprintf_chk (str, len, __USE_FORTIFY_LEVEL - 1, __bos (str), \ | |
^~~ | |
../third_party/libav/libavutil/opt.c:347:48: warning: passing 'uint8_t [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
case AV_OPT_TYPE_FLOAT: ret = snprintf(buf, sizeof(buf), "%f" , *(float *)dst);break; | |
^~~ | |
/nix/store/isc38rkzb8193xlngavl506wgdld7qvr-glibc-2.32-10-dev/include/bits/stdio2.h:75:29: note: expanded from macro 'snprintf' | |
__builtin___snprintf_chk (str, len, __USE_FORTIFY_LEVEL - 1, __bos (str), \ | |
^~~ | |
../third_party/libav/libavutil/opt.c:348:48: warning: passing 'uint8_t [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
case AV_OPT_TYPE_DOUBLE: ret = snprintf(buf, sizeof(buf), "%f" , *(double *)dst);break; | |
^~~ | |
/nix/store/isc38rkzb8193xlngavl506wgdld7qvr-glibc-2.32-10-dev/include/bits/stdio2.h:75:29: note: expanded from macro 'snprintf' | |
__builtin___snprintf_chk (str, len, __USE_FORTIFY_LEVEL - 1, __bos (str), \ | |
^~~ | |
../third_party/libav/libavutil/opt.c:349:48: warning: passing 'uint8_t [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
case AV_OPT_TYPE_RATIONAL: ret = snprintf(buf, sizeof(buf), "%d/%d", ((AVRational*)dst)->num, ((AVRational*)dst)->den);break; | |
^~~ | |
/nix/store/isc38rkzb8193xlngavl506wgdld7qvr-glibc-2.32-10-dev/include/bits/stdio2.h:75:29: note: expanded from macro 'snprintf' | |
__builtin___snprintf_chk (str, len, __USE_FORTIFY_LEVEL - 1, __bos (str), \ | |
^~~ | |
../third_party/libav/libavutil/opt.c:352:34: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
*out_val = av_strdup(*(uint8_t**)dst); | |
^~~~~~~~~~~~~~~ | |
../third_party/libav/libavutil/mem.h:218:29: note: passing argument to parameter 's' here | |
char *av_strdup(const char *s) av_malloc_attrib; | |
^ | |
../third_party/libav/libavutil/opt.c:352:22: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
*out_val = av_strdup(*(uint8_t**)dst); | |
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
../third_party/libav/libavutil/opt.c:354:22: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
*out_val = av_strdup(""); | |
^ ~~~~~~~~~~~~~ | |
../third_party/libav/libavutil/opt.c:364:22: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
snprintf(*out_val + i*2, 3, "%02X", bin[i]); | |
^~~~~~~~~~~~~~ | |
/nix/store/isc38rkzb8193xlngavl506wgdld7qvr-glibc-2.32-10-dev/include/bits/stdio2.h:75:29: note: expanded from macro 'snprintf' | |
__builtin___snprintf_chk (str, len, __USE_FORTIFY_LEVEL - 1, __bos (str), \ | |
^~~ | |
../third_party/libav/libavutil/opt.c:372:26: warning: passing 'uint8_t [128]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
*out_val = av_strdup(buf); | |
^~~ | |
../third_party/libav/libavutil/mem.h:218:29: note: passing argument to parameter 's' here | |
char *av_strdup(const char *s) av_malloc_attrib; | |
^ | |
../third_party/libav/libavutil/opt.c:372:14: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
*out_val = av_strdup(buf); | |
^ ~~~~~~~~~~~~~~ | |
../third_party/libav/libavutil/opt.c:718:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] | |
while (child = av_opt_child_class_next(c, child)) | |
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
../third_party/libav/libavutil/opt.c:718:26: note: place parentheses around the assignment to silence this warning | |
while (child = av_opt_child_class_next(c, child)) | |
^ | |
( ) | |
../third_party/libav/libavutil/opt.c:718:26: note: use '==' to turn this assignment into an equality comparison | |
while (child = av_opt_child_class_next(c, child)) | |
^ | |
== | |
../third_party/libav/libavutil/opt.c:719:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] | |
if (o = av_opt_find2(&child, name, unit, opt_flags, search_flags, NULL)) | |
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
../third_party/libav/libavutil/opt.c:719:23: note: place parentheses around the assignment to silence this warning | |
if (o = av_opt_find2(&child, name, unit, opt_flags, search_flags, NULL)) | |
^ | |
( ) | |
../third_party/libav/libavutil/opt.c:719:23: note: use '==' to turn this assignment into an equality comparison | |
if (o = av_opt_find2(&child, name, unit, opt_flags, search_flags, NULL)) | |
^ | |
== | |
../third_party/libav/libavutil/opt.c:723:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] | |
while (child = av_opt_child_next(obj, child)) | |
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
../third_party/libav/libavutil/opt.c:723:26: note: place parentheses around the assignment to silence this warning | |
while (child = av_opt_child_next(obj, child)) | |
^ | |
( ) | |
../third_party/libav/libavutil/opt.c:723:26: note: use '==' to turn this assignment into an equality comparison | |
while (child = av_opt_child_next(obj, child)) | |
^ | |
== | |
../third_party/libav/libavutil/opt.c:724:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] | |
if (o = av_opt_find2(child, name, unit, opt_flags, search_flags, target_obj)) | |
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
../third_party/libav/libavutil/opt.c:724:23: note: place parentheses around the assignment to silence this warning | |
if (o = av_opt_find2(child, name, unit, opt_flags, search_flags, target_obj)) | |
^ | |
( ) | |
../third_party/libav/libavutil/opt.c:724:23: note: use '==' to turn this assignment into an equality comparison | |
if (o = av_opt_find2(child, name, unit, opt_flags, search_flags, target_obj)) | |
^ | |
== | |
../third_party/libav/libavutil/opt.c:729:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] | |
while (o = av_opt_next(obj, o)) { | |
~~^~~~~~~~~~~~~~~~~~~~~ | |
../third_party/libav/libavutil/opt.c:729:14: note: place parentheses around the assignment to silence this warning | |
while (o = av_opt_next(obj, o)) { | |
^ | |
( ) | |
../third_party/libav/libavutil/opt.c:729:14: note: use '==' to turn this assignment into an equality comparison | |
while (o = av_opt_next(obj, o)) { | |
^ | |
== | |
random_seed.c | |
20 warnings generated. | |
rational.c | |
rc4.c | |
construct.cpp | |
../third_party/libav/libavutil/random_seed.c:73:24: warning: '&&' within '||' [-Wlogical-op-parentheses] | |
if (last_i && i - last_i > 4 || i - last_i > 64) | |
~~~~~~~^~~~~~~~~~~~~~~~~ ~~ | |
../third_party/libav/libavutil/random_seed.c:73:24: note: place parentheses around the '&&' expression to silence this warning | |
if (last_i && i - last_i > 4 || i - last_i > 64) | |
^ | |
( ) | |
1 warning generated. | |
samplefmt.c | |
sha.c | |
stereo3d.c | |
../third_party/libav/libavutil/samplefmt.c:152:19: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'const uint8_t *' (aka 'const unsigned char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] | |
audio_data[0] = buf; | |
^ ~~~ | |
../third_party/libav/libavutil/sha.c:329:24: warning: passing 'char [2]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] | |
av_sha_update(ctx, "\200", 1); | |
^~~~~~ | |
../third_party/libav/libavutil/sha.c:297:47: note: passing argument to parameter 'data' here | |
void av_sha_update(AVSHA* ctx, const uint8_t* data, unsigned int len) | |
^ | |
../third_party/libav/libavutil/sha.c:331:28: warning: passing 'char [1]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] | |
av_sha_update(ctx, "", 1); | |
^~ | |
../third_party/libav/libavutil/sha.c:297:47: note: passing argument to parameter 'data' here | |
void av_sha_update(AVSHA* ctx, const uint8_t* data, unsigned int len) | |
^ | |
1 warning generated. | |
time.c | |
tree.c | |
utils.c | |
os.cc | |
../third_party/libav/libavutil/utils.c:45:41: warning: adding 'unsigned long' to a string does not append to the string [-Wstring-plus-int] | |
return LICENSE_PREFIX LIBAV_LICENSE + sizeof(LICENSE_PREFIX) - 1; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ | |
../third_party/libav/libavutil/utils.c:45:41: note: use array indexing to silence this warning | |
return LICENSE_PREFIX LIBAV_LICENSE + sizeof(LICENSE_PREFIX) - 1; | |
^ | |
& [ ] | |
diagnostic.cpp | |
1 warning generated. | |
xtea.c | |
2 warnings generated. | |
disassemble.cpp | |
Linking libavutil | |
==== Building xenia-helper-sdl (release_linux) ==== | |
Creating obj/Linux/Release/Linux/Release/xenia-helper-sdl | |
sdl_helper.cc | |
enum_string_mapping.cpp | |
ext_inst.cpp | |
SpvBuilder.cpp | |
imgui_widgets.cpp | |
extensions.cpp | |
disassemble.cpp | |
function.cpp | |
Linking fmt | |
==== Building libavcodec (release_linux) ==== | |
Creating obj/Linux/Release/Linux/Release/libavcodec | |
avpacket.c | |
id_descriptor.cpp | |
bitstream.c | |
bitstream_filter.c | |
codec_desc.c | |
fdct.c | |
doc.cpp | |
fdctdsp_init.c | |
fft_float.c | |
fft_init.c | |
fft_init.c | |
fft_init_aarch64.c | |
Linking xenia-helper-sdl | |
fft_init_arm.c | |
instruction.cpp | |
==== Building xenia-base (release_linux) ==== | |
Creating obj/Linux/Release/Linux/Release/xenia-base | |
arena.cc | |
imgconvert.c | |
Linking imgui | |
log2_tab.c | |
mathtables.c | |
mdct_float.c | |
options.c | |
parser.c | |
../third_party/libav/libavcodec/options.c:67:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] | |
while (c = av_codec_next(c)) | |
~~^~~~~~~~~~~~~~~~~~ | |
../third_party/libav/libavcodec/options.c:67:14: note: place parentheses around the assignment to silence this warning | |
while (c = av_codec_next(c)) | |
^ | |
( ) | |
../third_party/libav/libavcodec/options.c:67:14: note: use '==' to turn this assignment into an equality comparison | |
while (c = av_codec_next(c)) | |
^ | |
== | |
../third_party/libav/libavcodec/options.c:120:33: warning: passing 'const uint8_t *const' (aka 'const unsigned char *const') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
ret = av_opt_set(s, d->key, d->value, 0); | |
^~~~~~ | |
../third_party/libav/libavutil/opt.h:495:48: note: passing argument to parameter 'name' here | |
int av_opt_set (void *obj, const char *name, const char *val, int search_flags); | |
^ | |
../third_party/libav/libavcodec/options.c:120:41: warning: passing 'const uint8_t *const' (aka 'const unsigned char *const') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
ret = av_opt_set(s, d->key, d->value, 0); | |
^~~~~~~~ | |
../third_party/libav/libavutil/opt.h:495:66: note: passing argument to parameter 'val' here | |
int av_opt_set (void *obj, const char *name, const char *val, int search_flags); | |
^ | |
pthread.c | |
3 warnings generated. | |
pthread_frame.c | |
pthread_slice.c | |
qsv_api.c | |
../third_party/libav/libavcodec/pthread_frame.c:799:48: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
tmp = av_fast_realloc(p->released_buffers, &p->released_buffers_allocated, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
../third_party/libav/libavutil/mem.h:255:48: note: passing argument to parameter 'size' here | |
void *av_fast_realloc(void *ptr, unsigned int *size, size_t min_size); | |
^ | |
libspirv.cpp | |
sinewin.c | |
1 warning generated. | |
utils.c | |
wma.c | |
wma_common.c | |
bit_map.cc | |
wma_freqs.c | |
../third_party/libav/libavcodec/utils.c:1276:29: warning: '&&' within '||' [-Wlogical-op-parentheses] | |
if (avctx->channels && avctx->channels < 0 || | |
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ~~ | |
../third_party/libav/libavcodec/utils.c:1276:29: note: place parentheses around the '&&' expression to silence this warning | |
if (avctx->channels && avctx->channels < 0 || | |
^ | |
( ) | |
../third_party/libav/libavcodec/utils.c:2128:41: warning: adding 'unsigned long' to a string does not append to the string [-Wstring-plus-int] | |
return LICENSE_PREFIX LIBAV_LICENSE + sizeof(LICENSE_PREFIX) - 1; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ | |
../third_party/libav/libavcodec/utils.c:2128:41: note: use array indexing to silence this warning | |
return LICENSE_PREFIX LIBAV_LICENSE + sizeof(LICENSE_PREFIX) - 1; | |
^ | |
& [ ] | |
../third_party/libav/libavcodec/utils.c:2324:25: warning: 339 enumeration values not handled in switch: 'AV_CODEC_ID_NONE', 'AV_CODEC_ID_MPEG1VIDEO', 'AV_CODEC_ID_MPEG2VIDEO'... [-Wswitch] | |
switch (avctx->codec_id) { | |
^ | |
../third_party/libav/libavcodec/utils.c:2338:25: warning: 340 enumeration values not handled in switch: 'AV_CODEC_ID_NONE', 'AV_CODEC_ID_MPEG1VIDEO', 'AV_CODEC_ID_MPEG2VIDEO'... [-Wswitch] | |
switch (avctx->codec_id) { | |
^ | |
../third_party/libav/libavcodec/utils.c:2443:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] | |
if (err = cb(&new_codec_mutex, AV_LOCK_CREATE)) { | |
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
../third_party/libav/libavcodec/utils.c:2443:17: note: place parentheses around the assignment to silence this warning | |
if (err = cb(&new_codec_mutex, AV_LOCK_CREATE)) { | |
^ | |
( ) | |
../third_party/libav/libavcodec/utils.c:2443:17: note: use '==' to turn this assignment into an equality comparison | |
if (err = cb(&new_codec_mutex, AV_LOCK_CREATE)) { | |
^ | |
== | |
../third_party/libav/libavcodec/utils.c:2446:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] | |
if (err = cb(&new_avformat_mutex, AV_LOCK_CREATE)) { | |
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
../third_party/libav/libavcodec/utils.c:2446:17: note: place parentheses around the assignment to silence this warning | |
if (err = cb(&new_avformat_mutex, AV_LOCK_CREATE)) { | |
^ | |
( ) | |
../third_party/libav/libavcodec/utils.c:2446:17: note: use '==' to turn this assignment into an equality comparison | |
if (err = cb(&new_avformat_mutex, AV_LOCK_CREATE)) { | |
^ | |
== | |
xma2dec.c | |
bit_stream.cc | |
../third_party/libav/libavcodec/xma2dec.c:1858:34: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'uint8_t *' (aka 'unsigned char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] | |
*frame_size = get_frame_length(buf, buf_size, bit_offset); | |
^~~ | |
../third_party/libav/libavcodec/xma2dec.c:1710:38: note: passing argument to parameter 'block' here | |
static int get_frame_length(uint8_t* block, int size, | |
^ | |
../third_party/libav/libavcodec/xma2dec.c:1866:30: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'uint8_t *' (aka 'unsigned char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] | |
int res = collect_frame(s, buf, buf_size, bit_offset, | |
^~~ | |
../third_party/libav/libavcodec/xma2dec.c:1749:53: note: passing argument to parameter 'block' here | |
static int collect_frame(XMA2DecodeCtx* s, uint8_t* block, int size, | |
^ | |
byte_stream.cc | |
6 warnings generated. | |
clock.cc | |
message.cpp | |
2 warnings generated. | |
Linking libavcodec | |
name_mapper.cpp | |
clock_posix.cc | |
clock_x64.cc | |
cvar.cc | |
opcode.cpp | |
operand.cpp | |
parse_number.cpp | |
Linking glslang-spirv | |
parsed_operand.cpp | |
print.cpp | |
software_version.cpp | |
spirv_endian.cpp | |
spirv_stats.cpp | |
spirv_target_env.cpp | |
debugging_posix.cc | |
spirv_validator_options.cpp | |
string_utils.cpp | |
table.cpp | |
text.cpp | |
text_handler.cpp | |
exception_handler_linux.cc | |
exception_handler_posix.cc | |
filesystem.cc | |
filesystem_posix.cc | |
validate.cpp | |
filesystem_wildcard.cc | |
validate_adjacency.cpp | |
fuzzy.cc | |
../src/xenia/base/filesystem_posix.cc:48:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] | |
readlink("/proc/self/exe", buff, FILENAME_MAX); | |
^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
logging.cc | |
mapped_memory_posix.cc | |
math.cc | |
1 warning generated. | |
memory.cc | |
validate_arithmetics.cpp | |
validate_atomics.cpp | |
memory_posix.cc | |
mutex.cc | |
validate_barriers.cpp | |
profiling.cc | |
validate_bitwise.cpp | |
../src/xenia/base/memory_posix.cc:136:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] | |
ftruncate64(ret, length); | |
^~~~~~~~~~~ ~~~~~~~~~~~ | |
validate_capability.cpp | |
1 warning generated. | |
ring_buffer.cc | |
string.cc | |
validate_cfg.cpp | |
string_buffer.cc | |
validate_composites.cpp | |
validate_conversion.cpp | |
system_linux.cc | |
threading.cc | |
validate_datarules.cpp | |
validate_decorations.cpp | |
../src/xenia/base/system_linux.cc:23:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] | |
system(cmd.c_str()); | |
^~~~~~ ~~~~~~~~~~~ | |
threading_posix.cc | |
1 warning generated. | |
validate_derivatives.cpp | |
utf8.cc | |
validate_ext_inst.cpp | |
validate_id.cpp | |
validate_image.cpp | |
validate_instruction.cpp | |
vec128.cc | |
x64_context.cc | |
validate_layout.cpp | |
validate_literals.cpp | |
validate_logicals.cpp | |
validate_primitives.cpp | |
validate_type_unique.cpp | |
validation_state.cpp | |
Linking xenia-base | |
==== Building mspack (release_linux) ==== | |
==== Building xenia-core (release_linux) ==== | |
==== Building xenia-apu (release_linux) ==== | |
==== Building xenia-base-tests (release_linux) ==== | |
==== Building xenia-hid (release_linux) ==== | |
==== Building xenia-vfs (release_linux) ==== | |
Creating obj/Linux/Release/Linux/Release/mspack | |
Creating obj/Linux/Release/Linux/Release/xenia-core | |
==== Building xenia-ui (release_linux) ==== | |
logging.cc | |
Creating obj/Linux/Release/Linux/Release/xenia-hid | |
Creating obj/Linux/Release/Linux/Release/xenia-base-tests | |
config.cc | |
Creating obj/Linux/Release/Linux/Release/xenia-apu | |
Creating obj/Linux/Release/Linux/Release/xenia-vfs | |
hid_flags.cc | |
main_posix.cc | |
Creating obj/Linux/Release/Linux/Release/xenia-ui | |
apu_flags.cc | |
device.cc | |
file_picker_gtk.cc | |
disc_image_device.cc | |
Linking spirv-tools | |
memory_test.cc | |
graphics_context.cc | |
lzxd.c | |
system.c | |
Linking mspack | |
graphics_upload_buffer_pool.cc | |
test_suite_main.cc | |
imgui_dialog.cc | |
disc_image_entry.cc | |
audio_driver.cc | |
input_driver.cc | |
imgui_drawer.cc | |
disc_image_file.cc | |
audio_system.cc | |
input_system.cc | |
entry.cc | |
host_path_device.cc | |
loop.cc | |
threading_test.cc | |
xma_context.cc | |
loop_gtk.cc | |
host_path_entry.cc | |
Linking xenia-hid | |
==== Building xenia-ui-spirv (release_linux) ==== | |
Creating obj/Linux/Release/Linux/Release/xenia-ui-spirv | |
spirv_assembler.cc | |
emulator.cc | |
menu_item.cc | |
xma_decoder.cc | |
microprofile_drawer.cc | |
window.cc | |
xma_register_file.cc | |
spirv_disassembler.cc | |
host_path_file.cc | |
window_gtk.cc | |
spirv_util.cc | |
spirv_validator.cc | |
stfs_container_device.cc | |
utf8_test.cc | |
stfs_container_entry.cc | |
stfs_container_file.cc | |
Linking xenia-ui-spirv | |
virtual_file_system.cc | |
==== Building xenia-hid-nop (release_linux) ==== | |
Creating obj/Linux/Release/Linux/Release/xenia-hid-nop | |
nop_hid.cc | |
Linking xenia-base-tests | |
nop_input_driver.cc | |
memory.cc | |
Linking xenia-apu | |
==== Building xenia-apu-nop (release_linux) ==== | |
==== Building xenia-cpu (release_linux) ==== | |
Creating obj/Linux/Release/Linux/Release/xenia-apu-nop | |
nop_apu_flags.cc | |
Creating obj/Linux/Release/Linux/Release/xenia-cpu | |
assembler.cc | |
Linking xenia-ui | |
nop_audio_system.cc | |
==== Building xenia-apu-sdl (release_linux) ==== | |
Creating obj/Linux/Release/Linux/Release/xenia-apu-sdl | |
sdl_audio_driver.cc | |
backend.cc | |
Linking xenia-vfs | |
==== Building xenia-gpu (release_linux) ==== | |
Creating obj/Linux/Release/Linux/Release/xenia-gpu | |
command_processor.cc | |
block.cc | |
breakpoint.cc | |
Linking xenia-hid-nop | |
draw_util.cc | |
dxbc_shader.cc | |
==== Building xenia-ui-vulkan (release_linux) ==== | |
Creating obj/Linux/Release/Linux/Release/xenia-ui-vulkan | |
blitter.cc | |
Linking xenia-apu-nop | |
dxbc_shader_translator.cc | |
sdl_audio_system.cc | |
Linking xenia-core | |
dxbc_shader_translator_alu.cc | |
compiler.cc | |
circular_buffer.cc | |
dxbc_shader_translator_fetch.cc | |
fenced_pools.cc | |
compiler_pass.cc | |
conditional_group_pass.cc | |
dxbc_shader_translator_memexport.cc | |
Linking xenia-apu-sdl | |
conditional_group_subpass.cc | |
==== Building xenia-hid-sdl (release_linux) ==== | |
Creating obj/Linux/Release/Linux/Release/xenia-hid-sdl | |
sdl_hid.cc | |
dxbc_shader_translator_om.cc | |
sdl_input_driver.cc | |
==== Building xenia-vfs-dump (release_linux) ==== | |
Creating obj/Linux/Release/Linux/Release/xenia-vfs-dump | |
main_posix.cc | |
vulkan.cc | |
vulkan_context.cc | |
constant_propagation_pass.cc | |
context_promotion_pass.cc | |
vulkan_device.cc | |
gpu_flags.cc | |
vfs_dump.cc | |
vulkan_immediate_drawer.cc | |
control_flow_analysis_pass.cc | |
control_flow_simplification_pass.cc | |
vulkan_instance.cc | |
Linking xenia-hid-sdl | |
vulkan_provider.cc | |
vulkan_swap_chain.cc | |
graphics_system.cc | |
cpu_flags.cc | |
data_flow_analysis_pass.cc | |
Linking xenia-vfs-dump | |
vulkan_util.cc | |
packet_disassembler.cc | |
register_file.cc | |
registers.cc | |
sampler_info.cc | |
dead_code_elimination_pass.cc | |
shader.cc | |
shader_translator.cc | |
elf_module.cc | |
shader_translator_disasm.cc | |
shared_memory.cc | |
spirv_shader_translator.cc | |
texture_conversion.cc | |
texture_dump.cc | |
texture_extent.cc | |
texture_info.cc | |
texture_info_formats.cc | |
texture_util.cc | |
entry_table.cc | |
Linking xenia-ui-vulkan | |
==== Building xenia-hid-demo (release_linux) ==== | |
Creating obj/Linux/Release/Linux/Release/xenia-hid-demo | |
hid_demo.cc | |
trace_dump.cc | |
main_posix.cc | |
export_resolver.cc | |
trace_player.cc | |
finalization_pass.cc | |
trace_reader.cc | |
trace_viewer.cc | |
trace_writer.cc | |
xenos.cc | |
function.cc | |
==== Building xenia-ui-window-vulkan-demo (release_linux) ==== | |
Creating obj/Linux/Release/Linux/Release/xenia-ui-window-vulkan-demo | |
main_posix.cc | |
vulkan_window_demo.cc | |
window_demo.cc | |
function_debug_info.cc | |
hir_builder.cc | |
instr.cc | |
lzx.cc | |
Linking xenia-hid-demo | |
memory_sequence_combination_pass.cc | |
mmio_handler.cc | |
module.cc | |
opcodes.cc | |
ppc_context.cc | |
ppc_emit_altivec.cc | |
ppc_emit_alu.cc | |
ppc_emit_control.cc | |
Linking xenia-gpu | |
ppc_emit_fpu.cc | |
==== Building xenia-gpu-shader-compiler (release_linux) ==== | |
Creating obj/Linux/Release/Linux/Release/xenia-gpu-shader-compiler | |
main_posix.cc | |
Linking xenia-ui-window-vulkan-demo | |
shader_compiler_main.cc | |
ppc_emit_memory.cc | |
==== Building xenia-gpu-null (release_linux) ==== | |
Creating obj/Linux/Release/Linux/Release/xenia-gpu-null | |
null_command_processor.cc | |
../src/xenia/gpu/shader_compiler_main.cc:95:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] | |
fread(ucode_dwords.data(), 4, ucode_dwords.size(), input_file); | |
^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
null_graphics_system.cc | |
ppc_frontend.cc | |
==== Building xenia-gpu-vulkan (release_linux) ==== | |
Creating obj/Linux/Release/Linux/Release/xenia-gpu-vulkan | |
buffer_cache.cc | |
ppc_hir_builder.cc | |
ppc_opcode_disasm.cc | |
Linking xenia-gpu-null | |
ppc_opcode_disasm_gen.cc | |
ppc_opcode_info.cc | |
1 warning generated. | |
Linking xenia-gpu-shader-compiler | |
ppc_opcode_lookup_gen.cc | |
ppc_opcode_table_gen.cc | |
ppc_scanner.cc | |
ppc_translator.cc | |
pipeline_cache.cc | |
render_cache.cc | |
processor.cc | |
raw_module.cc | |
register_allocation_pass.cc | |
../src/xenia/cpu/raw_module.cc:47:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] | |
fread(p, file_length, 1, file); | |
^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ | |
simplification_pass.cc | |
stack_walker_posix.cc | |
test_module.cc | |
texture_cache.cc | |
1 warning generated. | |
texture_config.cc | |
vulkan_command_processor.cc | |
vulkan_gpu_flags.cc | |
thread.cc | |
thread_state.cc | |
validation_pass.cc | |
value.cc | |
value_reduction_pass.cc | |
xex_module.cc | |
vulkan_graphics_system.cc | |
vulkan_shader.cc | |
Linking xenia-gpu-vulkan | |
Linking xenia-cpu | |
==== Building xenia-cpu-backend-x64 (release_linux) ==== | |
==== Building xenia-kernel (release_linux) ==== | |
==== Building xenia-debug-ui (release_linux) ==== | |
Creating obj/Linux/Release/Linux/Release/xenia-debug-ui | |
debug_window.cc | |
Creating obj/Linux/Release/Linux/Release/xenia-cpu-backend-x64 | |
x64_assembler.cc | |
x64_code_cache.cc | |
x64_backend.cc | |
x64_code_cache_posix.cc | |
x64_emitter.cc | |
Creating obj/Linux/Release/Linux/Release/xenia-kernel | |
app_manager.cc | |
cert_monitor.cc | |
content_manager.cc | |
../src/xenia/kernel/xam/content_manager.cc:218:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] | |
fread(const_cast<uint8_t*>(buffer->data()), 1, buffer->size(), file); | |
^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
debug_monitor.cc | |
x64_function.cc | |
gameinfo_utils.cc | |
x64_seq_control.cc | |
x64_seq_memory.cc | |
kernel_flags.cc | |
1 warning generated. | |
kernel_module.cc | |
x64_seq_vector.cc | |
x64_sequences.cc | |
Linking xenia-debug-ui | |
x64_tracers.cc | |
kernel_state.cc | |
native_list.cc | |
object_table.cc | |
shim_utils.cc | |
user_module.cc | |
user_profile.cc | |
../src/xenia/kernel/xam/user_profile.cc:148:7: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] | |
fread(serialized_data.data(), 1, serialized_data.size(), file); | |
^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
xam_app.cc | |
xam_avatar.cc | |
xam_content.cc | |
xam_content_aggregate.cc | |
xam_content_device.cc | |
Linking xenia-cpu-backend-x64 | |
==== Building xenia-cpu-ppc-tests (release_linux) ==== | |
Creating obj/Linux/Release/Linux/Release/xenia-cpu-ppc-tests | |
main_posix.cc | |
1 warning generated. | |
xam_enum.cc | |
xam_info.cc | |
xam_input.cc | |
xam_locale.cc | |
xam_module.cc | |
ppc_testing_main.cc | |
xam_msg.cc | |
xam_net.cc | |
xam_notify.cc | |
xam_nui.cc | |
xam_task.cc | |
xam_ui.cc | |
xam_user.cc | |
xam_video.cc | |
Linking xenia-cpu-ppc-tests | |
xam_voice.cc | |
xbdm_misc.cc | |
xbdm_module.cc | |
xboxkrnl_audio.cc | |
xboxkrnl_audio_xma.cc | |
xboxkrnl_crypt.cc | |
xboxkrnl_debug.cc | |
xboxkrnl_error.cc | |
xboxkrnl_hal.cc | |
xboxkrnl_hid.cc | |
xboxkrnl_io.cc | |
xboxkrnl_io_info.cc | |
xboxkrnl_memory.cc | |
xboxkrnl_misc.cc | |
xboxkrnl_module.cc | |
xboxkrnl_modules.cc | |
xboxkrnl_ob.cc | |
xboxkrnl_rtl.cc | |
xboxkrnl_strings.cc | |
xboxkrnl_threading.cc | |
xboxkrnl_usbcam.cc | |
xboxkrnl_video.cc | |
xboxkrnl_xconfig.cc | |
xdbf_utils.cc | |
In file included from ../src/xenia/kernel/xboxkrnl/xboxkrnl_strings.cc:11: | |
In file included from /nix/store/1dllm1mvwn61lwk3a47c9ans6b5qa9q5-libc++-9.0.1/include/c++/v1/iomanip:47: | |
In file included from /nix/store/1dllm1mvwn61lwk3a47c9ans6b5qa9q5-libc++-9.0.1/include/c++/v1/istream:163: | |
In file included from /nix/store/1dllm1mvwn61lwk3a47c9ans6b5qa9q5-libc++-9.0.1/include/c++/v1/ostream:138: | |
/nix/store/1dllm1mvwn61lwk3a47c9ans6b5qa9q5-libc++-9.0.1/include/c++/v1/ios:777:50: error: implicit instantiation of undefined template 'std::__1::ctype<char16_t>' | |
return use_facet<ctype<char_type> >(getloc()).widen(__c); | |
^ | |
/nix/store/1dllm1mvwn61lwk3a47c9ans6b5qa9q5-libc++-9.0.1/include/c++/v1/ios:786:19: note: in instantiation of member function 'std::__1::basic_ios<char16_t, std::__1::char_traits<char16_t> >::widen' requested here | |
__fill_ = widen(' '); | |
^ | |
/nix/store/1dllm1mvwn61lwk3a47c9ans6b5qa9q5-libc++-9.0.1/include/c++/v1/ostream:737:39: note: in instantiation of member function 'std::__1::basic_ios<char16_t, std::__1::char_traits<char16_t> >::fill' requested here | |
__os.fill()).failed()) | |
^ | |
/nix/store/1dllm1mvwn61lwk3a47c9ans6b5qa9q5-libc++-9.0.1/include/c++/v1/ostream:755:19: note: in instantiation of function template specialization 'std::__1::__put_character_sequence<char16_t, std::__1::char_traits<char16_t> >' requested here | |
return _VSTD::__put_character_sequence(__os, &__c, 1); | |
^ | |
../src/xenia/kernel/xboxkrnl/xboxkrnl_strings.cc:771:13: note: in instantiation of function template specialization 'std::__1::operator<<<char16_t, std::__1::char_traits<char16_t> >' requested here | |
output_ << (char16_t)c; | |
^ | |
/nix/store/1dllm1mvwn61lwk3a47c9ans6b5qa9q5-libc++-9.0.1/include/c++/v1/__locale:507:52: note: template is declared here | |
template <class _CharT> class _LIBCPP_TEMPLATE_VIS ctype; | |
^ | |
/nix/store/1dllm1mvwn61lwk3a47c9ans6b5qa9q5-libc++-9.0.1/include/c++/v1/__locale:250:54: error: implicit instantiation of undefined template 'std::__1::ctype<char16_t>' | |
return static_cast<const _Facet&>(*__l.use_facet(_Facet::id)); | |
^ | |
/nix/store/1dllm1mvwn61lwk3a47c9ans6b5qa9q5-libc++-9.0.1/include/c++/v1/ios:777:12: note: in instantiation of function template specialization 'std::__1::use_facet<std::__1::ctype<char16_t> >' requested here | |
return use_facet<ctype<char_type> >(getloc()).widen(__c); | |
^ | |
/nix/store/1dllm1mvwn61lwk3a47c9ans6b5qa9q5-libc++-9.0.1/include/c++/v1/ios:786:19: note: in instantiation of member function 'std::__1::basic_ios<char16_t, std::__1::char_traits<char16_t> >::widen' requested here | |
__fill_ = widen(' '); | |
^ | |
/nix/store/1dllm1mvwn61lwk3a47c9ans6b5qa9q5-libc++-9.0.1/include/c++/v1/ostream:737:39: note: in instantiation of member function 'std::__1::basic_ios<char16_t, std::__1::char_traits<char16_t> >::fill' requested here | |
__os.fill()).failed()) | |
^ | |
/nix/store/1dllm1mvwn61lwk3a47c9ans6b5qa9q5-libc++-9.0.1/include/c++/v1/ostream:755:19: note: in instantiation of function template specialization 'std::__1::__put_character_sequence<char16_t, std::__1::char_traits<char16_t> >' requested here | |
return _VSTD::__put_character_sequence(__os, &__c, 1); | |
^ | |
../src/xenia/kernel/xboxkrnl/xboxkrnl_strings.cc:771:13: note: in instantiation of function template specialization 'std::__1::operator<<<char16_t, std::__1::char_traits<char16_t> >' requested here | |
output_ << (char16_t)c; | |
^ | |
/nix/store/1dllm1mvwn61lwk3a47c9ans6b5qa9q5-libc++-9.0.1/include/c++/v1/__locale:507:52: note: template is declared here | |
template <class _CharT> class _LIBCPP_TEMPLATE_VIS ctype; | |
^ | |
2 errors generated. | |
make[1]: *** [xenia-kernel.make:471: obj/Linux/Release/Linux/Release/xenia-kernel/xboxkrnl_strings.o] Error 1 | |
make[1]: *** Waiting for unfinished jobs.... | |
make: *** [Makefile:395: xenia-kernel] Error 2 | |
make: Leaving directory '/build/source/build' | |
ERROR: build failed with one or more errors. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment