This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Illegal Instrution (Core Dumped)
Type: crash Stage: resolved
Components: Versions: Python 3.10
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: christian.heimes, guacaplushy, ronaldoussoren
Priority: normal Keywords:

Created on 2021-11-29 22:25 by guacaplushy, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (6)
msg407330 - (view) Author: Tom E (guacaplushy) Date: 2021-11-29 22:25
When compiling CPython 3.10 on Ubuntu 22.04, with GCC 11.2.0, it compiles successfully, but when trying to run it it just gives Illegal Instrution (Core Dumped). But when I build 3.9.9 its just fine... CPU is Intel Core i5-10400.
msg407359 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2021-11-30 11:23
The issue sounds like a bug in your Linux distribution. I have been using GCC 11.2 for a while without any problems. Have you filed a bug with Ubuntu already?
msg407401 - (view) Author: Tom E (guacaplushy) Date: 2021-11-30 21:50
Not yet... my configure flags are ./configure CFLAGS="-O3 -mtune=corei7-avx -march=corei7-avx" LDFLAGS="-L/usr/local/ssl/lib64" CPP=cpp CXX=g++ --with-openssl=/usr/local/ssl --enable-optimizations --enable-shared
msg407461 - (view) Author: Ronald Oussoren (ronaldoussoren) * (Python committer) Date: 2021-12-01 15:43
Is arch corei7-avx compatible with your CPU? One way to test is to leave out -mtune=... and -march=... when building python.
msg407500 - (view) Author: Tom E (guacaplushy) Date: 2021-12-01 22:33
its defos fine because ive tried it without the CFLAGS and same error
msg407548 - (view) Author: Tom E (guacaplushy) Date: 2021-12-02 21:07
Well I updated the kernel to 5.15.0 and used my succeeding 3.9.9 build and now it works.
History
Date User Action Args
2022-04-11 14:59:52adminsetgithub: 90091
2021-12-02 21:07:08guacaplushysetstatus: open -> closed
resolution: fixed
messages: + msg407548

stage: resolved
2021-12-01 22:33:41guacaplushysetmessages: + msg407500
2021-12-01 15:43:26ronaldoussorensetnosy: + ronaldoussoren
messages: + msg407461
2021-11-30 21:50:04guacaplushysetmessages: + msg407401
2021-11-30 11:23:58christian.heimessetnosy: + christian.heimes
messages: + msg407359
2021-11-29 22:25:10guacaplushycreate