20.0.7: mesa still is not ready to gcc 10 default settings
gcc 10.x by default is using -fno-common
.
Looks like current mesa code still is not corrected for gcc 10 to be able use gcc 10 without passing in CFLAGS fcommon
'
[tkloczko@barrel mesa-20.0.7]$ /usr/bin/ninja -k 0 -v -j48 -C x86_64-redhat-linux-gnu
ninja: Entering directory `x86_64-redhat-linux-gnu'
[1/35] /usr/bin/python3 ../bin/git_sha1_gen.py --output src/git_sha1.h
[2/2] g++ -o src/gallium/targets/omx/libomx_mesa.so 'src/gallium/targets/omx/66b890d@@omx_mesa@sha/target.c.o' -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,libomx_mesa.so -Wl,--whole-archive src/gallium/state_trackers/omx/libomx_st.a -Wl,--no-whole-archive -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin src/gallium/auxiliary/libgalliumvlwinsys.a src/gallium/auxiliary/libgalliumvl.a src/gallium/auxiliary/libgallium.a src/compiler/nir/libnir.a src/compiler/libcompiler.a src/util/libmesa_util.a src/util/format/libmesa_format.a src/gallium/auxiliary/pipe-loader/libpipe_loader_static.a src/loader/libloader.a src/util/libxmlconfig.a src/gallium/winsys/sw/null/libws_null.a src/gallium/winsys/sw/wrapper/libwsw.a src/gallium/winsys/sw/dri/libswdri.a src/gallium/winsys/sw/kms-dri/libswkmsdri.a src/gallium/drivers/r600/libr600.a src/gallium/winsys/radeon/drm/libradeonwinsys.a src/gallium/drivers/radeonsi/libradeonsi.a src/gallium/winsys/amdgpu/drm/libamdgpuwinsys.a src/amd/addrlib/libaddrlib.a src/amd/common/libamd_common.a src/amd/llvm/libamd_common_llvm.a src/gallium/winsys/nouveau/drm/libnouveauwinsys.a src/gallium/drivers/nouveau/libnouveau.a -Wl,--version-script /home/tkloczko/rpmbuild/BUILD/mesa-20.0.7/src/gallium/targets/omx/omx.sym -Wl,--gc-sections /usr/lib64/libz.so -pthread -lm /usr/lib64/libdrm.so /usr/lib64/libxcb-sync.so /usr/lib64/libxcb-present.so /usr/lib64/libxshmfence.so /usr/lib64/libxcb-xfixes.so /usr/lib64/libxcb-dri3.so -lLLVM-10 /usr/lib64/libunwind.so -ldl -lsensors /usr/lib64/libzstd.so /usr/lib64/libexpat.so /usr/lib64/libdrm_radeon.so /usr/lib64/libelf.so -lLLVM-10 -lLLVM-10 -lLLVM-10 /usr/lib64/libdrm_amdgpu.so -lLLVM-10 /usr/lib64/libdrm_nouveau.so /usr/lib64/libomxil-bellagio.so /usr/lib64/libX11-xcb.so /usr/lib64/libX11.so /usr/lib64/libxcb.so /usr/lib64/libxcb-dri2.so -Wl,--end-group '-Wl,-rpath,$ORIGIN/../../auxiliary:$ORIGIN/../../../compiler/nir:$ORIGIN/../../../compiler:$ORIGIN/../../../util:$ORIGIN/../../../util/format:$ORIGIN/../../auxiliary/pipe-loader:$ORIGIN/../../../loader:$ORIGIN/../../winsys/sw/null:$ORIGIN/../../winsys/sw/wrapper:$ORIGIN/../../winsys/sw/dri:$ORIGIN/../../winsys/sw/kms-dri:$ORIGIN/../../drivers/r600:$ORIGIN/../../winsys/radeon/drm:$ORIGIN/../../drivers/radeonsi:$ORIGIN/../../winsys/amdgpu/drm:$ORIGIN/../../../amd/addrlib:$ORIGIN/../../../amd/common:$ORIGIN/../../../amd/llvm:$ORIGIN/../../winsys/nouveau/drm:$ORIGIN/../../drivers/nouveau' -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/mesa-20.0.7/x86_64-redhat-linux-gnu/src/gallium/auxiliary -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/mesa-20.0.7/x86_64-redhat-linux-gnu/src/compiler/nir -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/mesa-20.0.7/x86_64-redhat-linux-gnu/src/compiler -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/mesa-20.0.7/x86_64-redhat-linux-gnu/src/util -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/mesa-20.0.7/x86_64-redhat-linux-gnu/src/util/format -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/mesa-20.0.7/x86_64-redhat-linux-gnu/src/gallium/auxiliary/pipe-loader -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/mesa-20.0.7/x86_64-redhat-linux-gnu/src/loader -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/mesa-20.0.7/x86_64-redhat-linux-gnu/src/gallium/winsys/sw/null -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/mesa-20.0.7/x86_64-redhat-linux-gnu/src/gallium/winsys/sw/wrapper -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/mesa-20.0.7/x86_64-redhat-linux-gnu/src/gallium/winsys/sw/dri -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/mesa-20.0.7/x86_64-redhat-linux-gnu/src/gallium/winsys/sw/kms-dri -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/mesa-20.0.7/x86_64-redhat-linux-gnu/src/gallium/drivers/r600 -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/mesa-20.0.7/x86_64-redhat-linux-gnu/src/gallium/winsys/radeon/drm -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/mesa-20.0.7/x86_64-redhat-linux-gnu/src/gallium/drivers/radeonsi -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/mesa-20.0.7/x86_64-redhat-linux-gnu/src/gallium/winsys/amdgpu/drm -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/mesa-20.0.7/x86_64-redhat-linux-gnu/src/amd/addrlib -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/mesa-20.0.7/x86_64-redhat-linux-gnu/src/amd/common -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/mesa-20.0.7/x86_64-redhat-linux-gnu/src/amd/llvm -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/mesa-20.0.7/x86_64-redhat-linux-gnu/src/gallium/winsys/nouveau/drm -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/mesa-20.0.7/x86_64-redhat-linux-gnu/src/gallium/drivers/nouveau
FAILED: src/gallium/targets/omx/libomx_mesa.so
g++ -o src/gallium/targets/omx/libomx_mesa.so 'src/gallium/targets/omx/66b890d@@omx_mesa@sha/target.c.o' -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,libomx_mesa.so -Wl,--whole-archive src/gallium/state_trackers/omx/libomx_st.a -Wl,--no-whole-archive -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin src/gallium/auxiliary/libgalliumvlwinsys.a src/gallium/auxiliary/libgalliumvl.a src/gallium/auxiliary/libgallium.a src/compiler/nir/libnir.a src/compiler/libcompiler.a src/util/libmesa_util.a src/util/format/libmesa_format.a src/gallium/auxiliary/pipe-loader/libpipe_loader_static.a src/loader/libloader.a src/util/libxmlconfig.a src/gallium/winsys/sw/null/libws_null.a src/gallium/winsys/sw/wrapper/libwsw.a src/gallium/winsys/sw/dri/libswdri.a src/gallium/winsys/sw/kms-dri/libswkmsdri.a src/gallium/drivers/r600/libr600.a src/gallium/winsys/radeon/drm/libradeonwinsys.a src/gallium/drivers/radeonsi/libradeonsi.a src/gallium/winsys/amdgpu/drm/libamdgpuwinsys.a src/amd/addrlib/libaddrlib.a src/amd/common/libamd_common.a src/amd/llvm/libamd_common_llvm.a src/gallium/winsys/nouveau/drm/libnouveauwinsys.a src/gallium/drivers/nouveau/libnouveau.a -Wl,--version-script /home/tkloczko/rpmbuild/BUILD/mesa-20.0.7/src/gallium/targets/omx/omx.sym -Wl,--gc-sections /usr/lib64/libz.so -pthread -lm /usr/lib64/libdrm.so /usr/lib64/libxcb-sync.so /usr/lib64/libxcb-present.so /usr/lib64/libxshmfence.so /usr/lib64/libxcb-xfixes.so /usr/lib64/libxcb-dri3.so -lLLVM-10 /usr/lib64/libunwind.so -ldl -lsensors /usr/lib64/libzstd.so /usr/lib64/libexpat.so /usr/lib64/libdrm_radeon.so /usr/lib64/libelf.so -lLLVM-10 -lLLVM-10 -lLLVM-10 /usr/lib64/libdrm_amdgpu.so -lLLVM-10 /usr/lib64/libdrm_nouveau.so /usr/lib64/libomxil-bellagio.so /usr/lib64/libX11-xcb.so /usr/lib64/libX11.so /usr/lib64/libxcb.so /usr/lib64/libxcb-dri2.so -Wl,--end-group '-Wl,-rpath,$ORIGIN/../../auxiliary:$ORIGIN/../../../compiler/nir:$ORIGIN/../../../compiler:$ORIGIN/../../../util:$ORIGIN/../../../util/format:$ORIGIN/../../auxiliary/pipe-loader:$ORIGIN/../../../loader:$ORIGIN/../../winsys/sw/null:$ORIGIN/../../winsys/sw/wrapper:$ORIGIN/../../winsys/sw/dri:$ORIGIN/../../winsys/sw/kms-dri:$ORIGIN/../../drivers/r600:$ORIGIN/../../winsys/radeon/drm:$ORIGIN/../../drivers/radeonsi:$ORIGIN/../../winsys/amdgpu/drm:$ORIGIN/../../../amd/addrlib:$ORIGIN/../../../amd/common:$ORIGIN/../../../amd/llvm:$ORIGIN/../../winsys/nouveau/drm:$ORIGIN/../../drivers/nouveau' -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/mesa-20.0.7/x86_64-redhat-linux-gnu/src/gallium/auxiliary -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/mesa-20.0.7/x86_64-redhat-linux-gnu/src/compiler/nir -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/mesa-20.0.7/x86_64-redhat-linux-gnu/src/compiler -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/mesa-20.0.7/x86_64-redhat-linux-gnu/src/util -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/mesa-20.0.7/x86_64-redhat-linux-gnu/src/util/format -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/mesa-20.0.7/x86_64-redhat-linux-gnu/src/gallium/auxiliary/pipe-loader -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/mesa-20.0.7/x86_64-redhat-linux-gnu/src/loader -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/mesa-20.0.7/x86_64-redhat-linux-gnu/src/gallium/winsys/sw/null -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/mesa-20.0.7/x86_64-redhat-linux-gnu/src/gallium/winsys/sw/wrapper -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/mesa-20.0.7/x86_64-redhat-linux-gnu/src/gallium/winsys/sw/dri -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/mesa-20.0.7/x86_64-redhat-linux-gnu/src/gallium/winsys/sw/kms-dri -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/mesa-20.0.7/x86_64-redhat-linux-gnu/src/gallium/drivers/r600 -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/mesa-20.0.7/x86_64-redhat-linux-gnu/src/gallium/winsys/radeon/drm -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/mesa-20.0.7/x86_64-redhat-linux-gnu/src/gallium/drivers/radeonsi -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/mesa-20.0.7/x86_64-redhat-linux-gnu/src/gallium/winsys/amdgpu/drm -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/mesa-20.0.7/x86_64-redhat-linux-gnu/src/amd/addrlib -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/mesa-20.0.7/x86_64-redhat-linux-gnu/src/amd/common -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/mesa-20.0.7/x86_64-redhat-linux-gnu/src/amd/llvm -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/mesa-20.0.7/x86_64-redhat-linux-gnu/src/gallium/winsys/nouveau/drm -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/mesa-20.0.7/x86_64-redhat-linux-gnu/src/gallium/drivers/nouveau
/usr/bin/ld: vid_dec_h264_common.c.o (symbol from plugin): in function `vid_dec_h264_Flush':
(.text+0x0): multiple definition of `globalWaitingComponentList'; vid_dec_common.c.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: vid_dec_h264_common.c.o (symbol from plugin): in function `vid_dec_h264_Flush':
(.text+0x0): multiple definition of `globalComponentList'; vid_dec_common.c.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: vid_dec_h264_common.c.o (symbol from plugin): in function `vid_dec_h264_Flush':
(.text+0x0): multiple definition of `listOfcomponentRegistered'; vid_dec_common.c.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: vid_dec_h264_common.c.o (symbol from plugin): in function `vid_dec_h264_Flush':
(.text+0x0): multiple definition of `globalIndex'; vid_dec_common.c.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: vid_enc_common.c.o (symbol from plugin): in function `enc_ReleaseTasks':
(.text+0x0): multiple definition of `globalWaitingComponentList'; vid_dec_common.c.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: vid_enc_common.c.o (symbol from plugin): in function `enc_ReleaseTasks':
(.text+0x0): multiple definition of `globalComponentList'; vid_dec_common.c.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: vid_enc_common.c.o (symbol from plugin): in function `enc_ReleaseTasks':
(.text+0x0): multiple definition of `listOfcomponentRegistered'; vid_dec_common.c.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: vid_enc_common.c.o (symbol from plugin): in function `enc_ReleaseTasks':
(.text+0x0): multiple definition of `globalIndex'; vid_dec_common.c.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: bellagio_entrypoint.c.o (symbol from plugin): in function `omx_component_library_Setup':
(.text+0x0): multiple definition of `globalWaitingComponentList'; vid_dec_common.c.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: bellagio_entrypoint.c.o (symbol from plugin): in function `omx_component_library_Setup':
(.text+0x0): multiple definition of `globalComponentList'; vid_dec_common.c.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: bellagio_entrypoint.c.o (symbol from plugin): in function `omx_component_library_Setup':
(.text+0x0): multiple definition of `listOfcomponentRegistered'; vid_dec_common.c.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: bellagio_entrypoint.c.o (symbol from plugin): in function `omx_component_library_Setup':
(.text+0x0): multiple definition of `globalIndex'; vid_dec_common.c.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: bellagio_vid_dec.c.o (symbol from plugin): in function `vid_dec_LoaderComponent':
(.text+0x0): multiple definition of `globalWaitingComponentList'; vid_dec_common.c.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: bellagio_vid_dec.c.o (symbol from plugin): in function `vid_dec_LoaderComponent':
(.text+0x0): multiple definition of `globalComponentList'; vid_dec_common.c.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: bellagio_vid_dec.c.o (symbol from plugin): in function `vid_dec_LoaderComponent':
(.text+0x0): multiple definition of `listOfcomponentRegistered'; vid_dec_common.c.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: bellagio_vid_dec.c.o (symbol from plugin): in function `vid_dec_LoaderComponent':
(.text+0x0): multiple definition of `globalIndex'; vid_dec_common.c.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: bellagio_vid_dec_mpeg12.c.o (symbol from plugin): in function `vid_dec_mpeg12_Init':
(.text+0x0): multiple definition of `globalWaitingComponentList'; vid_dec_common.c.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: bellagio_vid_dec_mpeg12.c.o (symbol from plugin): in function `vid_dec_mpeg12_Init':
(.text+0x0): multiple definition of `globalComponentList'; vid_dec_common.c.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: bellagio_vid_dec_mpeg12.c.o (symbol from plugin): in function `vid_dec_mpeg12_Init':
(.text+0x0): multiple definition of `listOfcomponentRegistered'; vid_dec_common.c.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: bellagio_vid_dec_mpeg12.c.o (symbol from plugin): in function `vid_dec_mpeg12_Init':
(.text+0x0): multiple definition of `globalIndex'; vid_dec_common.c.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: bellagio_vid_dec_h264.c.o (symbol from plugin): in function `vid_dec_h264_Init':
(.text+0x0): multiple definition of `globalWaitingComponentList'; vid_dec_common.c.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: bellagio_vid_dec_h264.c.o (symbol from plugin): in function `vid_dec_h264_Init':
(.text+0x0): multiple definition of `globalComponentList'; vid_dec_common.c.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: bellagio_vid_dec_h264.c.o (symbol from plugin): in function `vid_dec_h264_Init':
(.text+0x0): multiple definition of `listOfcomponentRegistered'; vid_dec_common.c.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: bellagio_vid_dec_h264.c.o (symbol from plugin): in function `vid_dec_h264_Init':
(.text+0x0): multiple definition of `globalIndex'; vid_dec_common.c.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: bellagio_vid_dec_h265.c.o (symbol from plugin): in function `vid_dec_h265_Init':
(.text+0x0): multiple definition of `globalWaitingComponentList'; vid_dec_common.c.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: bellagio_vid_dec_h265.c.o (symbol from plugin): in function `vid_dec_h265_Init':
(.text+0x0): multiple definition of `globalComponentList'; vid_dec_common.c.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: bellagio_vid_dec_h265.c.o (symbol from plugin): in function `vid_dec_h265_Init':
(.text+0x0): multiple definition of `listOfcomponentRegistered'; vid_dec_common.c.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: bellagio_vid_dec_h265.c.o (symbol from plugin): in function `vid_dec_h265_Init':
(.text+0x0): multiple definition of `globalIndex'; vid_dec_common.c.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: bellagio_vid_enc.c.o (symbol from plugin): in function `vid_enc_LoaderComponent':
(.text+0x0): multiple definition of `globalWaitingComponentList'; vid_dec_common.c.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: bellagio_vid_enc.c.o (symbol from plugin): in function `vid_enc_LoaderComponent':
(.text+0x0): multiple definition of `globalComponentList'; vid_dec_common.c.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: bellagio_vid_enc.c.o (symbol from plugin): in function `vid_enc_LoaderComponent':
(.text+0x0): multiple definition of `listOfcomponentRegistered'; vid_dec_common.c.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: bellagio_vid_enc.c.o (symbol from plugin): in function `vid_enc_LoaderComponent':
(.text+0x0): multiple definition of `globalIndex'; vid_dec_common.c.o (symbol from plugin):(.text+0x0): first defined here
../src/amd/addrlib/src/chip/gfx9/gfx9_gb_reg.h:49:12: warning: type ‘struct <anon>’ violates the C++ One Definition Rule [-Wodr]
49 | struct {
| ^
../src/amd/addrlib/src/chip/gfx10/gfx10_gb_reg.h:51:5: note: a different type is defined in another translation unit
51 | {
| ^
../src/amd/addrlib/src/chip/gfx9/gfx9_gb_reg.h:54:33: note: the first difference of corresponding definitions is field ‘BANK_INTERLEAVE_SIZE’
54 | unsigned int BANK_INTERLEAVE_SIZE : 3;
| ^
../src/amd/addrlib/src/chip/gfx10/gfx10_gb_reg.h:56:44: note: a field with different name is defined in another translation unit
56 | unsigned int NUM_PKRS : 3;
| ^
../src/amd/addrlib/src/chip/gfx9/gfx9_gb_reg.h:48:7: warning: type ‘union GB_ADDR_CONFIG’ violates the C++ One Definition Rule [-Wodr]
48 | union GB_ADDR_CONFIG {
| ^
../src/amd/addrlib/src/chip/gfx10/gfx10_gb_reg.h:48:7: note: a different type is defined in another translation unit
48 | union GB_ADDR_CONFIG
| ^
../src/amd/addrlib/src/chip/gfx9/gfx9_gb_reg.h:83:7: note: the first difference of corresponding definitions is field ‘bitfields’
83 | } bitfields, bits;
| ^
../src/amd/addrlib/src/chip/gfx10/gfx10_gb_reg.h:65:7: note: a field of same name but different type is defined in another translation unit
65 | } bitfields, bits;
| ^
../src/amd/addrlib/src/chip/gfx9/gfx9_gb_reg.h:49:12: note: type ‘struct <anon>’ itself violates the C++ One Definition Rule
49 | struct {
| ^
../src/amd/addrlib/src/chip/gfx10/gfx10_gb_reg.h:51:5: note: the incompatible type is defined here
51 | {
| ^
../src/gallium/drivers/nouveau/codegen/nv50_ir_target_nv50.cpp:69:8: warning: type ‘struct opProperties’ violates the C++ One Definition Rule [-Wodr]
69 | struct opProperties
| ^
../src/gallium/drivers/nouveau/codegen/nv50_ir_target_nvc0.cpp:88:8: note: a different type is defined in another translation unit
88 | struct opProperties
| ^
../src/gallium/drivers/nouveau/codegen/nv50_ir_target_nv50.cpp:77:17: note: the first difference of corresponding definitions is field ‘fShared’
77 | unsigned int fShared : 3;
| ^
../src/gallium/drivers/nouveau/codegen/nv50_ir_target_nvc0.cpp:96:17: note: a field with different name is defined in another translation unit
96 | unsigned int fImmd : 4; // last bit indicates if full immediate is suppoted
| ^
collect2: error: ld returned 1 exit status