public inbox for libc-locales@sourceware.org
 help / color / mirror / Atom feed
* [Bug localedata/13388] New: locale/programs/localedef.c: 'CHARMAP_PATH', 'REPERTOIREMAP_PATH' and 'LOCALE_PATH' undeclared
@ 2011-11-06  0:24 christophe.jarry at ouvaton dot org
  2011-11-18 13:39 ` [Bug localedata/13388] " schwab@linux-m68k.org
  2014-06-27 11:42 ` fweimer at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: christophe.jarry at ouvaton dot org @ 2011-11-06  0:24 UTC (permalink / raw)
  To: libc-locales

http://sourceware.org/bugzilla/show_bug.cgi?id=13388

             Bug #: 13388
           Summary: locale/programs/localedef.c: 'CHARMAP_PATH',
                    'REPERTOIREMAP_PATH' and 'LOCALE_PATH' undeclared
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: localedata
        AssignedTo: libc-locales@sources.redhat.com
        ReportedBy: christophe.jarry@ouvaton.org
    Classification: Unclassified
              Host: mips64el-unknown-linux-gnu
             Build: mipsel-unknown-linux-gnu


I used glibc version 2.14.1 with glibc-ports-2.14.1.

After having run the following inside a separate glibc-build directory:

BUILD_CC="gcc" \
    CC="mips64el-unknown-linux-gnu-gcc -march=loongson2f -mabi=n32 \
    AR="mips64el-unknown-linux-gnu-ar" \
    RANLIB="mips64el-unknown-linux-gnu-ranlib" \
    ../glibc-2.14.1/configure \
    --prefix=/usr \
    --libexecdir=/usr/lib/glibc \
    --build=mipsel-cross-linux-gnu \
    --host=mips64el-unknown-linux-gnu \
    --disable-profile \
    --enable-add-ons \
    --with-tls \
    --enable-kernel=2.6.32 \
    --with-__thread \
    --with-binutils=${TARGET_DIR}/cross-tools/bin \
    --with-headers=${TARGET_DIR}/usr/include \
    --cache-file=config.cache
make

I have the following message:

gcc -g programs/localedef.c -c -std=gnu99 -fgnu89-inline -g -O2
-Wstrict-prototypes    -D_GNU_SOURCE -DLOCALEDIR\
='"/usr/lib/locale"' -DLOCALE_ALIAS_PATH='"/usr/share/locale"' -Iprograms
-I../include-native -I/microcebus/buil\
d/glibc-build/locale/ -I. -D_LIBC_REENTRANT -DPIC -include
../include/libc-symbols.h    -o /microcebus/build/gli\
bc-build/locale/localedef-native.o -MD -MP -MF
/microcebus/build/glibc-build/locale/localedef-native.o.dt -MT /m\
icrocebus/build/glibc-build/locale/localedef-native.o
programs/localedef.c: In function 'more_help':
programs/localedef.c:371: error: 'CHARMAP_PATH' undeclared (first use in this
function)
programs/localedef.c:371: error: (Each undeclared identifier is reported only
once
programs/localedef.c:371: error: for each function it appears in.)
programs/localedef.c:371: error: 'REPERTOIREMAP_PATH' undeclared (first use in
this function)
programs/localedef.c:371: error: 'LOCALE_PATH' undeclared (first use in this
function)
make[2]: *** [/microcebus/build/glibc-build/locale/localedef-native.o] Error 1
make[2]: Leaving directory `/microcebus/build/glibc-2.14.1/locale'
make[1]: *** [locale/others] Error 2
make[1]: Leaving directory `/microcebus/build/glibc-2.14.1'
make: *** [all] Error 2

The error comes from the changes made on the file locale/Makefile and entitled
"Clean up locale/Makefile variables for -D switches."
(http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=675456ef83622a17c86ae60b94b8e5e3a9d5bb2f).

The proof is that if I use the patch at
http://sourceware.org/git/?p=glibc.git;a=patch;h=675456ef83622a17c86ae60b94b8e5e3a9d5bb2f
and do:

    patch -Np1 -i the-patch-above.patch -R

inside glibc-2.14.1, the error message does not show up again when running make
inside glibc-build.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug localedata/13388] locale/programs/localedef.c: 'CHARMAP_PATH', 'REPERTOIREMAP_PATH' and 'LOCALE_PATH' undeclared
  2011-11-06  0:24 [Bug localedata/13388] New: locale/programs/localedef.c: 'CHARMAP_PATH', 'REPERTOIREMAP_PATH' and 'LOCALE_PATH' undeclared christophe.jarry at ouvaton dot org
@ 2011-11-18 13:39 ` schwab@linux-m68k.org
  2014-06-27 11:42 ` fweimer at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: schwab@linux-m68k.org @ 2011-11-18 13:39 UTC (permalink / raw)
  To: libc-locales

http://sourceware.org/bugzilla/show_bug.cgi?id=13388

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> 2011-11-18 10:22:12 UTC ---
There is no localedef-native.o target in glibc.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug localedata/13388] locale/programs/localedef.c: 'CHARMAP_PATH', 'REPERTOIREMAP_PATH' and 'LOCALE_PATH' undeclared
  2011-11-06  0:24 [Bug localedata/13388] New: locale/programs/localedef.c: 'CHARMAP_PATH', 'REPERTOIREMAP_PATH' and 'LOCALE_PATH' undeclared christophe.jarry at ouvaton dot org
  2011-11-18 13:39 ` [Bug localedata/13388] " schwab@linux-m68k.org
@ 2014-06-27 11:42 ` fweimer at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: fweimer at redhat dot com @ 2014-06-27 11:42 UTC (permalink / raw)
  To: libc-locales

https://sourceware.org/bugzilla/show_bug.cgi?id=13388

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-06-27 11:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-06  0:24 [Bug localedata/13388] New: locale/programs/localedef.c: 'CHARMAP_PATH', 'REPERTOIREMAP_PATH' and 'LOCALE_PATH' undeclared christophe.jarry at ouvaton dot org
2011-11-18 13:39 ` [Bug localedata/13388] " schwab@linux-m68k.org
2014-06-27 11:42 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).