[Touch-packages] [Bug 2002043] Re: Python extension modules get built using wrong compiler flags with python2

2024-01-29 Thread Nafees
Thanks Mitchell for looking into this. The proposed workaround looks good to me. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to python2.7 in Ubuntu. https://bugs.launchpad.net/bugs/2002043 Title: Python extension modules

[Touch-packages] [Bug 2002043] Re: Python extension modules get built using wrong compiler flags with python2

2023-11-03 Thread Nafees
I just want to check if there are any updates with this bug? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to python2.7 in Ubuntu. https://bugs.launchpad.net/bugs/2002043 Title: Python extension modules get built using

[Touch-packages] [Bug 2002043] Re: Python extension modules get built using wrong compiler flags with python2

2023-10-09 Thread Nafees
Hi Mitchell, Do you have any update for this bug? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to python2.7 in Ubuntu. https://bugs.launchpad.net/bugs/2002043 Title: Python extension modules get built using wrong compiler

[Touch-packages] [Bug 2002043] Re: Python extension modules get built using wrong compiler flags with python2

2023-07-19 Thread Nafees
Thanks for providing the workarounds. While the workarounds work in cases when user is willing to compile extensions from the python package sources and aware of these problems, for the most common cases work arounds are not feasible. There are 100’s of python packages with extension modules

[Touch-packages] [Bug 2002043] Re: Python extension modules get built using wrong compiler flags with python2

2023-06-27 Thread Nafees
Thanks for the update Fabio Martins ! -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to python2.7 in Ubuntu. https://bugs.launchpad.net/bugs/2002043 Title: Python extension modules get built using wrong compiler flags with

[Touch-packages] [Bug 2002043] Re: Python extension modules get built using wrong compiler flags with python2

2023-05-25 Thread Nafees
Hi Ghadi Rahme, I see this ticket is in progress, just want to check when the fix will be updated in Ubuntu's packages? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to python2.7 in Ubuntu.

[Touch-packages] [Bug 2002043] Re: Python extension modules get built using wrong compiler flags with python2

2023-01-17 Thread Nafees
Thanks for looking into this. On python3, can we make sure if we are looking into right output file? >From your pasted output on Python3, I do see, there is -O2 but I see from next command the query is against test.so file which seems incorrect. From the compilation output, the file name when

[Touch-packages] [Bug 2002043] Re: Python extension modules get built using wrong compiler flags with python2

2023-01-11 Thread Nafees
Hi Fabio Martins, Thanks for looking into this issue. Attached tar file contains setup.py and steps to reproduce the issue. In general, the behavior is same with any package building with extensions. ** Attachment added: "testprog.tar.gz"

[Touch-packages] [Bug 2002043] [NEW] Python extension modules get built using wrong compiler flags with python2

2023-01-05 Thread Nafees
Public bug reported: Compiling a Python extension using Python2 (Python 2.7.18) is making use of wrong compiler flags, hence dropping required optimizations when required. This is happening only when python2 is installed from Ubuntu's repositories. By default, Python's distutils module uses