[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#426809: -frepo only works with C locale

Package: gcc-4.1
Version: 4.1.1-21
Severity: normal

The g++ -frepo option only works with C locale, not with es_UY for example.
A possible test case is:
template<class T> class C

template<class T>

    C<int> x;
    return 0;

g++ -c -frepo a.C
g++ -frepo -o a a.o

If you set the locale to C, then it will compile, if you set the locale to a
non english one, it will fail.
I guess that collect2 binutils ld output parser doesn't recognise the
internationalized output (file gcc/tlink.c).
One possible solution is to internationalize the strings in
scan_linker_output() to match those internationalized in binutils ld.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux (PREEMPT)
Locale: LANG=es_UY, LC_CTYPE=es_UY (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages gcc-4.1 depends on:
ii  binutils                    2.17-3       The GNU assembler, linker and bina
ii  cpp-4.1                     4.1.1-21     The GNU C preprocessor
ii  gcc-4.1-base                4.1.1-21     The GNU Compiler Collection (base 
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libgcc1                     1:4.1.1-21   GCC support library
ii  libssp0                     4.1.1-21     GCC stack smashing protection libr

Versions of packages gcc-4.1 recommends:
ii  libc6-dev                   2.3.6.ds1-13 GNU C Library: Development Librari
ii  libmudflap0-dev             4.1.1-21     GCC mudflap support libraries (dev

-- no debconf information

Reply to: