Subject: Re: asn1_compile SIG4 with hp300
To: None <current-users@netbsd.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: current-users
Date: 10/12/2001 23:29:49
In article <63575.62.148.198.97.1002876862.squirrel@mail.er-grp.com>
jarkko.teppo@er-grp.com wrote:
> NetBSD/src/lib/libasn1/asn1_compile/../../../crypto/dist/heimdal/lib/roken
> -DHAVE_CONFIG_H -o asn1_compile gen.lo gen_copy.lo
> gen_decode.lo gen_encode.lo gen_free.lo gen_glue.lo gen_length.lo hash.lo
> lex.lo main.lo parse.lo symbol.lo getarg.lo print_version.lo warnerr.lo
> strupr.lo get_window_size.lo nb_progname.lo
> /home/jarkko/NetBSD/src/lib/libasn1/asn1_compile/obj.hp300/asn1_compile
> /home/jarkko/NetBSD/src/lib/libasn1/../../crypto/dist/heimdal/lib/asn1/k5.asn1
> krb5_asn1
> *** Signal 4
>
> Stop.
:
> #0 0x2d0e in init_fallthru ()
> (gdb) bt
> #0 0x2d0e in init_fallthru ()
> #1 0x2cc2 in _init ()
> #2 0x316e in __start ()
I had the same problem on the several m68k elf ports
(sun3, news68k and hp300). As you wrote, it seems
init_fallthru() has some problem and the following
patch is required to build..
(init fallthru for m68k_elf only works with new toolchains?)
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp
Index: Makefile
===================================================================
RCS file: /cvsroot/basesrc/lib/csu/m68k_elf/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile 2001/07/17 03:56:49 1.6
+++ Makefile 2001/10/12 14:25:27
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.6 2001/07/17 03:56:49 thorpej Exp $
#Uncomment the next line to enable the new .init fallthru
-CPPFLAGS+= -I- -I${.CURDIR}
+#CPPFLAGS+= -I- -I${.CURDIR}
.include "${.CURDIR}/../common_elf/Makefile.inc"