This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/23541] all error messages produce segfault
- From: "alex at milivojevic dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Jan 2006 19:55:10 -0000
- Subject: [Bug other/23541] all error messages produce segfault
- References: <bug-23541-6526@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #16 from alex at milivojevic dot org 2006-01-04 19:55 -------
(In reply to comment #15)
> Both in dgettext.c and dngettext.c at a minimum as far as I can see. Another
> possible path is to bootstrap the compiler with Sun cc or with gcc -std=c89.
Bootstrapping with 'gcc -std=c89' hasn't worked.
First I got xgcc binary that was linked without -rpath or -R (so it was linked
against $prefix/lib/sparcv9/libintl.so.3 from GNU gettext, while dynamic linker
could find only libintl.so.1 in /usr/lib/sparcv9 which was part of Solaris
system). This is probably something that should be fixed in build process.
OK, there's --with-included-gettext option. Using that one, the xgcc crashed
the very first time it was invoked.
Currently recompiling without --with-included-gettext and with LD_LIBRARY_PATH
set.
If that one fails, I'll try switching the order of includes (probably should
have done that one first).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23541