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 1796821

Summary: pypy3 fails to build with gcc 10 on x86: multiple definition of '_PyThreadState_Current'
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: pypy3Assignee: Miro Hrončok <mhroncok>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 32CC: m.cyprian, mhroncok, python-sig
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-29 12:41:16 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: 1750908, 1792464    

Description Miro Hrončok 2020-01-31 10:31:39 UTC
Description of problem:
pypy3 fails to build with gcc 10 on i686 and x86_64:

https://koji.fedoraproject.org/koji/taskinfo?taskID=41244769


	/usr/bin/ld.gold: error: vmprof_common.o: multiple definition of '_PyThreadState_Current'
	/usr/bin/ld.gold: rvmprof.o: previous definition here
	collect2: error: ld returned 1 exit status


Version-Release number of selected component: pypy3-7.3.0-2.fc32


See https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/RYVPP45PMWPXYBBDKXO3CI7YGL7CDQG6/ and https://gcc.gnu.org/gcc-10/porting_to.html#common for more information about the failure.

Comment 1 Miro Hrončok 2020-01-31 10:42:34 UTC
Upstream report: https://bitbucket.org/pypy/pypy/issues/3163

Comment 2 Ben Cotton 2020-02-11 17:21:35 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle.
Changing version to 32.

Comment 3 Miro Hrončok 2020-02-12 19:07:24 UTC
Workaround in: https://src.fedoraproject.org/rpms/pypy3/pull-request/17