public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/31932]  New: no values accepted for --encoding options except UTF-8
@ 2007-05-15 10:18 serg at vostok dot net
  2007-05-15 10:25 ` [Bug java/31932] " serg at vostok dot net
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: serg at vostok dot net @ 2007-05-15 10:18 UTC (permalink / raw)
  To: java-prs

Parts of gcc are compiled without libiconv even if it's present in the system
and --with-libiconv-prefix specified correctly.

The reason for this is usage of HAVE_ICONV_H macro.

1. The check for iconv.h in configure does not use the value of
--with-libiconv-prefix option.

2. HAVE_ICONV_H is useless because check for libiconv uses iconv.h anyway.

3. HAVE_ICONV is changed in some source files like this:

#ifndef HAVE_ICONV_H
#undef HAVE_ICONV
#endif

- which is inherently incorrect in and of itself: any information produced by
configure must not be changed in the source code. If configure tests don't work
right - fix them, but all source code must be compiled with the same global
settings.


-- 
           Summary: no values accepted for --encoding options except UTF-8
           Product: gcc
           Version: 4.1.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: serg at vostok dot net
 GCC build triplet: i386-portbld-freebsd6.2
  GCC host triplet: i386-portbld-freebsd6.2
GCC target triplet: i386-portbld-freebsd6.2


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


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

end of thread, other threads:[~2009-04-16 19:05 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-15 10:18 [Bug java/31932] New: no values accepted for --encoding options except UTF-8 serg at vostok dot net
2007-05-15 10:25 ` [Bug java/31932] " serg at vostok dot net
2007-05-15 14:33 ` pinskia at gcc dot gnu dot org
2007-05-15 16:29 ` [Bug libstdc++/31932] " serg at vostok dot net
2007-05-15 18:30 ` [Bug java/31932] " pcarlini at suse dot de
2007-05-15 18:41 ` tromey at gcc dot gnu dot org
2007-05-15 18:43 ` [Bug preprocessor/31932] " pinskia at gcc dot gnu dot org
2007-05-15 19:08 ` serg at vostok dot net
2007-05-15 19:34 ` [Bug preprocessor/31932] cpp -f*-charset and gcj --encoding accept no values " serg at vostok dot net
2009-03-29 23:48 ` jsm28 at gcc dot gnu dot org
2009-03-30 20:54 ` tromey at gcc dot gnu dot org
2009-03-30 20:57 ` tromey at gcc dot gnu dot org
2009-03-30 20:57 ` tromey at gcc dot gnu dot org
2009-04-16 19:05 ` 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).