gcc 内部编译器错误:target_expr

发布于 2024-12-15 07:46:11 字数 815 浏览 2 评论 0原文

好的。我有一个关于 GCC 错误报告的问题。

当我在 Ubuntu 11.04 上使用以下 GCC 和源文件 QTDUR/src/gui/image/qimage.cpp 作为构建过程的一部分编译 Qt 4.7.4 时:

g++ -v 的输出:使用内置规范。

COLLECT_GCC=g++

COLLECT_LTO_WRAPPER=/usr/GCC/svn-build/libexec/gcc/i686-pc-linux-gnu/4.7.0/lto-wrapper

目标:i686-pc-linux-gnu 配置为:../svnsrc/configure --enable-lto --enable-languages=c,c++ --prefix=/usr/GCC/svn-build --enable-gold=default --enable-ld=yes --enable-__cxa-atexit --enable -build-with-cxx --enable-werror --enable-threads 线程模型:posix gcc 版本 4.7.0 20111013(实验) (海湾合作委员会)

我收到以下消息:

内部编译器错误:LTO 不支持树代码 target_expr 溪流。请提交完整的错误报告。

我无法按照错误报告指南的要求提交 *.i 文件,因为问题出在 Qt 编译中,而不是自包含源文件中。另一种选择是创建一个测试用例,但是当我对 GCC 内部了解不够,无法知道问题是什么时,如何创建测试用例呢?

感谢您提供的任何帮助。

Ok. I have a question about GCC bug reporting.

When I'm compiling Qt 4.7.4 on Ubuntu 11.04 using the following GCC with the source file QTDUR/src/gui/image/qimage.cpp as part of the build process:

output of g++ -v: Using built-in specs.

COLLECT_GCC=g++

COLLECT_LTO_WRAPPER=/usr/GCC/svn-build/libexec/gcc/i686-pc-linux-gnu/4.7.0/lto-wrapper

Target: i686-pc-linux-gnu Configured with: ../svnsrc/configure
--enable-lto --enable-languages=c,c++ --prefix=/usr/GCC/svn-build --enable-gold=default --enable-ld=yes --enable-__cxa-atexit --enable-build-with-cxx --enable-werror --enable-threads Thread model: posix gcc version 4.7.0 20111013 (experimental) (GCC)

I get the following message:

internal compiler error: tree code target_expr is not supported in LTO
streams. Please submit a full bug report.

I can't submit the *.i files as requested by the bug reporting guidelines because the issue is in Qt compilation, not a self contained source file. The other option would be to create a test case, but how can I create a test case when I don't know enough about GCC internals to know what the problem is?

Thank You for any assistance you can provide.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

世俗缘 2024-12-22 07:46:11

为什么不能提交对 qimage.cpp 文件进行预处理后获得的 qimage.i 文件?

Why can't you submit the qimage.i file obtained after preprocessing of that qimage.cpp file?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文