Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 257043 - gcc-4.3.3 -Wformat-security issues
Summary: gcc-4.3.3 -Wformat-security issues
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-31 06:25 UTC by Manuel Lauss
Modified: 2009-01-31 15:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Lauss 2009-01-31 06:25:06 UTC
gcc-4.3.3 has -Wformat-security enabled by default.  This is rather inconvenient
when building linux kernels for at least mips and sh targets, because they use
printf() like calls which make gcc emit a warning and have -Werror enabled.

So please drop patch "10_all_gcc-default-format-security.patch".

(I can't find anything warning-worty about code like this:
 char *s="hello";
 printf(s);
)


Reproducible: Always
Comment 1 SpanKY gentoo-dev 2009-01-31 15:22:30 UTC
no