From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23101 invoked from network); 29 Jun 2007 17:45:42 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.1 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 29 Jun 2007 17:45:42 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 20330 invoked from network); 29 Jun 2007 17:45:33 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 29 Jun 2007 17:45:33 -0000 Received: (qmail 4024 invoked by alias); 29 Jun 2007 17:45:27 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23624 Received: (qmail 3925 invoked from network); 29 Jun 2007 17:45:25 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 29 Jun 2007 17:45:25 -0000 Received: (qmail 19285 invoked from network); 29 Jun 2007 17:45:25 -0000 Received: from smtp010.mail.ukl.yahoo.com (217.12.11.79) by a.mx.sunsite.dk with SMTP; 29 Jun 2007 17:45:22 -0000 Received: (qmail 78230 invoked from network); 29 Jun 2007 16:08:30 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=Received:X-YMail-OSG:Received:In-reply-to:From:References:To:Subject:Date:Message-ID; b=VngO6rUl/zM2W3Vk4aWjc5V/J30gw4YUgk0i434VZiXyqDENXRVMniLyS6b6WhlZMpPelKrypPzkp9tNRsW+F4KWQ+fB4fVHDqlaL2sLIlrFEX9OdrOlxQE00bh0srtF/3PUU3iqxaKM76xjNQvFiiQ3FIR1z/jsKV3rvNnmvU8= ; Received: from unknown (HELO thecus) (okiddle@89.60.213.236 with plain) by smtp010.mail.ukl.yahoo.com with SMTP; 29 Jun 2007 16:08:30 -0000 X-YMail-OSG: aaO0gP0VM1nkWx0QFPB.hyRMIBsZzSXLUYj6nGP4V5KfRlSa9f6Z9GwfzkwhzgnNnmmnvwSK0g-- Received: from opk (helo=thecus) by thecus with local-esmtp (Exim 4.63) (envelope-from ) id 1I4J1W-0005AG-7K for zsh-workers@sunsite.dk; Fri, 29 Jun 2007 17:08:42 +0100 In-reply-to: <070629073552.ZM32277@torch.brasslantern.com> From: Oliver Kiddle References: <15204.1183047166@thecus> <200706281621.l5SGLHKR015636@news01.csr.com> <16925.1183113761@thecus> <20070629121135.GA25663@scowler.net> <070629073552.ZM32277@torch.brasslantern.com> To: Zsh workers Subject: Re: PATCH: ldd and LD_DEBUG completions Date: Fri, 29 Jun 2007 17:08:42 +0100 Message-ID: <19855.1183133322@thecus> 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