← All tasks
cppbaldurk/renderdoc #906Not a task: not reproduced

32-bit qrenderdoc build failure ("SWIG wrapped code invalid in 32 bit architecture, regenerate code using -DSWIGWORDSIZE32")

envgap__baldurk__renderdoc-906

01 / FAILURE SIGNATURE

As reported upstream

/home/iurt/rpmbuild/BUILD/renderdoc-1.0/build/qrenderdoc/renderdoc_python.cxx:4252:3: error: #error "SWIG wrapped code invalid in 32 bit architecture, regenerate code using -DSWIGWORDSIZE32"
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
ad0678a8868c7fcd82f32ec912eee93c60055a4f
Manifest
qrenderdoc/CMakeLists.txt
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

baldurk/renderdoc #906 · read the original issue
Building renderdoc 1.0 on both Mageia 6 i586 (GCC 5.5.0) and Mageia 7 i586 (GCC 7.3.0) (Linux), I get the following build error:

```

[100%] Building CXX object qrenderdoc/Code/pyrenderdoc/CMakeFiles/_qrenderdoc.dir/__/__/renderdoc_python.cxx.o

cd /home/iurt/rpmbuild/BUILD/renderdoc-1.0/build/qrenderdoc/Code/pyrenderdoc && /usr/bin/c++   -DDISTRIBUTION_CONTACT=\"https://madb.mageia.org/package/show/name/renderdoc\" -DDISTRIBUTION_NAME=\"Mageia\" -DDISTRIBUTION_VERSION=\"1.0-1.mga6\" -DGIT_COMMIT_HASH=\"5ef2d0bb5e86a37ba6c250987e9dc8c33c26435c\" -DRENDERDOC_PLATFORM_LINUX -DRENDERDOC_STABLE_BUILD=1 -DRENDERDOC_SUPPORT_GL -DRENDERDOC_SUPPORT_VULKAN -DRENDERDOC_WINDOWING_XCB -DRENDERDOC_WINDOWING_XLIB -D_qrenderdoc_EXPORTS -I/home/iurt/rpmbuild/BUILD/renderdoc-1.0/qrenderdoc -I/home/iurt/rpmbuild/BUILD/renderdoc-1.0/renderdoc/api/replay -I/usr/include/python3.5m  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -std=c++11 -fstrict-aliasing -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wno-unused-variable -Wno-unused-parameter -Wno-unused-result -Wno-type-limits -Wno-missing-field-initializers -Wno-unknown-pragmas -Wno-reorder -Wno-unused-but-set-variable -Wno-maybe-uninitialized -Werror -Wno-unknown-warning-option -Wno-unused-private-field -DNDEBUG -fPIC   -std=gnu++14 -o CMakeFiles/_qrenderdoc.dir/__/__/renderdoc_python.cxx.o -c /home/iurt/rpmbuild/BUILD/renderdoc-1.0/build/qrenderdoc/renderdoc_python.cxx

/home/iurt/rpmbuild/BUILD/renderdoc-1.0/build/qrenderdoc/renderdoc_python.cxx:4252:3: error: #error "SWIG wrapped code invalid in 32 bit architecture, regenerate code using -DSWIGWORDSIZE32"

 # error "SWIG wrapped code invalid in 32 bit architecture, regenerate code using -DSWIGWORDSIZE32"

   ^

```



Full build log: 

[build.0.20180309093408.log.txt](https://github.com/baldurk/renderdoc/files/1796318/build.0.20180309093408.log.txt)
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]