New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error creating examples (C++) #4419
Comments
Hey, I think I have seen that error before in a build when compiling with gcc 8. Which compiler are you using? |
From your other issue you seem to be using gcc-8. Could you try compiling with gcc-7 or lower? I am not sure what causes this issue though.. |
I saw this error before with an outdated build folder. If you start form scratch, it still happens? |
@gf712, I am indeed using gcc8 gcc -v
Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enableConfigured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp --enable-cet=auto Thread model: posix
gcc version 8.2.1 20180831 (GCC) I will test with a lower version. @karlnapf, unfortunately I have replicated this on 2 machines (one shown here and the other described in #4420) with clean builds (deleting the whole folder) |
We would have to dig a bit to replicate this error. I remember seeing it on some of our builds, but I dont know how or whether it was resolved. I think @vigsterkr might know more |
Please see #4506 and let me know what you think. |
@HaoZeke can you confirm? |
@avramidis awesome! :) |
Yup this is now fixed! Thanks @karlnapf and @avramidis! |
Bug Report
Description
I am not able to build shogun with the examples. Without the examples it builds alright.
Configuration
Error
System Details
Architecture and OS
Shogun
Git version at:
Eigen
Strangely I already have
eigen
installed as well...The text was updated successfully, but these errors were encountered: