Possible build regression in 3.13.1 with `-latomic` on MIPS
Ninguém assumiu esta issue ainda.
- Linguagem predominante
- Python
- Estrelas
- 77.2k
- Forks
- 35.9k
- Métricas de merge de PRs
- Métricas de PR pendentes
Descrição
Bug report
Bug description:
Hey! I'm still learning about these things, but I noticed a difference between 3.13.0 and 3.13.1 and want to confirm if this intentional.
In python-build-standalone, we validate the linked libraries after building a distribution. Both the free-threaded and default variants of Python 3.13.1 failed this validation due to a link to atomic on the following target triples:
mips-unknown-linux-gnumipsel-unknown-linux-gnu
I'm not sure why the inclusion is limited to these targets yet.
I added an exception to our validation for now, but we're concerned about the additional system requirement and would prefer to remove it. I'm not sure what changed, but it looks like there's a relevant news entry linking to https://github.com/python/cpython/issues/125269.
Note that we apply patches to CPython before building, it's possible this is just our bug.
Related:
- https://github.com/python/cpython/issues/125269
- https://github.com/python/cpython/pull/125416
- https://github.com/indygreg/python-build-standalone/issues/410
- https://github.com/indygreg/python-build-standalone/pull/400
CPython versions tested on:
3.13
Operating systems tested on:
Linux
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Direção de pesquisa
Comece comparando as alterações de build entre CPython 3.13.0 e 3.13.1 e, em seguida, leia a issue 125269 e o pull request 125416 vinculados. Reproduza a validação da biblioteca para os alvos Linux MIPS e MIPSel e determine se o link com libatomic é intencional. Considera-se concluído quando a regressão estiver explicada e o requisito inesperado do sistema tiver sido removido ou documentado.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- python
- Domínio
- build-system, operating-systems
- Tipo de issue
- Bug
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Precisa de esclarecimento
- Facilidade para iniciantes
- 35/100