Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
description of repo status
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
13
Star
15
Fork
313
src-openEuler
/
obs_meta
Closed
Code
Issues
17
Pull Requests
4
Wiki
Insights
Pipelines
Service
JavaDoc
PHPDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
DevLens
Don’t show this again
Update failed. Please try again later!
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
gcc_exclude字段定义规则以及未来规划
新建
#I4FDFP
Requirement
Chenxi Mao
Opened this issue
2021-10-26 10:39
在[prjconf-openEuler](https://gitee.com/src-openeuler/obs_meta/blob/master/OBS_PRJ_meta/master/prjconf-openEuler:selfbuild:function#L327)定义了gcc_exclude,这个字段是用来定义哪些rpm包不使用gcc_secure编译,这里面大概有几十个包。 根据我的理解,openEuler想做的事情如下,如果理解有误差还请维护者更正: 1. 在gcc_secure包中增加了部分安全相关的编译参数,如pic/pie/fsprotect等,目的是增强整个openEuler的安全性 2. 增加了fsigned-char参数,为了保证arm64和X86的平台可移植性。 在gcc_secure中定义了一个exclude名单,这个名单是在本repository中进行定义的,里面包含了大约几十个包,这里面包含了一部分基础包,如gcc/gdb,也包含一些上层服务如docker,X系列包。在commit log中没有找到增加gcc_exclude的原因,是否是因为编译的问题或者一些其他已知的问题把这些包含在gcc_exclude中。 问题: 1. 麻烦维护者分享这些包不使用gcc_secure编译的原因,可以共同研究如何规避 2. 麻烦维护者分享一下关于gcc_exclude的后续的计划,比如在21.09或者下一个版本中,是否会逐渐减少这个gcc_exclude列表中的包数量,最终全部使用gcc_secure编译所有的包? 3. 目前比较担心如果不是所有的包都通过gcc_secure编译,尤其在ARM64平台的gcc_secure增加了fsigned-char参数后,有部分的包不使用fsigned-char编译,例如gcc/gdb,比较担心后续会隐藏一些兼容性问题。参见[gcc_secure问题](https://gitee.com/src-openeuler/gcc_secure/issues/I4F7UV?from=project-issue)
在[prjconf-openEuler](https://gitee.com/src-openeuler/obs_meta/blob/master/OBS_PRJ_meta/master/prjconf-openEuler:selfbuild:function#L327)定义了gcc_exclude,这个字段是用来定义哪些rpm包不使用gcc_secure编译,这里面大概有几十个包。 根据我的理解,openEuler想做的事情如下,如果理解有误差还请维护者更正: 1. 在gcc_secure包中增加了部分安全相关的编译参数,如pic/pie/fsprotect等,目的是增强整个openEuler的安全性 2. 增加了fsigned-char参数,为了保证arm64和X86的平台可移植性。 在gcc_secure中定义了一个exclude名单,这个名单是在本repository中进行定义的,里面包含了大约几十个包,这里面包含了一部分基础包,如gcc/gdb,也包含一些上层服务如docker,X系列包。在commit log中没有找到增加gcc_exclude的原因,是否是因为编译的问题或者一些其他已知的问题把这些包含在gcc_exclude中。 问题: 1. 麻烦维护者分享这些包不使用gcc_secure编译的原因,可以共同研究如何规避 2. 麻烦维护者分享一下关于gcc_exclude的后续的计划,比如在21.09或者下一个版本中,是否会逐渐减少这个gcc_exclude列表中的包数量,最终全部使用gcc_secure编译所有的包? 3. 目前比较担心如果不是所有的包都通过gcc_secure编译,尤其在ARM64平台的gcc_secure增加了fsigned-char参数后,有部分的包不使用fsigned-char编译,例如gcc/gdb,比较担心后续会隐藏一些兼容性问题。参见[gcc_secure问题](https://gitee.com/src-openeuler/gcc_secure/issues/I4F7UV?from=project-issue)
Comments (
1
)
Sign in
to comment
Status
新建
新建
已接纳
已挂起
In Design
In Development
Done
Accepted
Declined
Assignees
Not set
Labels
Not set
Projects
Unprojected
Unprojected
Milestones
No related milestones
No related milestones
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
Branches (
-
)
Tags (
-
)
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
Duration
(hours)
参与者(2)
1
https://gitee.com/src-openeuler/obs_meta.git
git@gitee.com:src-openeuler/obs_meta.git
src-openeuler
obs_meta
obs_meta
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Comment
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register