STINNER Victor <victor.stin...@gmail.com> added the comment:

I'm unable to reproduce the issue on Fedora 27 (binutils-2.29-6.fc27.src.rpm, 
gcc-7.2.1-2.fc27.src.rpm). _ctypes.cpython-37dm-x86_64-linux-gnu.so is 
generated whereas it's not linked to libdl.so (as expected). The flag seems to 
be ignored. 
https://src.fedoraproject.org/rpms/redhat-rpm-config/c/078af192613e1beec34824a94dc5f6feeeea1568?branch=master
 says "The latter needs binutils 2.29.1-12.fc28 or later. I understand that my 
binutils are too old (2.29 vs 2.29.1).

----------
nosy: +vstinner
title: Undefined references when compiling ctypes -> Undefined references when 
compiling ctypes on binutils 2.29.1 with gcc -Wl,-z,undefs (Fedora 28)
versions: +Python 2.7 -Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32647>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to