[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: core dump while building 1997-09-25 on NetBSD-i386
- To: <clisp-list@ma2s2.mathematik.uni-karlsruhe.de>
- Subject: Re: core dump while building 1997-09-25 on NetBSD-i386
- From: Bruno Haible <haible@ilog.fr>
- Date: Tue, 7 Oct 1997 13:49:42 +0200 (MET DST)
- >received: from halles.ilog.fr (halles.ilog.fr [172.16.1.96]) by ilog.ilog.fr (8.8.7/8.7.3) with ESMTP id NAA17083; Tue, 7 Oct 1997 13:49:44 +0200 (MET DST)
- In-reply-to: <52iuvav4lz.fsf@sean.ebone.net>
- References: <52iuvav4lz.fsf@sean.ebone.net>
Sean Doran <smd@ebone.net> writes:
>
> : sean.ebone.net ; uname -a
> NetBSD sean.ebone.net 1.2G NetBSD 1.2G (EBONE) #0: Thu Oct 2 19:25:59 CEST 1997 smd@sean.ebone.net:/usr/src/sys/arch/i386/compile/EBONE i386
>
> I did two things.
> ...
Thank you for the report. Contains all details one needs to know to track
things down.
> Firstly, I had to create the src/locale directory
> manually, to avoid this:
>
> if test -d locale; then rm -rf locale; fi
> mkdir locale
> (cd gettext/po && make && make install datadir=../.. localedir='$(datadir)/locale' INSTALL_DATA=ln) || (rm -rf locale ; exit 1)
> installing en.gmo as ../../locale/en/LC_MESSAGES/clisp.mo
> installing de.gmo as ../../locale/de/LC_MESSAGES/clisp.mo
> installing fr.gmo as ../../locale/fr/LC_MESSAGES/clisp.mo
> installing de.gmo as ../../locale/de/LC_MESSAGES/clisp.mo
> ln: ../../locale/de/LC_MESSAGES/clisp.mo: File exists
> *** Error code 1
It tries to install the german catalog twice. I already saw this on
FreeBSD 2.2. It's a bug in your /bin/sh, most easily reproduced like this:
The following /bin/sh commands
unset LINGUAS
ALL_LINGUAS="en de fr es"
NEW_LINGUAS=
for lang in ${LINGUAS=$ALL_LINGUAS}; do
case "$ALL_LINGUAS" in
*$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;;
esac
done
echo $NEW_LINGUAS
print en de fr de fr es
instead of en de fr es
> ;; Loading file defseq.lsp ...
> ;; Loading of file defseq.lsp is finished.
> ;; Loading file backquot.lsp ...
> ;; Loading of file backquot.lsp is finished.
> ;; Loading file defmacro.lsp ...
> ;; Loading of file defmacro.lsp is finished.
> ;; Loading file macros1.lsp ...
> ;; Loading of file macros1.lsp is finished.
> ;; Loading file macros2.lsp ...
> ;; Loading of file macros2.lsp is finished.
> ;; Loading file defs1.lsp ...
> ;; Loading of file defs1.lsp is finished.
> ;; Loading file places.lsp ...Segmentation fault - core dumped
> *** Error code 139
This looks like a problem with generational GC. (I thought NetBSD's
support of mmap, mprotect etc. was functional now.) Try adding
-DNO_GENERATIONAL_GC to the CFLAGS, rm *.o and recompile. If that
doesn't help, try it first with -DSAFETY=3, then with -DSAFEFY=2,
and so on until -DSAFETY=0.
Bruno