public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/15830] New: --disable-nls doesn't disable nls
@ 2004-06-05  2:36 mckelvey at maskull dot com
  2004-06-05  5:02 ` [Bug bootstrap/15830] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: mckelvey at maskull dot com @ 2004-06-05  2:36 UTC (permalink / raw)
  To: gcc-bugs

Bootstrap fails in abi_check with undefined references to libintl*. This in
spite of the fact that --disable-nls was specified. Recent CVS.

alpha1:gcc-obj>uname -a
Linux alpha1 2.4.9-40 #1 Mon Sep 23 08:14:02 EDT 2002 alpha unknown

alpha1:gcc-obj>gcc -v
Reading specs from /usr/local/lib/gcc/alphaev56-unknown-linux-gnu/3.5.0/specs
Configured with: ../gcc/configure --verbose --enable-languages=c++
Thread model: posix
gcc version 3.5.0 20040207 (experimental)

alpha1:gcc-obj>alias CONFIGURECVS
alias CONFIGURECVS='../gcc/configure --verbose --enable-languages=c++
--disable-nls'

alpha1:gcc-obj>alias BUILD
alias BUILD='nice gmake CFLAGS='\''-O'\'' BOOT_CFLAGS='\''-O'\''
LIBCFLAGS='\''-g -O'\'' LIBCXXFLAGS='\''-g -O -fno-implicit-templates'\''
bootstrap'

/home/mckelvey/software/gcc-obj/gcc/g++ -shared-libgcc
-B/home/mckelvey/software/gcc-obj/gcc/ -nostdinc++
-B/usr/local/alphaev56-unknown-linux-gnu/bin/
-B/usr/local/alphaev56-unknown-linux-gnu/lib/ -isystem
/usr/local/alphaev56-unknown-linux-gnu/include -isystem
/usr/local/alphaev56-unknown-linux-gnu/sys-include -g -O2 -D_GLIBCXX_ASSERT
-ffunction-sections -fdata-sections -fmessage-length=0
-DLOCALEDIR=/home/mckelvey/software/gcc-obj/alphaev56-unknown-linux-gnu/libstdc++-v3/po/share/locale
-g -O2 -D_GNU_SOURCE -mieee -o abi_check abi_check.o 
-L/home/mckelvey/software/gcc-obj/alphaev56-unknown-linux-gnu/libstdc++-v3/src
-L/home/mckelvey/software/gcc-obj/alphaev56-unknown-linux-gnu/libstdc++-v3/src/.libs
-lv3test
-L/home/mckelvey/software/gcc-obj/alphaev56-unknown-linux-gnu/libstdc++-v3/testsuite
-lm -Wl,--rpath -Wl,/home/mckelvey/software/gcc-obj/gcc -Wl,--rpath
-Wl,/home/mckelvey/software/gcc-obj/alphaev56-unknown-linux-gnu/libstdc++-v3/src/.libs
/home/mckelvey/software/gcc-obj/alphaev56-unknown-linux-gnu/libstdc++-v3/src/.libs/libstdc++.so:
undefined reference to `libintl_bindtextdomain'
/home/mckelvey/software/gcc-obj/alphaev56-unknown-linux-gnu/libstdc++-v3/src/.libs/libstdc++.so:
undefined reference to `libintl_textdomain'
collect2: ld returned 1 exit status
gmake[4]: *** [abi_check] Error 1
gmake[4]: Leaving directory
`/usr/home/mckelvey/software/gcc-obj/alphaev56-unknown-linux-gnu/libstdc++-v3/testsuite'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory
`/usr/home/mckelvey/software/gcc-obj/alphaev56-unknown-linux-gnu/libstdc++-v3'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/usr/home/mckelvey/software/gcc-obj/alphaev56-unknown-linux-gnu/libstdc++-v3'
gmake[1]: *** [all-target-libstdc++-v3] Error 2
gmake[1]: Leaving directory `/usr/home/mckelvey/software/gcc-obj'
gmake: *** [bootstrap] Error 2

-- 
           Summary: --disable-nls doesn't disable nls
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mckelvey at maskull dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: alphaev56-unknown-linux-gnu
  GCC host triplet: alphaev56-unknown-linux-gnu
GCC target triplet: alphaev56-unknown-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15830


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

* [Bug bootstrap/15830] --disable-nls doesn't disable nls
  2004-06-05  2:36 [Bug bootstrap/15830] New: --disable-nls doesn't disable nls mckelvey at maskull dot com
@ 2004-06-05  5:02 ` pinskia at gcc dot gnu dot org
  2004-06-05 15:33 ` mckelvey at maskull dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-05  5:02 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-05 05:02 -------
If I read the docs right this is the correct behavior as --disable-nls only disables the translation support 
in the error messages and not the use of libintl* in libstdc++:
--enable-nls
--disable-nls
The --enable-nls option enables Native Language Support (NLS), which lets GCC output diagnostics in 
languages other than American English. Native Language Support is enabled by default if not doing a 
canadian cross build. The --disable-nls option disables NLS. 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15830


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

* [Bug bootstrap/15830] --disable-nls doesn't disable nls
  2004-06-05  2:36 [Bug bootstrap/15830] New: --disable-nls doesn't disable nls mckelvey at maskull dot com
  2004-06-05  5:02 ` [Bug bootstrap/15830] " pinskia at gcc dot gnu dot org
@ 2004-06-05 15:33 ` mckelvey at maskull dot com
  2004-06-07  3:12 ` mckelvey at maskull dot com
  2004-06-07  3:14 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: mckelvey at maskull dot com @ 2004-06-05 15:33 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mckelvey at maskull dot com  2004-06-05 15:33 -------
OK, I understand. I don't really want to disable NLS, I just want the bootstrap
to finish. (In the recent past, --disable-nls has helped in situations where I
had libintl problems.)

If that is not the solution, what is?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15830


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

* [Bug bootstrap/15830] --disable-nls doesn't disable nls
  2004-06-05  2:36 [Bug bootstrap/15830] New: --disable-nls doesn't disable nls mckelvey at maskull dot com
  2004-06-05  5:02 ` [Bug bootstrap/15830] " pinskia at gcc dot gnu dot org
  2004-06-05 15:33 ` mckelvey at maskull dot com
@ 2004-06-07  3:12 ` mckelvey at maskull dot com
  2004-06-07  3:14 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: mckelvey at maskull dot com @ 2004-06-07  3:12 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mckelvey at maskull dot com  2004-06-07 03:12 -------
If I manually add -lintl to the Makefile, I can get abi_check to link and the
bootstrap to finish.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15830


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

* [Bug bootstrap/15830] --disable-nls doesn't disable nls
  2004-06-05  2:36 [Bug bootstrap/15830] New: --disable-nls doesn't disable nls mckelvey at maskull dot com
                   ` (2 preceding siblings ...)
  2004-06-07  3:12 ` mckelvey at maskull dot com
@ 2004-06-07  3:14 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-07  3:14 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-07 03:14 -------
This is a dup of bug 11074.

*** This bug has been marked as a duplicate of 11074 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15830


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

end of thread, other threads:[~2004-06-07  3:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-05  2:36 [Bug bootstrap/15830] New: --disable-nls doesn't disable nls mckelvey at maskull dot com
2004-06-05  5:02 ` [Bug bootstrap/15830] " pinskia at gcc dot gnu dot org
2004-06-05 15:33 ` mckelvey at maskull dot com
2004-06-07  3:12 ` mckelvey at maskull dot com
2004-06-07  3:14 ` pinskia at gcc dot gnu dot org

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).