Skip to content
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

Hyperion fix build, update protobuf, bump version #950

Merged
merged 3 commits into from Nov 19, 2016

Conversation

@lrusak
Copy link
Member

lrusak commented Nov 18, 2016

This was a bit of pain to solve, seems there is some bug in gcc6/cmake where the ordering of includes is messed up when using -isystem

/home/lukas/libreelec/build.LibreELEC-Generic.x86_64-8.0-devel/toolchain/x86_64-libreelec-linux-gnu/include/c++/6.2.0/cstdlib:75:25: fatal error: stdlib.h: No such file or directory
 #include_next <stdlib.h>

maybe someone can make sense of it by looking at the build

/home/lukas/libreelec/build.LibreELEC-Generic.x86_64-8.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-g++   -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -I/home/lukas/libreelec/build.LibreELEC-Generic.x86_64-8.0-devel/hyperion-355a324/.x86_64-libreelec-linux-gnu -I/home/lukas/libreelec/build.LibreELEC-Generic.x86_64-8.0-devel/hyperion-355a324/dependencies/include -I/home/lukas/libreelec/build.LibreELEC-Generic.x86_64-8.0-devel/hyperion-355a324/include -isystem /home/lukas/libreelec/build.LibreELEC-Generic.x86_64-8.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include -isystem /home/lukas/libreelec/build.LibreELEC-Generic.x86_64-8.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/QtWidgets -isystem /home/lukas/libreelec/build.LibreELEC-Generic.x86_64-8.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/QtGui -isystem /home/lukas/libreelec/build.LibreELEC-Generic.x86_64-8.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/QtCore -isystem /home/lukas/libreelec/build.LibreELEC-Generic.x86_64-8.0-devel/toolchain/mkspecs/devices/linux-libreelec-g++  -march=x86-64 -m64 -fomit-frame-pointer -Wall -pipe -Os -flto -ffat-lto-objects -mmmx -msse -msse2 -mfpmath=sse  -std=c++0x -Wall     -Os -DNDEBUG   -fPIC -o CMakeFiles/hyperion-utils.dir/ImageResampler.cpp.o -c /home/lukas/libreelec/build.LibreELEC-Generic.x86_64-8.0-devel/hyperion-355a324/libsrc/utils/ImageResampler.cpp

Anyway, it is fixed with CMAKE_NO_SYSTEM_FROM_IMPORTED=ON

reference:
https://bugs.webkit.org/show_bug.cgi?id=161697
https://cmake.org/cmake/help/v3.6/prop_tgt/NO_SYSTEM_FROM_IMPORTED.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129

lrusak added 3 commits Nov 10, 2016
@chewitt chewitt merged commit 37853a9 into LibreELEC:master Nov 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.