-
Notifications
You must be signed in to change notification settings - Fork 0
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
gcc 编译器问题 internal compiler error: in output_constructor_regular_field, at varasm.c:5512 #12
Comments
preprocessed_cpp.zip |
qtcore 也有类似的问题,预处理的 qtextcodec_preprocessed.cpp放附件了 |
咨询了一下,等待一下gcc的新代码。 |
loongarch-12分支有点滞后,我们近期会rebase到最新代码,在次期间,可以先用https://github.com/loongson/gcc/tree/loongarch_upstream_v4.1 |
另外,gcc也开了issues,可以直接报到那边去,这个一直没注意到。 |
感觉可能和这个问题有关 |
奇怪了,我怎么复现不料,编译参数不一致?麻烦在编译出错文件时加-v -save-temps >outpout.txt 2>&1,把出错的预处理后文件*.ii/*.i和output.txt 文件提供一下。另外把gcc -v的输出也提供一下。 |
|
upstream_v5.2的输出
|
跟这个应该没有关系,他修复的是浮点参数 ABI 实现的问题,而我在 loongson/gcc#77 贴的那个例子完全不涉及浮点,并且 gcc 正常工作应该也不会用到浮点 |
确认了,这个修改打到 LoongArch 的相应代码上,解决不了这个问题 |
有谁试过V6的更新有解决这个问题了吗? |
试了,没有解决 |
昨晚发现stage1工作的原因是没开优化,也就是确定问题出在LoongArch machine description个别只有开优化才生效的pattern上 |
问题已经定位,正在解决。 |
github.com/loongson/gcc 的loongarch-12分支
编译 poppler时,会出错
使用clfs原生工具链,也类似
使用clfs cross工具链,则无问题
llvm 则基本一致
使用loongarch工具链有问题,clfs la原生工具链有问题
使用gcc 11 x86编译无问题,clfs cross工具链无问题
使用loongarch源码编译的 x86_64 g++则有同样问题
gcc bugzilla有类似报告,不过看起来不像是同一个问题
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102434
The text was updated successfully, but these errors were encountered: