Bug 342

Summary: GCC should report error if there are poison parameters
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Dongxiao Xu <dongxiao.xu>
Component: meta-yoctoAssignee: Dongxiao Xu <dongxiao.xu>
Status: VERIFIED FIXED QA Contact:
Severity: enhancement    
Priority: Medium CC: jessica.zhang, kevin.tian, poky.bs.watcher, poky.watcher, richard.purdie, sgw
Version: 0.9   
Target Milestone: 0.9 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Program Management Documentation change: ---

Description Dongxiao Xu 2010-09-19 07:33:43 UTC
Some applications may still try to add "-Os" option even if GCC doesn't configure with --enable-target-optspace. Sometimes, these poison parameters may cause APP binary crash. 

It is good if GCC could find this flaw in build time and let user aware of the potential issue.
Comment 2 Dongxiao Xu 2010-10-14 18:51:16 UTC
Vefified against the commit.