Subject: Re: port-alpha/18114
To: None <port-alpha-maintainer@netbsd.org, netbsd-bugs@netbsd.org,>
From: None <drochner@netbsd.org>
List: netbsd-bugs
Date: 03/31/2005 16:43:56
Synopsis: unaligned access + segfault when using dlfcn(3) on alpha
State-Changed-From-To: open->feedback
State-Changed-By: drochner@netbsd.org
State-Changed-When: Thu, 31 Mar 2005 16:43:55 +0000
State-Changed-Why:
Your example works for me (on -current).
Can you still reproduce the problem?
One hint -- the file to be dynamically loaded should be compiled with
"-fPIC". You example works without that with gcc-3.3 because the
dynsym() function is sufficiently simple, but egcs-2.95 (or whatever
we hat on 1.5) might have been different.