This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PATCH: BP project page: instruct gcc bootstrappers to disable NLS


Philipp Thomas <pthomas@suse.de> writes:

> As I've taken the responsibility to maintain this part of GCC I have to
> chime in here. There *has* to be another way of solving this!

Thanks for your help!  Disabling all of NLS was surely an extreme
work-around, but the best I could manage at the time with inadequate
understanding of the issues.

> The easiest solution would be to configure with
> --without-included-gettext when configuring with BP and glibc.

That's much better.

(I wish that `configure --help' gave a complete list of acceptable FOO
and BAR for options of the form --(en|dis)able-FOO and
--with(out)-BAR.  Is there some way of easily getting this
information?  Is there some way I could easily have learned about the
`--without-included-gettext' option?)

> But before we search for solutions,

IMO, `--without-included-gettext' is a good work around.
I'll update the BP project page.

> please explain in more detail why
> libintl conficts with the glibc implementation.

BP programs are statically linked at this time.  These are the link
errors I get.  (I expect that non-BP static linking will have the same trouble)

/1/gnu/libc-bp/NATIVE-i686-pc-linux/libc_b.a(dcigettext.ob): In function `__BP_transcmp':
/1/gnu/libc-bp/src/intl/dcigettext.c:235: multiple definition of `_nl_default_default_domain'
./intl/libintl.a(dcgettext.o):/1/gnu/gcc+/BPbad/gcc/intl/../../../src/gcc/intl/dcgettext.c:228: first defined here
/1/gnu/libc-bp/NATIVE-i686-pc-linux/libc_b.a(dcigettext.ob): In function `__BP_transcmp':
/1/gnu/libc-bp/src/intl/dcigettext.c:235: multiple definition of `_nl_current_default_domain'
./intl/libintl.a(dcgettext.o):/1/gnu/gcc+/BPbad/gcc/intl/../../../src/gcc/intl/dcgettext.c:228: first defined here
/1/gnu/libc-bp/NATIVE-i686-pc-linux/libc_b.a(dcigettext.ob): In function `__BP_transcmp':
/1/gnu/libc-bp/src/intl/dcigettext.c:236: multiple definition of `_nl_default_dirname'
./intl/libintl.a(dcgettext.o):/1/gnu/gcc+/BPbad/gcc/intl/../../../src/gcc/intl/dcgettext.c:228: first defined here
/1/gnu/cygnus/bin/ld: Warning: size of symbol `_nl_default_dirname' changed from 24 to 28 in dcigettext.ob

Thanks again!

Greg

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]