21 Star 26 Fork 89

src-openEuler / gcc

 / 详情

[20.03 SP4 RC1] [deja]系统自带gcc带有isl库执行用例报ICE:internal compiler error:Aborted

已验收
缺陷
创建于  
2023-11-07 15:31

【标题描述】
系统自带gcc带有isl库执行用例报ICE:internal compiler error:Aborted,开源gcc不带isl库,不会执行相关用例
【环境信息】
软件信息

  • OS版本及分支信息:openEuler 20.03-LTS-SP4
  • 内核信息:4.19.90-2310.4.0.0227.oe2003sp4.aarch64
  • 发现问题的组件版本信息:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/aarch64-linux-gnu/7.3.0/lto-wrapper
Target: aarch64-linux-gnu
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --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 --with-isl=/home/lkp/rpmbuild/BUILD/gcc-7.3.0/obj-aarch64-linux-gnu/isl-install --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' --enable-bolt --with-multilib-list=lp64

【问题复现步骤】

1. yum install -y gcc gcc-* 
2.执行以下命令
gcc run-id-pr67700-1.c -Wl,-rpath=/usr/lib64 -O2 -fgraphite-identity -lm -o ./run-id-pr67700-1.exe
gfortran pr68279.f90 -Wl,-rpath=/usr/lib64 -std=legacy -floop-nest-optimize -O2 -S -o pr68279.s

【实际结果】
1.用例run-id-pr67700-1.c
输入图片说明
2.用例pr68279.f90
输入图片说明

附件
纪晓慧 2023-11-07 15:36
纪晓慧 2023-11-07 15:36

评论 (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 , @eastb233 , @kuen , @Peilin Guo , @编译小伙 , @huangxiaoquan , @cf-zhao , @周磊 , @stubCode , @dingguangya

openeuler-ci-bot 添加了
 
sig/Compiler
标签
纪晓慧 负责人设置为wangding16
纪晓慧 计划截止日期设置为2023-11-08
纪晓慧 计划开始日期设置为2023-11-07
纪晓慧 计划截止日期2023-11-08 修改为2023-11-10
纪晓慧 优先级设置为主要
纪晓慧 修改了描述
wangding16 添加协作者wangding16
wangding16 负责人wangding16 修改为赵书健
wangding16 取消协作者wangding16

gcc -O3 -floop-parallelize-all test-creduce-1557.c编译报ICE:internal compiler error: Segmentation fault
输入图片说明

引入isl的pr:5358df0
引入时间:2021年6月28日
初步分析是引入isl导致问题,gcc.log如下:
输入图片说明

赵书健 添加协作者赵书健
赵书健 负责人赵书健 修改为eastb233
赵书健 取消协作者赵书健

是否开源gcc+isl就存在该问题?

赵书健 通过src-openeuler/gcc Pull Request !361任务状态待办的 修改为已完成

使用20.03 LTS-SP4 RC5转测repo,回归结果通过
输入图片说明
输入图片说明

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

登录 后才可以发表评论

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

搜索帮助