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 1247925 - add ppc64le and aarch64 support for fpc
Summary: add ppc64le and aarch64 support for fpc
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: fpc
Version: rawhide
Hardware: ppc64le
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Joost van der Sluis
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ARMTracker PPCTracker 1208911 1287833
TreeView+ depends on / blocked
 
Reported: 2015-07-29 09:14 UTC by Rafael Fonseca
Modified: 2020-06-27 15:40 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-06-27 15:40:58 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Rafael Fonseca 2015-07-29 09:14:59 UTC
Description of problem:

Currently there is no fpc package for ppc64le. That was due to the fact that there was no support upstream for such architecture. Now, upstream supports both ppc64le and aarch64 [1]. This package is needed as a dependency for other packages like lazarus and cqrlog.

[1] http://wiki.freepascal.org/FPC_New_Features_Trunk

Comment 2 Joost van der Sluis 2016-01-12 16:15:20 UTC
ppc64le is only supported in current trunk of fpc. (3.1.1)

So it is not possible to add this to Fedora at this moment. We could try to backport the support to 3.0.0, like was done with the ARM-support in fpc 2.6.4. But that can lead to all sort of compatibility issues. (Like that Fedora's 2.6.4 arm-compiler is not able to compile the 3.0.0 compiler...)

Comment 3 Dan Horák 2016-04-18 12:24:21 UTC
(In reply to Joost van der Sluis from comment #2)
> ppc64le is only supported in current trunk of fpc. (3.1.1)
> 
> So it is not possible to add this to Fedora at this moment. We could try to
> backport the support to 3.0.0, like was done with the ARM-support in fpc
> 2.6.4. But that can lead to all sort of compatibility issues. (Like that
> Fedora's 2.6.4 arm-compiler is not able to compile the 3.0.0 compiler...)

yes, waiting for a new stable release makes sense

Comment 4 Fedora End Of Life 2016-07-19 17:14:39 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 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.

Comment 5 Mattia Verga 2016-09-11 08:22:42 UTC
Rawhide is going to promote aarch64 as primary architecture. We need an update to fpc trunk to support this.

Comment 6 Peter Robinson 2016-09-11 09:10:24 UTC
(In reply to Mattia Verga from comment #5)
> Rawhide is going to promote aarch64 as primary architecture. We need an
> update to fpc trunk to support this.

Or we can wait for the release with support for it. Just because aarch64 is being promoted it doesn't mean we should run something like fpc to build for it. I'd prefer to wait for it to be ready so people have a good experience.

Comment 7 Dan Horák 2016-09-11 16:39:58 UTC
Right, there is a %{fpc_arches} macro that defines the set of arches supported by FPC so we shouldn't be seeing failed builds due missing FPC.

Comment 8 Artur Frenszek-Iwicki 2020-06-23 16:39:42 UTC
The official release of Free Pascal Compiler 3.2.0, with support for ppc64le and aarch64, took place on 2020-06-19.

FPC in Fedora Rawhide has been updated to v3.2.0 in this dist-git commit: https://src.fedoraproject.org/rpms/fpc/c/c84611dc473eb9faeb022400950f713d6963a499?branch=master
The koji build was successful: https://koji.fedoraproject.org/koji/buildinfo?buildID=1525593

I think this ticket can be closed now.

Comment 9 Dan Horák 2020-06-24 13:03:24 UTC
Yes, it can. And thanks for your work.


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