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 1800866 - trace-cmd: apply upstream fix of "multiple definition of `common_type_field' "
Summary: trace-cmd: apply upstream fix of "multiple definition of `common_type_field' "
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: trace-cmd
Version: 32
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zamir SUN
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-08 14:16 UTC by Zamir SUN
Modified: 2021-05-25 15:42 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1794296
Environment:
Last Closed: 2021-05-25 15:42:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Linux Kernel 206467 0 None None None 2020-02-08 14:16:47 UTC

Description Zamir SUN 2020-02-08 14:16:47 UTC
Right now my workaround is to add '-z muldefs' in LDFLAGS. So it would be good to back-port the upstream fix when it's ready. Cloning this bug to track.


+++ This bug was initially created as a clone of Bug #1794296 +++

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

--- Additional comment from Zamir SUN on 2020-01-24 10:33:53 HKT ---

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 1 Ben Cotton 2020-02-11 16:36:24 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle.
Changing version to 32.

Comment 2 Fedora Program Management 2021-04-29 16:12:32 UTC
This message is a reminder that Fedora 32 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 32 on 2021-05-25.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '32'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 32 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 3 Ben Cotton 2021-05-25 15:42:45 UTC
Fedora 32 changed to end-of-life (EOL) status on 2021-05-25. Fedora 32 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.