-
Notifications
You must be signed in to change notification settings - Fork 19.4k
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
nginx 编译失败 #12138
Comments
又是你 |
对,又是我 |
哈哈 我不是给了方案了 么 我这边正常 |
改成ifeq就过了,我的是gcc 13.... |
#10825 (comment) 自己看这个图一这些修改是否有,如果有 看下 |
|
|
|
OpenWrt 上,gcc 8、9、10、11、12、13、14、15 都能正常编译,只有 nginx-util 在 gcc 13 开始,需要打个补丁 我现在用的 gcc-15.0.0 编译,nginx 很正常,没有编译 uhttpd,完全由 nginx 取代,还支持 nginx quic |
详细叙述
如标题
重复 issue
具体型号
x86
详细日志
/home/builder/lede_x86/build_dir/target-x86_64_musl/nginx-util-1.6/ubus-cxx.hpp: In instantiation of 'auto ubus::message::filter(Strings ...) [with Strings = {const char*}]':
/home/builder/lede_x86/build_dir/target-x86_64_musl/nginx-util-1.6/nginx-ssl-util.hpp:108:63: required from here
/home/builder/lede_x86/build_dir/target-x86_64_musl/nginx-util-1.6/ubus-cxx.hpp:162:55: error: moving a temporary object prevents copy elision [-Werror=pessimizing-move]
162 | return std::move(message{msg, std::move(both)});
| ^
/home/builder/lede_x86/build_dir/target-x86_64_musl/nginx-util-1.6/ubus-cxx.hpp:162:55: note: remove 'std::move' call
/home/builder/lede_x86/build_dir/target-x86_64_musl/nginx-util-1.6/ubus-cxx.hpp: In instantiation of 'auto ubus::message::filter(Strings ...) [with Strings = {const char*, const char*, const char*}]':
/home/builder/lede_x86/build_dir/target-x86_64_musl/nginx-util-1.6/nginx-util.cpp:27:53: required from here
/home/builder/lede_x86/build_dir/target-x86_64_musl/nginx-util-1.6/ubus-cxx.hpp:162:55: error: moving a temporary object prevents copy elision [-Werror=pessimizing-move]
/home/builder/lede_x86/build_dir/target-x86_64_musl/nginx-util-1.6/ubus-cxx.hpp:162:55: note: remove 'std::move' call
/home/builder/lede_x86/build_dir/target-x86_64_musl/nginx-util-1.6/ubus-cxx.hpp: In instantiation of 'auto ubus::message::filter(Strings ...) [with Strings = {const char*, const char*, const char*, const char*}]':
/home/builder/lede_x86/build_dir/target-x86_64_musl/nginx-util-1.6/nginx-util.cpp:50:31: required from here
/home/builder/lede_x86/build_dir/target-x86_64_musl/nginx-util-1.6/ubus-cxx.hpp:162:55: error: moving a temporary object prevents copy elision [-Werror=pessimizing-move]
/home/builder/lede_x86/build_dir/target-x86_64_musl/nginx-util-1.6/ubus-cxx.hpp:162:55: note: remove 'std::move' call
cc1plus: all warnings being treated as errors
ninja: build stopped: subcommand failed.
make[3]: *** [Makefile:132: /home/builder/lede_x86/build_dir/target-x86_64_musl/nginx-util-1.6/.built] Error 1
make[3]: Leaving directory '/home/builder/lede_x86/feeds/packages/net/nginx-util'
time: package/feeds/packages/nginx-util/compile#2.14#0.39#2.45
ERROR: package/feeds/packages/nginx-util failed to build.
make[2]: *** [package/Makefile:116: package/feeds/packages/nginx-util/compile] Error 1
make[2]: Leaving directory '/home/builder/lede_x86'
make[1]: *** [package/Makefile:110: /home/builder/lede_x86/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/builder/lede_x86'
The text was updated successfully, but these errors were encountered: