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 1794296

Summary: trace-cmd-2.7-8.fc32: FTBFS with gcc 10: multiple definition of `common_type_field'
Product: [Fedora] Fedora Reporter: Jitka Plesnikova <jplesnik>
Component: trace-cmdAssignee: Zamir SUN <sztsian>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jonstanley, sztsian
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/trace-cmd
Whiteboard:
Fixed In Version: trace-cmd-2.8.3-1.fc32 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1800866 (view as bug list) Environment:
Last Closed: 2020-02-09 03:53: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: 1750908, 1792464    

Description Jitka Plesnikova 2020-01-23 08:19:39 UTC
trace-cmd-2.7-8.fc32 fails to build in F32:

( gcc trace-cmd.o trace-record.o trace-read.o trace-split.o trace-listen.o trace-stack.o trace-hist.o trace-mem.o trace-snapshot.o trace-stat.o trace-hash.o trace-profile.o trace-stream.o trace-restore.o trace-check-events.o trace-show.o trace-list.o libtracecmd.a -rdynamic -o trace-cmd -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld  -L. -ltracecmd -ldl)
/usr/bin/ld: trace-mem.o:/builddir/build/BUILD/trace-cmd-v2.7/trace-mem.c:47: multiple definition of `common_type_field'; trace-hist.o:/builddir/build/BUILD/trace-cmd-v2.7/trace-hist.c:44: first defined here
collect2: error: ld returned 1 exit status

A difference between passing and failing build root is at 
https://koschei.fedoraproject.org/build/7742247
This is probably triggered with an upgrade of gcc from 9.2.1-1.fc32.3 to 10.0.1-0.3.fc32.


Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/trace-cmd

Comment 1 Zamir SUN 2020-01-24 02:33:53 UTC
Currently I am travelling so don't really can check this. 
If Jon don't have time to check this for the coming week, I'll take a look after I am back home (probably in early Feb).

Comment 2 Zamir SUN 2020-02-09 03:53:50 UTC
Fixed in Rawhide

https://koji.fedoraproject.org/koji/buildinfo?buildID=1458121