From owner-freebsd-hackers Sat Oct 28 14:34:48 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA00435 for hackers-outgoing; Sat, 28 Oct 1995 14:34:48 -0700 Received: from jraynard.demon.co.uk (jraynard.demon.co.uk [158.152.42.77]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id OAA00424 for ; Sat, 28 Oct 1995 14:34:41 -0700 Received: (from james@localhost) by jraynard.demon.co.uk (8.6.11/8.6.9) id VAA00650; Sat, 28 Oct 1995 21:10:45 GMT Date: Sat, 28 Oct 1995 21:10:43 +0000 () From: James Raynard To: hackers@freebsd.org Subject: ld problems Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@freebsd.org Precedence: bulk I'm trying to port a concurrent language which was originally written on SunOS4 to FreeBSD. The idea is that you compile a non-concurrent version, load the extra code and dump the image, using the 'unexec' file that comes with emacs, to get the final executable. The problem is that the initial version only works if it is statically linked, which means that _DYNAMIC is a null pointer and the dump seg faults. There is a built-in version of unexec with the language, but it produces the executable in NMAGIC format, which the kernel loader refuses to run! Can anyone suggest a way around this? (If I can get it working, I will of course make the port available) James Segmentation fault (core dumped): cannot find file '.signature'