[New-bugs-announce] [issue17362] enable-new-dtags only for GNU ELF linker

Roumen Petrov report at bugs.python.org
Tue Mar 5 23:22:42 CET 2013


New submission from Roumen Petrov:

GNU binutils properly document that flag --enable-new-dtags is only available on ELF systems.
I would like to propose a simple hack to avoid activation if ELF is not listed in supported emulations.

Comments in unixccompiler.py are not precise : "# GNU ld needs an extra option to get a RUNPATH ..", i.e. ELF is missing. 

Also GNULD is not correct name for flag. What about to change to GNUELFLD ?

You could test on cygwin for instance.

----------
components: Build
files: 0004-ORIGIN-enable-new-dtags-only-for-GNU-ELF-linker.patch
keywords: patch
messages: 183557
nosy: rpetrov
priority: normal
severity: normal
status: open
title: enable-new-dtags only for GNU ELF linker
type: compile error
versions: Python 3.4
Added file: http://bugs.python.org/file29317/0004-ORIGIN-enable-new-dtags-only-for-GNU-ELF-linker.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17362>
_______________________________________


More information about the New-bugs-announce mailing list