Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
flex symbols being exported
- X-seq: zsh-workers 26585
- From: "Diego E. 'Flameeyes'" Pettenò <flameeyes@xxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: flex symbols being exported
- Date: Thu, 19 Feb 2009 22:40:02 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:content-type :date:message-id:mime-version:x-mailer; bh=+0AXGVG3vi3jac2gT87G/6YpxaeWZKL/Lb0ExS9w88U=; b=QS1t/myh0a/YapVUSwIIiFN8CBtoOcy5CPbR3NdKRtAEnE0GPXFAcXbG/XgQSCTbe7 39c6HmLcek2LIHjp7Iaa7QGa6ubRfhdnREGbv1EpsCYtFeFNUI9DxQhKp31UmAFyCiOC HijMd6IFJY66WkSJYcow2d2MvxRqY3zOGQQGw=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer; b=IPlJucNk4tjioQSkXOt6Qh/vgiByjW7YZXrh/tqEtChT4ZRBvecN0BUs9mB/NoCmAX 5vST/664g4zcsv7yjOZV8395wTAPPklOysUxfC9yLm8Ks5Id4+auqBMMmY4Y6hXQaN35 iJ5zkp7+Gsb9H8wAGhA/LOCt8yHCuz7ackWZM=
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Hello,
I'm a Gentoo Linux developer, and since last year I'm working on rooting
away problems with linking collision between software. In particular,
right now I'm working toward reducing issues with exported flex/yacc
symbols for parsers [1].
Zsh seems to be exporting quite a bit of symbols; while most of the
interface is used by the plugins, there seems to be also the parser's
symbols being exported:
yamato ~ # nm -D /bin/zsh | grep yy
08088310 T yylex
080e05f0 B yytext
I guess this comes from flex, at any rate the yylex symbol is widely
defined (50 times on my tinderbox results) and it should probably not be
avoided.
You should either hide the symbols (either via proper ELF visibility or
through linker scripts) or rename them asking for a prefixed version of
them.
HTH,
[1]
http://blog.flameeyes.eu/2008/02/09/flex-and-linking-conflicts-or-a-possible-reason-why-php-and-recode-are-so-crashy
--
Diego "Flameeyes" PettenÃ
http://blog.flameeyes.eu/
Attachment:
signature.asc
Description: This is a digitally signed message part
Messages sorted by:
Reverse Date,
Date,
Thread,
Author