Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/jcea'closed_at=<Date2019-09-28.04:39:57.003>created_at=<Date2019-09-27.21:35:16.099>labels= ['3.8', 'build', '3.7', '3.9']
title='If "_REENTRANT" is defined in the header file, we should use "-D_REENTRANT" when compiling'updated_at=<Date2019-09-28.06:31:34.512>user='https://github.com/jcea'
When compiling on Solaris family, we define "_REENTRANT" in "Pyconfig.h". That file is included when compiling C extensions, but if the extension is made of several C files, it could be included only in the file that interfaces with python runtime.
Unfortunately, "_REENTRANT" modifies the way C code is compiled, so compiling a C extension with some source files with "_REENTRANT" and some other without that "define" can produce bizarre errors and crashes.
jcea
changed the title
If "_REENTARNT" is defined in the header file, we should use "-D_REENTRANT" when compiling
If "_REENTRANT" is defined in the header file, we should use "-D_REENTRANT" when compiling
Sep 27, 2019
New changeset 8750bce by Jesús Cea (Miss Islington (bot)) in branch '3.8': bpo-38301: In Solaris family, we must be sure to use '-D_REENTRANT' (GH-16446) (bpo-16449) 8750bce
New changeset 6112b91 by Jesús Cea (Miss Islington (bot)) in branch '3.7': bpo-38301: In Solaris family, we must be sure to use '-D_REENTRANT' (GH-16446) (bpo-16450) 6112b91
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: