Bug 342 - GCC should report error if there are poison parameters
Summary: GCC should report error if there are poison parameters
Status: VERIFIED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 0.9
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 0.9 M4
Assignee: Dongxiao Xu
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2010-09-19 07:33 UTC by Dongxiao Xu
Modified: 2010-12-21 06:07 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified: Program Management
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.