When the host is Ubuntu 14.04, qtwebengine build will fail. This problem is because the build of qtwebengine does not use native-gcc, but uses host-gcc.
*The gcc version of Ubuntu 14.04 is 4.8.x.
FAILED: protoc |
g++ Wl,-O1 -Wl,hash-style=gnu -Wl,as-needed -fstack-protector-strong -Wl,-z,relro,-z,now -Wl,-z,now -Wl,-z,relro -Wl,-z,defs -pthread -Wl,-z,noexecstack -fPIC -Wl,disable-new-dtags -Wl,-O1 -Wl,as-needed -Wl,gc-sections -Wl,no-as-needed -lpthread -Wl,as-needed -o protoc -Wl,start-group obj.host/src/3rdparty/chromium/third_party/protobuf/src/google/protobuf/compiler/protoc.main.o obj.host/src/3rdparty/chromium/third_party/protobuf/libprotoc_lib.a obj.host/src/3rdparty/chromium/third_party/protobuf/libprotobuf_full_do_not_use.a -Wl,-end-group |
g++: error: unrecognized command line option ‘-fstack-protector-strong’ |