From: Oliver Kiddle <okiddle@yahoo.co.uk>
To: Zsh workers <zsh-workers@sunsite.dk>
Subject: Re: PATCH: ldd and LD_DEBUG completions
Date: Fri, 29 Jun 2007 17:08:42 +0100 [thread overview]
Message-ID: <19855.1183133322@thecus> (raw)
In-Reply-To: <070629073552.ZM32277@torch.brasslantern.com>
Bart wrote:
> On Jun 29, 8:11am, Clint Adams wrote:
> } Get that feature into GNU binutils and we have a deal.
>
> The zsh build system will still have to know how to deal with the lack
> of that option ... and apparently also know how to deal with having a
> compiler that appears to implement it but ignores it.
Not for a Debian package specific change it wouldn't.
-z ignore appears to be a linker option as opposed to being a compiler
option. I'm not sure how to detect the Sun linker given that I think
you can have gcc with the Sun linker. One option would be:
compile a dummy .so
compile a dummy binary linked against the .so explicitly with -z ignore
rm the .so
run the binary and see if you get an ld error.
It's actually now possible to get Sun studio for Linux. I just tried
compiling zsh with it. The only problem is that the compiler doesn't
handle the -rdynamic option. It is still using the GNU linker and
passing -export-dynamic instead of -rdynamic seems to do the trick.
That's line 2328 of configure.ac. What's the best way to handle that
from configure. We could check $ac_compiler_gnu but there's also the
Intel compiler to consider. Should we add a check for the Sun compiler
instead?
Oliver
next prev parent reply other threads:[~2007-06-29 17:45 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-28 16:12 Oliver Kiddle
2007-06-28 16:21 ` Peter Stephenson
2007-06-28 18:00 ` Phil Pennock
2007-06-29 9:59 ` Peter Stephenson
2007-06-29 10:42 ` Oliver Kiddle
2007-06-29 12:11 ` Clint Adams
2007-06-29 12:39 ` Oliver Kiddle
2007-06-29 14:35 ` Bart Schaefer
2007-06-29 16:08 ` Oliver Kiddle [this message]
2007-06-28 17:07 ` Danek Duvall
2007-06-28 17:15 ` Peter Stephenson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=19855.1183133322@thecus \
--to=okiddle@yahoo.co.uk \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).