public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/48817] New: [avr] gcc does not build (error: format not a string literal and no format arguments)
@ 2011-04-29 9:32 Kicer86 at gmail dot com
2011-04-29 19:00 ` [Bug target/48817] " pinskia at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: Kicer86 at gmail dot com @ 2011-04-29 9:32 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48817
Summary: [avr] gcc does not build (error: format not a string
literal and no format arguments)
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: Kicer86@gmail.com
It's impossible to compile gcc for avr:
../gcc-4.6.0/configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --target=avr --enable-languages=c,c++ --disable-lto
fails with:
x86_64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4
-I../../gcc-4.6.0/libcpp -I. -I../../gcc-4.6.0/libcpp/../include
-I../../gcc-4.6.0/libcpp/include -W -Wall -Wextra -Winit-self -Wformat=2
-Wshadow -Wlogical-op -pipe -I/home/michal/projects/usr/include -W -Wall
-Wwrite-strings -Wmissing-format-attribute -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -Wc++-compat -pedantic
-Wno-long-long -I../../gcc-4.6.0/libcpp -I.
-I../../gcc-4.6.0/libcpp/../include -I../../gcc-4.6.0/libcpp/include -c -o
expr.o -MT expr.o -MMD -MP -MF .deps/expr.Tpo ../../gcc-4.6.0/libcpp/expr.c
../../gcc-4.6.0/libcpp/expr.c: In function ‘cpp_classify_number’:
../../gcc-4.6.0/libcpp/expr.c:437:13: error: format not a string literal and no
format arguments
../../gcc-4.6.0/libcpp/expr.c:439:13: error: format not a string literal and no
format arguments
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug target/48817] [avr] gcc does not build (error: format not a string literal and no format arguments)
2011-04-29 9:32 [Bug target/48817] New: [avr] gcc does not build (error: format not a string literal and no format arguments) Kicer86 at gmail dot com
@ 2011-04-29 19:00 ` pinskia at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2011-04-29 19:00 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48817
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-04-29 18:58:23 UTC ---
>-Werror=format-security
is the issue, Don't build GCC with that option, GCC has been audited for those
problems already.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-04-29 19:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-29 9:32 [Bug target/48817] New: [avr] gcc does not build (error: format not a string literal and no format arguments) Kicer86 at gmail dot com
2011-04-29 19:00 ` [Bug target/48817] " pinskia at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).