[Bug gas/9874] Error while compiling gas/tc-ia64.c as a cross-tool
--- Additional Comments From marco dot schulze at hotmail dot com 2009-02-23 12:54 --- ccache gcc -DHAVE_CONFIG_H -I. -I../../binutils-2.19.1/gas -I. -I. -I../../binutils-2.19.1/gas -I../bfd -I../../binutils-2.19.1/gas/config -I../../binutils-2.19.1/gas/../include -I../../binutils-2.19.1/gas/.. -I../../binutils-2.19.1/gas/../bfd -DLOCALEDIR="\"/home/arkdot/Lin/Cross-Tools//share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c ../../binutils-2.19.1/gas/config/tc-ia64.c -- 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
[Bug gas/9874] Error while compiling gas/tc-ia64.c as a cross-tool
--- Additional Comments From marco dot schulze at hotmail dot com 2009-02-23 13:36 --- Using built-in specs. gcc -v Target: i486-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.3.2-1ubuntu12' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu Thread model: posix gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu12) -- 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
[Bug gas/9874] Error while compiling gas/tc-ia64.c as a cross-tool
--- 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
[Bug gas/9874] Error while compiling gas/tc-ia64.c as a cross-tool
--- Additional Comments From wilson at codesourcery dot com 2009-02-23 18:31 --- 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". See https://wiki.ubuntu.com/CompilerFlags It is actually -Wformat-security that they are using. 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
[Bug gas/9874] Warning while compiling gas/tc-ia64.c with -Wformat-security
-- What|Removed |Added GCC host triplet|i686-pc-linux-gnu | Summary|Error while compiling |Warning while compiling |gas/tc-ia64.c as a cross- |gas/tc-ia64.c with -Wformat- |tool|security 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
[Bug gas/9874] Warning while compiling gas/tc-ia64.c with -Wformat-security
--- Additional Comments From marco dot schulze at hotmail dot com 2009-02-24 00:35 --- Yes, that did the trick! It's compiling now. -- 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