Bug 2074663 - darktable build fails on ppc64le only
Summary: darktable build fails on ppc64le only
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: gcc-toolset-11
Version: 8.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Marek Polacek
QA Contact: qe-baseos-tools-bugs
URL:
Whiteboard:
Depends On:
Blocks: 2074700
TreeView+ depends on / blocked
 
Reported: 2022-04-12 18:11 UTC by Germano Massullo
Modified: 2023-07-18 14:19 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-04-13 13:03:48 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-118694 0 None None None 2022-04-12 18:16:05 UTC

Description Germano Massullo 2022-04-12 18:11:29 UTC
Good day.
Following darktable build fails on ppc64le only. In past a similar problem was caused by a bug in OpenMP / GCC, so I wanted to report this problem here.

epel8-next https://koji.fedoraproject.org/koji/taskinfo?taskID=85563318
epel8 https://koji.fedoraproject.org/koji/taskinfo?taskID=85568505

the compiler seems to fail on file darktable/src/common/fast_guided_filter.h
Best regards

Comment 1 Marek Polacek 2022-04-12 18:24:55 UTC
So this looks like a dup of https://bugzilla.redhat.com/show_bug.cgi?id=2038839

What is different this time?  What gcc is used to build darktable?

Comment 2 Germano Massullo 2022-04-12 19:53:33 UTC
gcc-toolset-11 has been now used. Instead in 
https://bugzilla.redhat.com/show_bug.cgi?id=2038839
it was GCC 8.5

Comment 3 Marek Polacek 2022-04-12 20:21:53 UTC
I see.  Argh, I thought this worked: https://bugzilla.redhat.com/show_bug.cgi?id=2038839#c1
So no clue why it doesn't work now.  Will have to try to reproduce...

Comment 4 Germano Massullo 2022-04-12 20:26:49 UTC
If you need any help, let me know

Comment 5 Germano Massullo 2022-04-13 07:48:44 UTC
In devel.org I have been told that a similar problem is being solved in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102059

Comment 6 Dan Horák 2022-04-13 09:18:02 UTC
Seems the darktable build isn't using gcc 11 from the toolset, but the system one (8.5). The toolset's gcc isn't enabled correctly, a PR will follow.

Comment 7 Germano Massullo 2022-04-13 10:50:22 UTC
Hello, this bugreport can be closed as "not a bug" since I did not correctly enable GCC toolset 11, but this has now been fixed by Dan Horák in
https://src.fedoraproject.org/rpms/darktable/pull-request/6
and
https://src.fedoraproject.org/rpms/darktable/pull-request/7

and the package is correctly building
https://koji.fedoraproject.org/koji/buildinfo?buildID=1948510

Cheers

Comment 8 Marek Polacek 2022-04-13 13:03:48 UTC
(In reply to Germano Massullo from comment #7)
> Hello, this bugreport can be closed as "not a bug" since I did not correctly
> enable GCC toolset 11, but this has now been fixed by Dan Horák in
> https://src.fedoraproject.org/rpms/darktable/pull-request/6
> and
> https://src.fedoraproject.org/rpms/darktable/pull-request/7
> 
> and the package is correctly building
> https://koji.fedoraproject.org/koji/buildinfo?buildID=1948510
> 
> Cheers

Great.

Closing then.


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