[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/9874] Error while compiling gas/tc-ia64.c as a cross-tool
From: |
wilson at codesourcery dot com |
Subject: |
[Bug gas/9874] Error while compiling gas/tc-ia64.c as a cross-tool |
Date: |
23 Feb 2009 18:19:22 -0000 |
------- 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 gas/9874] New: Error while compiling gas/tc-ia64.c as a cross-tool, marco dot schulze at hotmail dot com, 2009/02/19
- [Bug gas/9874] Error while compiling gas/tc-ia64.c as a cross-tool, marco dot schulze at hotmail dot com, 2009/02/20
- [Bug gas/9874] Error while compiling gas/tc-ia64.c as a cross-tool, hjl dot tools at gmail dot com, 2009/02/20
- [Bug gas/9874] Error while compiling gas/tc-ia64.c as a cross-tool, marco dot schulze at hotmail dot com, 2009/02/20
- [Bug gas/9874] Error while compiling gas/tc-ia64.c as a cross-tool, hjl dot tools at gmail dot com, 2009/02/20
- [Bug gas/9874] Error while compiling gas/tc-ia64.c as a cross-tool, marco dot schulze at hotmail dot com, 2009/02/21
- [Bug gas/9874] Error while compiling gas/tc-ia64.c as a cross-tool, hjl dot tools at gmail dot com, 2009/02/21
- [Bug gas/9874] Error while compiling gas/tc-ia64.c as a cross-tool, marco dot schulze at hotmail dot com, 2009/02/23
- [Bug gas/9874] Error while compiling gas/tc-ia64.c as a cross-tool, marco dot schulze at hotmail dot com, 2009/02/23
- [Bug gas/9874] Error while compiling gas/tc-ia64.c as a cross-tool,
wilson at codesourcery dot com <=
- [Bug gas/9874] Error while compiling gas/tc-ia64.c as a cross-tool, wilson at codesourcery dot com, 2009/02/23
- [Bug gas/9874] Warning while compiling gas/tc-ia64.c with -Wformat-security, hjl dot tools at gmail dot com, 2009/02/23
- [Bug gas/9874] Warning while compiling gas/tc-ia64.c with -Wformat-security, marco dot schulze at hotmail dot com, 2009/02/23
- [Bug gas/9874] Warning while compiling gas/tc-ia64.c with -Wformat-security, hjl dot tools at gmail dot com, 2009/02/25