Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Oct 1995 21:10:43 +0000 ()
From:      James Raynard <james@jraynard.demon.co.uk>
To:        hackers@freebsd.org
Subject:   ld problems
Message-ID:  <Pine.BSF.3.91.951028205734.624A-100000@jraynard.demon.co.uk>

next in thread | raw e-mail | index | archive | help
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'




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.951028205734.624A-100000>