Skip to Content.
Sympa Menu

sm-grimoire-bugs - [SM-Grimoire-Bugs] [Bug 11874] New: cast failure: glibc-2.3.6, compile error on locale

sm-grimoire-bugs AT lists.ibiblio.org

Subject: SourceMage Grimoire Bug List

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-grimoire-bugs AT lists.ibiblio.org
  • Subject: [SM-Grimoire-Bugs] [Bug 11874] New: cast failure: glibc-2.3.6, compile error on locale
  • Date: 19 May 2006 06:58:22 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=11874

Summary: cast failure: glibc-2.3.6, compile error on locale
Product: Codex
Version: test grimoire
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: libs
AssignedTo: sm-grimoire-bugs AT lists.ibiblio.org
ReportedBy: lalo.martins AT gmail.com


when building glibc 2.3.6:

gcc lc-collate.c -c -std=gnu99 -DPIC -O -O3 -Os -Wall -Winline
-Wstrict-prototypes -Wwrite-strings -fPIC -march=pentium2 -mmmx -pipe
-mpreferred-stack-boundary=2
-DLOCALE_PATH='"/usr/lib/locale:/usr/share/i18n"'
-DLOCALEDIR='"/usr/lib/locale"' -DLOCALE_ALIAS_PATH='"/usr/share/locale"'
-DCHARMAP_PATH='"/usr/share/i18n/charmaps"'
-DREPERTOIREMAP_PATH='"/usr/share/i18n/repertoiremaps"'
-DLOCSRCDIR='"/usr/share/i18n/locales"' -DHAVE_CONFIG_H -Iprograms
-I../include
-I. -I/usr/src/glibc-2.3.6.bld/locale -I.. -I../libio -I../nptl
-I/usr/src/glibc-2.3.6.bld -I../sysdeps/i386/elf
-I../nptl/sysdeps/unix/sysv/linux/i386/i686
-I../nptl/sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux
-I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../nptl/sysdeps/unix/sysv
-I../nptl/sysdeps/unix -I../nptl/sysdeps/i386/i686 -I../nptl/sysdeps/i386
-I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux
-I../sysdeps/gnu
-I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet
-I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386
-I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu
-I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486
-I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32
-I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64
-I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf
-I../sysdeps/generic -nostdinc -isystem
/usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include -isystem
/usr/src/glibc-2.3.6/linux-libc-headers-2.6.12.0/include -D_LIBC_REENTRANT
-D_LIBC_REENTRANT -include ../include/libc-symbols.h -o
/usr/src/glibc-2.3.6.bld/locale/lc-collate.o -MD -MP -MF
/usr/src/glibc-2.3.6.bld/locale/lc-collate.o.dt -MT
/usr/src/glibc-2.3.6.bld/locale/lc-collate.o
gcc C-ctype.c -c -std=gnu99 -DPIC -O -O3 -Os -Wall -Winline
-Wstrict-prototypes
-Wwrite-strings -fPIC -march=pentium2 -mmmx -pipe
-mpreferred-stack-boundary=2
-DLOCALE_PATH='"/usr/lib/locale:/usr/share/i18n"'
-DLOCALEDIR='"/usr/lib/locale"' -DLOCALE_ALIAS_PATH='"/usr/share/locale"'
-DCHARMAP_PATH='"/usr/share/i18n/charmaps"'
-DREPERTOIREMAP_PATH='"/usr/share/i18n/repertoiremaps"'
-DLOCSRCDIR='"/usr/share/i18n/locales"' -DHAVE_CONFIG_H -Iprograms
-I../include
-I. -I/usr/src/glibc-2.3.6.bld/locale -I.. -I../libio -I../nptl
-I/usr/src/glibc-2.3.6.bld -I../sysdeps/i386/elf
-I../nptl/sysdeps/unix/sysv/linux/i386/i686
-I../nptl/sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux
-I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../nptl/sysdeps/unix/sysv
-I../nptl/sysdeps/unix -I../nptl/sysdeps/i386/i686 -I../nptl/sysdeps/i386
-I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux
-I../sysdeps/gnu
-I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet
-I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386
-I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu
-I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486
-I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32
-I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64
-I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf
-I../sysdeps/generic -nostdinc -isystem
/usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include -isystem
/usr/src/glibc-2.3.6/linux-libc-headers-2.6.12.0/include -D_LIBC_REENTRANT
-D_LIBC_REENTRANT -include ../include/libc-symbols.h -o
/usr/src/glibc-2.3.6.bld/locale/C-ctype.o -MD -MP -MF
/usr/src/glibc-2.3.6.bld/locale/C-ctype.o.dt -MT
/usr/src/glibc-2.3.6.bld/locale/C-ctype.o
In file included from C-ctype.c:24:
C-translit.h:463: error: array of inappropriate type initialized from string
constant
C-translit.h:834: error: array of inappropriate type initialized from string
constant
make[2]: *** [/usr/src/glibc-2.3.6.bld/locale/C-ctype.o] Error 1
make[2]: Leaving directory `/usr/src/glibc-2.3.6/locale'
make[1]: *** [locale/subdir_lib] Error 2
make[1]: Leaving directory `/usr/src/glibc-2.3.6'
make: *** [all] Error 2
! Problem Detected !

I can consistently reproduce it (this is the 5th attempt). It doesn't seem to
matter whether or not I choose locales by hand.

root:~> gaze versions glibc


Grimoire Section Spell Grimoire Version Installed Version
-------- ------- ----- ---------------- -----------------
test libs glibc 2.3.6 2.3.5
stable libs glibc 2.3.5 -

root:~> gaze versions gcc


Grimoire Section Spell Grimoire Version Installed Version
-------- ------- ----- ---------------- -----------------
test gnu gcc 4.0.3 4.0.3
stable gnu gcc 3.4.4 -

if there's any other useful information I can give, just ask.

--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



  • [SM-Grimoire-Bugs] [Bug 11874] New: cast failure: glibc-2.3.6, compile error on locale, bugzilla-daemon, 05/19/2006

Archive powered by MHonArc 2.6.24.

Top of Page