Debian Bug report logs - #25076
X libraries should be compiled with -DX_LOCALE

version graph

Package: xlib6g; Maintainer for xlib6g is (unknown);

Reported by: Owen Taylor <otaylor@redhat.com>

Date: Mon, 27 Jul 1998 03:03:02 UTC

Severity: normal

Merged with 15617, 15909, 16927

Found in versions 3.3.1-2, 3.3.2.2-4

Done: unknown

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Branden Robinson <branden@debian.org>:
Bug#25076; Package xlib6g. (full text, mbox, link).


Acknowledgement sent to Owen Taylor <otaylor@redhat.com>:
New bug report received and forwarded. Copy sent to Branden Robinson <branden@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Owen Taylor <otaylor@redhat.com>
To: submit@bugs.debian.org
Subject: X libraries should be compiled with -DX_LOCALE
Date: Sun, 26 Jul 1998 22:58:16 -0400
Package: xlib6g
Version: 3.3.2.2-4

This report is a "reminder" about outstanding bugs 15617,
15909, and 16927.

If Xlib is compiled with the -DX_LOCALE flag, it
incorporates it's own locale handling code, which can
optionally be used by applications that define X_LOCALE and
include <Xlocale.h>x. 

The need for this, with respect to European locales was
removed with the transition from libc5 to glibc. However,
glibc-2.0.x does not include support for the Asian CJK
locales. This means that the current Debian versions of Xlib 
cannot be used in a CJK environment. In my opinion, Xlib
should be compiled with -DX_LOCALE until glibc contains
support for these locales. For programs compiled without
-DX_LOCALE, it should not matter whether or not X is compiled 
with -DX_LOCALE.

In addition, the binaries of XFree86 distributed by XFree86
are compiled with -DX_LOCALE, so binaries compiled against
the XFree86 libraries may currently not be compatible with
the Debian libraries. 

(The symptom is undefined references to _Xsetlocale)

Apparently this is done as a customization after they
release the sources, since I do not believe that the
sources, as shipped, will build with -DX_LOCALE.

I haven't tried it, but I believe the flag should be added
in linux.cf, either along with -D_REENTRANT in StandardDefines,
or in LinuxSourceDefines, where it is defined for libc5 
systems.

Regards,
                                Owen Taylor






Severity set to `normal'. Request was from Branden Robinson <branden@purdue.edu> to control@bugs.debian.org. (full text, mbox, link).


Merged 15617 15909 16927 25076. Request was from Branden Robinson <branden@purdue.edu> to control@bugs.debian.org. (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun May 5 02:15:39 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.