Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #11832
| From | Mike Frysinger <vapier@gentoo.org> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Re: loadable builtins on HP-UX |
| Date | 2015-11-04 00:09 -0500 |
| Message-ID | <mailman.1657.1446613804.7904.bug-bash@gnu.org> (permalink) |
| References | <20151103214551.GI27325@eeg.ccf.org> <56394274.9050607@case.edu> |
[Multipart message — attachments visible in raw view] - view raw
On 03 Nov 2015 18:25, Chet Ramey wrote: > On 11/3/15 4:45 PM, Greg Wooledge wrote: > > To the surprise of approximately zero people, loadable builtins don't > > fully work on HP-UX. > > > > I'll spare you any results from 10.20 because it's totally unsupported > > at this point. (It doesn't even use dlopen().) > > > > On HP-UX 11.11, things half work. This is with 4.4-beta, sitting in the > > .../examples/loadables/ directory, after a "make all": > > > > bash-4.4# enable -f ./finfo finfo > > bash: enable: cannot find finfo_struct in shared object ./finfo: Unresolved module for symbol: sh_optarg (data) from ./finfo > > > > bash-4.4# enable -f ./tty tty > > bash-4.4# type -a tty > > tty is a shell builtin > > tty is /usr/bin/tty > > bash-4.4# tty > > /usr/lib/dld.sl: Unresolved symbol: reset_internal_getopt (code) from ./tty > > /usr/lib/dld.sl: Unresolved symbol: reset_internal_getopt (code) from ./tty > > ABORT instruction (core dumped) > > It looks like shared objects loaded by dlopen don't have access to the > loading program's symbols. That might be an HP-specific option to dlopen. > It might not, in which case you're out of luck. FWIW, the option on linux is -rdynamic. guess you'll (Greg) want to find the HP-UX equivalent to that. see the configure.ac block for details. -mike
Back to gnu.bash.bug | Previous | Next | Find similar
Re: loadable builtins on HP-UX Mike Frysinger <vapier@gentoo.org> - 2015-11-04 00:09 -0500
csiph-web