14 Star 19 Fork 58

openEuler / gcc

 / 详情

【22.03 LTS-SP1】【arm】【Angha】-O3 -fwhole-program -flto-partition=one -fipa-struct-reorg=6编译ICE: during IPA pass: struct_reorg:internal compiler error: Segmentation fault

已验收
缺陷
创建于  
2022-12-07 11:28

【标题描述】
【22.03 LTS-SP1】【arm】【Angha】-O3 -fwhole-program -flto-partition=one -fipa-struct-reorg=6编译ICE: during IPA pass: struct_reorg:internal compiler error: Segmentation fault
【环境信息】
软件信息:
1)os版本:openEuler 21.09
2)内核信息:Linux localhost.localdomain 5.10.0-5.10.0.24.oe1.aarch64
3)工具链版本:

COLLECT_GCC=./bin/gcc
COLLECT_LTO_WRAPPER=/home/hccjenkins/hccversion/hcc_arm64le_native/bin/../libexec/gcc/aarch64-linux-gnu/10.3.1/lto-wrapper
Target: aarch64-linux-gnu
Configured with: ../gcc/configure --prefix=/home/lyc/2022/gitee_lyc_gcc/install --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,fortran,lto --enable-plugin --enable-initfini-array --disable-libgcj --without-isl --without-cloog --enable-gnu-indirect-function --build=aarch64-linux-gnu --with-stage1-ldflags=' -Wl,-z,relro,-z,now' --with-boot-ldflags=' -Wl,-z,relro,-z,now' --disable-bootstrap --with-multilib-list=lp64 --enable-bolt
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 10.3.1 (GCC)

【问题复现步骤】

gcc extr_ftl.c_ftl_discardsect.c -O3 -mcpu=tsv110 -fwhole-program -flto-partition=one -fipa-struct-reorg=6    -c -w  -o extr_ftl.c_ftl_discardsect.c.o

【预期结果】
可编译成功
【实际结果】
输入图片说明

评论 (5)

纪晓慧 创建了缺陷

Hi jixiaohuiyou, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Compiler, and any of the maintainers: @Noah , @Peilin Guo , @eastb233 , @kuen , @笨鸟不飞就是鸡 , @Haijian.Zhang , @编译小伙 , @huangxiaoquan , @cf-zhao , @周磊 , @stubCode

openeuler-ci-bot 添加了
 
sig/Compiler
标签
纪晓慧 上传了附件extr_ftl.c_ftl_discardsect.txt
纪晓慧 负责人设置为笨鸟不飞就是鸡
纪晓慧 优先级设置为严重
纪晓慧 优先级严重 修改为主要
纪晓慧 计划截止日期设置为2022-12-08
纪晓慧 计划开始日期设置为2022-12-07
纪晓慧 计划截止日期2022-12-08 修改为2022-12-11
纪晓慧 修改了描述
纪晓慧 修改了标题

-O3 -fwhole-program -flto-partition=one -fipa-struct-reorg=5编译成功
输入图片说明

纪晓慧 上传了附件extr_omf.c_get_omf_data_info.txt
纪晓慧 上传了附件extr_m5602_core.c_m5602_init_controls.txt
笨鸟不飞就是鸡 通过openeuler/gcc Pull Request !75任务状态待办的 修改为已完成

用例extr_ftl.c_ftl_discardsect.txt回归结果:通过
输入图片说明

用例extr_omf.c_get_omf_data_info.txt回归结果:通过
输入图片说明

用例extr_m5602_core.c_m5602_init_controls.txt回归结果:通过
输入图片说明

纪晓慧 任务状态已完成 修改为已验收

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
5329419 openeuler ci bot 1632792936
1
https://gitee.com/openeuler/gcc.git
git@gitee.com:openeuler/gcc.git
openeuler
gcc
gcc

搜索帮助