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

Bug#485395: gcc-4.3: Should use GNU locales on hurd-i386 too



Package: gcc-4.3
Version: 4.3.0-5
Severity: important
Tags: patch

Hello,

Depending on the build machine, gcc-4.3 currently FTBFS on hurd-i386
because of the symbol list and the usage of locales.  See
http://buildd.debian-ports.org/fetch.php?&pkg=gcc-4.3&ver=4.3.1-1&arch=hurd-i386&stamp=1212944993&file=log&as=raw : the build fails just because the symbols
don't have __locale_struct, and that is because we have 
checking for C locale to use... generic
at the C++ ./configure stage.

The attached patch makes the hurd-i386 arch just behave like other archs:
force the C locale to be considered as gnu type (which makes sense :) )
Please apply.

Thanks,
Samuel

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

Kernel: Linux 2.6.25
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages gcc-4.3 depends on:
ii  binutils            2.18.1~cvs20080103-4 The GNU assembler, linker and bina
ii  cpp-4.3             4.3.0-5              The GNU C preprocessor
ii  gcc-4.3-base        4.3.0-5              The GNU Compiler Collection (base 
ii  libc6               2.7-10               GNU C Library: Shared libraries
ii  libgcc1             1:4.3.0-5            GCC support library
ii  libgomp1            4.3.0-5              GCC OpenMP (GOMP) support library

Versions of packages gcc-4.3 recommends:
ii  libc6-dev                     2.7-10     GNU C Library: Development Librari

-- no debconf information

-- 
Samuel
* B kicks DW (non mais franchement)
* DW was kicked
 -+- #ens-mim - comment ça hopeless ? -+-
Index: debian/rules.defs
===================================================================
--- debian/rules.defs	(révision 3172)
+++ debian/rules.defs	(copie de travail)
@@ -1200,7 +1200,7 @@
 
 # GNU locales
 force_gnu_locales := yes
-locale_no_systems := gnu
+locale_no_systems := 
 ifneq (, $(filter $(DEB_TARGET_GNU_SYSTEM),$(locale_no_systems)))
   force_gnu_locales := disabled for $(DEB_TARGET_GNU_SYSTEM)
 endif

Reply to: