This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

[Bug other/23541] all error messages produce segfault



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



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