Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #11838
| From | Chet Ramey <chet.ramey@case.edu> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Re: loadable builtins on HP-UX |
| Date | 2015-11-04 11:29 -0500 |
| Message-ID | <mailman.1696.1446654619.7904.bug-bash@gnu.org> (permalink) |
| References | <20151103214551.GI27325@eeg.ccf.org> <56394274.9050607@case.edu> <20151104050956.GW5154@vapier.lan> <20151104140444.GK27325@eeg.ccf.org> |
On 11/4/15 9:04 AM, Greg Wooledge wrote: > On Wed, Nov 04, 2015 at 12:09:56AM -0500, Mike Frysinger wrote: >> On 03 Nov 2015 18:25, Chet Ramey wrote: >>> 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 > > The linker option in HP-UX 11.11 is -E . For gcc to pass it along, > the correct option is -Wl,-E . I'm not sure how to do it if you're > using the pay-for HP C compiler. Change the hpux11*-*gcc* stanza in support/shobj-conf to specify the right options. I'm guessing you'll need to change the assignment to SHOBJ_LDFLAGS. Once you have something that works, send me diffs and I'll apply them. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/
Back to gnu.bash.bug | Previous | Next | Find similar
Re: loadable builtins on HP-UX Chet Ramey <chet.ramey@case.edu> - 2015-11-04 11:29 -0500
csiph-web