Bug 2061022 - Folly's fmt code does not work on ppc64le
Summary: Folly's fmt code does not work on ppc64le
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: folly
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Davide Cavalca
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PPCTracker
TreeView+ depends on / blocked
 
Reported: 2022-03-05 01:17 UTC by Michel Lind
Modified: 2022-07-16 09:34 UTC (History)
4 users (show)

Fixed In Version: folly-2022.03.14.00-5.fc37
Clone Of:
Environment:
Last Closed: 2022-07-16 09:34:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github fmtlib fmt issues 2794 0 None open Linking error with GCC-compiled fmt and Clang-compiled folly, only on Fedora rawhide ppc64le 2022-03-05 01:18:11 UTC

Description Michel Lind 2022-03-05 01:17:20 UTC
Description of problem:
folly's logging_example triggers this:
https://github.com/fmtlib/fmt/issues/2794

if that's disabled, building fizz fails on ppc64le:
https://kojipkgs.fedoraproject.org//work/tasks/9048/83659048/build.log

/usr/bin/ld: /usr/lib64/libfolly.so.2022.02.28.00: undefined reference to `int fmt::v8::detail::format_float<__float128>(__float128, int, fmt::v8::detail::float_specs, fmt::v8::detail::buffer<char>&)'
/usr/bin/ld: /usr/lib64/libfolly.so.2022.02.28.00: undefined reference to `int fmt::v8::detail::snprintf_float<__float128>(__float128, int, fmt::v8::detail::float_specs, fmt::v8::detail::buffer<char>&)'

Version-Release number of selected component (if applicable):


How reproducible:
Always

Comment 1 Fedora Admin user for bugzilla script actions 2022-07-09 00:09:56 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 2 Fedora Admin user for bugzilla script actions 2022-07-09 12:10:22 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 3 Mamoru TASAKA 2022-07-16 09:34:37 UTC
This happens when building fmt with clang, not with gcc - perhaps due to long double representation difference.

Once closing as FIXED, as folly-2022.03.14.00-5.fc37 is build with gcc again even on ppc64le.


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