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

toolchain/gcc: switch to version 12 by default and fix compile error #10825

Closed
wants to merge 3 commits into from

Conversation

misaka36
Copy link
Contributor

@misaka36 misaka36 commented Jan 28, 2023

Q:你知道这是pull request吗?(使用 "x" 选择)

  • 我知道

rtl8812au-ct/patches/100-api_update.patch是给新版mac80211用的,所以删除

Fixes: #10809 , #10819

@misaka36 misaka36 marked this pull request as draft January 29, 2023 01:08
@misaka36 misaka36 force-pushed the fix-gcc branch 2 times, most recently from 06a4007 to 417126b Compare January 31, 2023 10:34
@WYC-2020
Copy link
Contributor

WYC-2020 commented Feb 1, 2023

是否考虑过用GCC_MAJOR_VERSION 这个宏,你那个宏顶死了gcc12 版本要是升级了是不是有的更新你那几个库,用这个宏只要在12就行

@misaka36
Copy link
Contributor Author

misaka36 commented Feb 1, 2023

@WYC-2020
Copy link
Contributor

WYC-2020 commented Feb 1, 2023

@WYC-2020 lovehackintosh@adf09e2792 lovehackintosh@78298f01e1 lovehackintosh@1b27fd5e03 试过了,报错

晚点我试下看看

@WYC-2020
Copy link
Contributor

WYC-2020 commented Feb 1, 2023

image
image
如此修复,其他类似

@misaka36
Copy link
Contributor Author

misaka36 commented Feb 2, 2023

@WYC-2020 已修复,谢谢

@misaka36 misaka36 marked this pull request as ready for review February 2, 2023 08:18
@coolsnowwolf
Copy link
Owner

可以合并,但经过测试 GCC12 在 ARM64 上面存在严重的性能倒退问题 ( Rockchip 系列测试),建议继续保留 GCC11 为默认

@misaka36
Copy link
Contributor Author

misaka36 commented Feb 4, 2023

这样如何?

@WYC-2020
Copy link
Contributor

WYC-2020 commented Feb 4, 2023

哈哈,还好我只玩x86的

@coolsnowwolf
Copy link
Owner

需要更多的测试观察 GCC12 的变化

@misaka36 misaka36 mentioned this pull request Feb 11, 2023
1 task
@WYC-2020
Copy link
Contributor

WYC-2020 commented May 6, 2023

可以上车gcc13.1了,不过有几个库需要修复才能上哈哈

@misaka36
Copy link
Contributor Author

misaka36 commented May 6, 2023

收到,抽时间搞一下玩玩

@WYC-2020
Copy link
Contributor

WYC-2020 commented May 6, 2023

收到,抽时间搞一下玩玩

已经玩起来了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

请大神帮忙看看 编译报错error 1 2 77
3 participants