This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Arfrever
Recipients Arfrever, loewis
Date 2011-02-27.20:26:27
SpamBayes Score 1.8453349e-08
Marked as misclassified No
Message-id <1298838388.1.0.376759565651.issue11347@psf.upfronthosting.co.za>
In-reply-to
Content
1. libpython3.so has soname "llibpython3.so" due to needless "l" in "-Wl,-hl$@".
2. libpython3.so is not linked against libpython$(LDVERSION).so when -Wl,--as-needed flag is used. -Wl,--as-needed flag is used by default in Gentoo due to major benefits.
From `info ld`:
`--as-needed'
`--no-as-needed'
     This option affects ELF DT_NEEDED tags for dynamic libraries
     mentioned on the command line after the `--as-needed' option.
     Normally the linker will add a DT_NEEDED tag for each dynamic
     library mentioned on the command line, regardless of whether the
     library is actually needed or not.  `--as-needed' causes a
     DT_NEEDED tag to only be emitted for a library that satisfies an
     undefined symbol reference from a regular object file or, if the
     library is not found in the DT_NEEDED lists of other libraries
     linked up to that point, an undefined symbol reference from
     another dynamic library.  `--no-as-needed' restores the default
     behaviour.

I'm attaching the patch.
History
Date User Action Args
2011-02-27 20:26:28Arfreversetrecipients: + Arfrever, loewis
2011-02-27 20:26:28Arfreversetmessageid: <1298838388.1.0.376759565651.issue11347@psf.upfronthosting.co.za>
2011-02-27 20:26:27Arfreverlinkissue11347 messages
2011-02-27 20:26:27Arfrevercreate