You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying once again to get the test suite up to snuff on Cygwin so I can start running a buildbot (particularly now that PEP-539 is done). However, as of bpo-28180 the build fails with:
gcc -o python.exe Programs/python.o libpython3.7m.dll.a -lintl -ldl -lm Programs/python.o: In function main': ./Programs/python.c:81: undefined reference to _Py_LegacyLocaleDetected'
./Programs/python.c:81:(.text.startup+0x86): relocation truncated to fit: R_X86_64_PC32 against undefined symbol _Py_LegacyLocaleDetected' ./Programs/python.c:82: undefined reference to _Py_CoerceLegacyLocale'
./Programs/python.c:82:(.text.startup+0x19f): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `_Py_CoerceLegacyLocale'
collect2: error: ld returned 1 exit status
It seems _Py_LegacyLocaleDetected and _PyCoerceLegacyLocale are missing the necessary PyAPI_FUNC declarations in pylifecycle.h.
New changeset 031c4bf by Nick Coghlan (Erik Bray) in branch 'master': bpo-31877: Add _Py_LegacyLocaleDetected and _PyCoerceLegacyLocale to pylifecycle.h (GH-4134) 031c4bf
Activity
embray commentedon Oct 26, 2017
I'm trying once again to get the test suite up to snuff on Cygwin so I can start running a buildbot (particularly now that PEP-539 is done). However, as of bpo-28180 the build fails with:
gcc -o python.exe Programs/python.o libpython3.7m.dll.a -lintl -ldl -lm
Programs/python.o: In function
main': ./Programs/python.c:81: undefined reference to_Py_LegacyLocaleDetected'./Programs/python.c:81:(.text.startup+0x86): relocation truncated to fit: R_X86_64_PC32 against undefined symbol
_Py_LegacyLocaleDetected' ./Programs/python.c:82: undefined reference to_Py_CoerceLegacyLocale'./Programs/python.c:82:(.text.startup+0x19f): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `_Py_CoerceLegacyLocale'
collect2: error: ld returned 1 exit status
It seems _Py_LegacyLocaleDetected and _PyCoerceLegacyLocale are missing the necessary PyAPI_FUNC declarations in pylifecycle.h.
[-]Build fails on Cython since issue28180[/-][+]Build fails on Cygwin since issue28180[/+]ncoghlan commentedon Oct 27, 2017
New changeset 031c4bf by Nick Coghlan (Erik Bray) in branch 'master':
bpo-31877: Add _Py_LegacyLocaleDetected and _PyCoerceLegacyLocale to pylifecycle.h (GH-4134)
031c4bf
ncoghlan commentedon Oct 27, 2017
Thanks for the patch!