Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1795575
Summary: | GCC 10 regression: Python 3 fails to build in rawhide ppc64le/armv7hl: Assembler messages: Error: redefined symbol cannot be used on reloc | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
Component: | gcc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 32 | CC: | aoliva, avi.kivity, cstratak, dan, dmalcolm, fweimer, hannsj_uhl, jakub, jwakely, law, m.cyprian, mhroncok, mpolacek, msebor, nickc, pbrobinson, pviktori, rkuska, shcherbina.iryna, sipoyare, slavek.kabrda, tomspur, torsava, vstinner |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | https://koschei.fedoraproject.org/package/python3 | ||
Whiteboard: | |||
Fixed In Version: | 10.0.1-0.7.fc32 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-02-28 17:19:50 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 245418, 1071880, 1779341, 1792464 |
Description
Miro Hrončok
2020-01-28 11:04:10 UTC
I reported the issue to GCC upstream: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93384 I have been requested for the assembler files, but I failed to reproduce the issue manually on ppc64le. I created https://src.fedoraproject.org/rpms/python39/pull-request/16 yesterday to check if the bug is still there: yes it is, and not only ppc64le is affected, armv7hl is also affected. For my manual build, I only copied the configure command. I should retry with the compiler and linker flags used by the specfile. I also suspect that the bug only occurs on PGO+LTO build. Could it be related to the new -fno-common default? Does it build with -fcommon added to compiler flags? (In reply to Dan Horák from comment #2) > Could it be related to the new -fno-common default? Does it build with > -fcommon added to compiler flags? Testing... [python39 (390a3 *%)]$ git diff ... +%global _legacy_common_support 1 + [python39 (390a3 *%)]$ fedpkg --release master build --nowait --scratch --srpm ... Building python39-3.9.0~a3-1.fc32.src.rpm for rawhide Created task: 41132972 Task info: https://koji.fedoraproject.org/koji/taskinfo?taskID=41132972 [python39 (390a3 %)]$ git diff ... -%bcond_without optimizations +%bcond_with optimizations [python39 (390a3 *%)]$ fedpkg --release master build --nowait --scratch --srpm ... Building python39-3.9.0~a3-1.fc32.src.rpm for rawhide Created task: 41133107 Task info: https://koji.fedoraproject.org/koji/taskinfo?taskID=41133107 (In reply to Miro Hrončok from comment #4) > [python39 (390a3 *%)]$ git diff > ... > +%global _legacy_common_support 1 > + > > [python39 (390a3 *%)]$ fedpkg --release master build --nowait --scratch > --srpm > ... > Building python39-3.9.0~a3-1.fc32.src.rpm for rawhide > Created task: 41132972 > Task info: https://koji.fedoraproject.org/koji/taskinfo?taskID=41132972 No difference. > [python39 (390a3 %)]$ git diff > ... > -%bcond_without optimizations > +%bcond_with optimizations > > [python39 (390a3 *%)]$ fedpkg --release master build --nowait --scratch > --srpm > ... > Building python39-3.9.0~a3-1.fc32.src.rpm for rawhide > Created task: 41133107 > Task info: https://koji.fedoraproject.org/koji/taskinfo?taskID=41133107 Builds fine. As a lost resort, we can temporarily disable optimizations on the affected architectures to unblock ourselves. I have asked IBM to help with this one. Victor, please attach the temporary files to the upstream bug, so they can look. If you need a ppc64le machine first, let me know. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93384 title is now "[10 Regression] Python 3.9.0a3 fails to build on ppc64le with GCC 10.0.1: redefined symbol cannot be used on reloc", so I don't think that it's a Python bug, but it's a GCC regression instead. I'm discussing the issue at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93384 but you can keep this issue to coordinate the effort in Fedora / at Red Hat if you prefer. This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle. Changing version to 32. We have a deadline on 25 February to deliver bz1779341. Could you please backport the upstream fix? The deadline is technically over, but we'd still like to ship this for Fedora 32. Please, could you fix this? It is fixed for almost a month. Excellent. Thanks for letting me know so fast :( |