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 <rep...@bugs.python.org>
<http://bugs.python.org/issue17362>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to