This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug driver/47549] -save-temps and -finput-charset= causing 'cc1.exe: error: failure to convert gbk to UTF-8'


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47549

--- Comment #1 from Yu Simin <silver24k at gmail dot com> 2011-01-31 08:07:27 UTC ---
$ arm-gcc -v -finput-charset=gbk -c -save-temps gbk.c
Using built-in specs.
COLLECT_GCC=arm-gcc
COLLECT_LTO_WRAPPER=/home/starlight/src/gnu-toolchain/platform/cross-on-linux/mingw/bin/../libexec/gcc/arm/4.6.0/lto-wrapper
Target: arm
Configured with: ../../../gcc_trunk/configure --target=arm
--prefix=/platform/cross-on-linux/mingw --disable-threads --disable-tls
--disable-win32-registry --enable-version-specific-runtime-libs
--with-pkgversion='General ARM GCC' --enable-multilib --with-newlib
--with-headers=/home/starlight/src/gnu-toolchain/newlib/newlib/libc/include
--disable-nls --enable-languages=c,c++ --with-mpc=/usr/local
--with-ppl=/usr/local --with-cloog=/usr/local --with-libelf=/usr/local
--disable-plugin --disable-libstdcxx-pch --enable-cloog-backend=isl
--disable-cloog-version-check
Thread model: single
gcc version 4.6.0 20110129 (experimental) mingw-20090616 (General ARM GCC)
COLLECT_GCC_OPTIONS='-v' '-finput-charset=gbk' '-c' '-save-temps'

/home/starlight/src/gnu-toolchain/platform/cross-on-linux/mingw/bin/../libexec/gcc/arm/4.6.0/cc1
-E -quiet -v -iprefix
/home/starlight/src/gnu-toolchain/platform/cross-on-linux/mingw/bin/../lib/gcc/arm/4.6.0/
-D__USES_INITFINI__ gbk.c -finput-charset=gbk -fpch-preprocess -o gbk.i
ignoring duplicate directory
"/home/starlight/src/gnu-toolchain/platform/cross-on-linux/mingw/bin/../lib/gcc/../../lib/gcc/arm/4.6.0/include"
ignoring duplicate directory
"/home/starlight/src/gnu-toolchain/platform/cross-on-linux/mingw/bin/../lib/gcc/../../lib/gcc/arm/4.6.0/include-fixed"
ignoring duplicate directory
"/home/starlight/src/gnu-toolchain/platform/cross-on-linux/mingw/bin/../lib/gcc/../../lib/gcc/arm/4.6.0/../../../../arm/sys-include"
ignoring duplicate directory
"/home/starlight/src/gnu-toolchain/platform/cross-on-linux/mingw/bin/../lib/gcc/../../lib/gcc/arm/4.6.0/../../../../arm/include"
#include "..." search starts here:
#include <...> search starts here:

/home/starlight/src/gnu-toolchain/platform/cross-on-linux/mingw/bin/../lib/gcc/arm/4.6.0/include

/home/starlight/src/gnu-toolchain/platform/cross-on-linux/mingw/bin/../lib/gcc/arm/4.6.0/include-fixed

/home/starlight/src/gnu-toolchain/platform/cross-on-linux/mingw/bin/../lib/gcc/arm/4.6.0/../../../../arm/sys-include

/home/starlight/src/gnu-toolchain/platform/cross-on-linux/mingw/bin/../lib/gcc/arm/4.6.0/../../../../arm/include
End of search list.
COLLECT_GCC_OPTIONS='-v' '-finput-charset=gbk' '-c' '-save-temps'

/home/starlight/src/gnu-toolchain/platform/cross-on-linux/mingw/bin/../libexec/gcc/arm/4.6.0/cc1
-fpreprocessed gbk.i -quiet -dumpbase gbk.c -auxbase gbk -version
-finput-charset=gbk -o gbk.s
GNU C (General ARM GCC) version 4.6.0 20110129 (experimental) mingw-20090616
(arm)
        compiled by GNU C version 4.4.3, GMP version 5.0.1, MPFR version
3.0.0-p3, MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
cc1: error: failure to convert gbk to UTF-8
GNU C (General ARM GCC) version 4.6.0 20110129 (experimental) mingw-20090616
(arm)
        compiled by GNU C version 4.4.3, GMP version 5.0.1, MPFR version
3.0.0-p3, MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]