------- Additional Comments From wilson at codesourcery dot com 2009-02-23 18:19 ------- Subject: Re: Error while compiling gas/tc-ia64.c as a cross-tool
hjl dot tools at gmail dot com wrote: > I can't reproduce it. That is why I want to see the command line used > to compile tc-ia64.c. Also please show the output of "gcc -v". He is using Ubuntu. Ubuntu hard wires on some extra gcc format checking options. The line in question is as_bad_where (fix->fx_file, fix->fx_line, err); This will generate a gcc warning if you use -Wformat-nonliteral, which is apparently on by default in Ubuntu. I saw someone else mention this recently, though I don't remember the details. This could be fixed by changing the line to be instead as_bad_where (fix->fx_file, fix->fx_line, "%s", err); Jim -- http://sourceware.org/bugzilla/show_bug.cgi?id=9874 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils