Bug 1215812 - cross-ppc64le-gcc no longer built for SLE
Summary: cross-ppc64le-gcc no longer built for SLE
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Development (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-28 12:51 UTC by Michal Suchanek
Modified: 2023-10-02 10:03 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Suchanek 2023-09-28 12:51:14 UTC
The devel:gcc project no longer has cross-compilers built for SLE.

We use these cross-compilers to test building the kernel on different platforms.
Comment 1 Richard Biener 2023-09-28 13:18:34 UTC
Yes, we're not keeping both "modes" but now build the "real" cross compilers where possible.  You can use the cross-ppc64le-gcc13-bootstrap packages
though, those still contain the "freestanding" variant and the -bootstrap
packages are always built since they do not depend on the cross glibc.

Does that provide everything necessary?
Comment 2 Michal Suchanek 2023-09-28 13:40:13 UTC
At the very least it does not provide the package name.

I will try using the bootstrap compiler and see if that works.
Comment 3 Michal Suchanek 2023-09-28 14:35:30 UTC
I was able to aggregate the bootstrap compilers on SLE15 bu on SLE12 the cross-gcc does not build because of missing cross-binutils.
Comment 4 Richard Biener 2023-09-29 06:15:12 UTC
But with missing cross-binutils how could you cross-compile kernels there?  This can hardly be a regression then?  ISTR you are (re-)building packages somewhere, so I suggest you (re-)build binutils as fit.

You can also cross-compile for SLE12 from SLE15.
Comment 5 Michal Suchanek 2023-09-29 08:44:37 UTC
They are not missing, they are missing the 'use for build' flag.

And of course, any historical packages remain.
Comment 6 Michal Suchanek 2023-10-02 10:03:14 UTC
(In reply to Richard Biener from comment #4)
> But with missing cross-binutils how could you cross-compile kernels there? 
> This can hardly be a regression then?  ISTR you are (re-)building packages
> somewhere, so I suggest you (re-)build binutils as fit.
> 
> You can also cross-compile for SLE12 from SLE15.

However, that means going into the server room and putting SLE15 boot media into the builders.

I needed to reinstall a machine anyway so I also migrated the builders, with this I don't really need to have cross-compilers on SLE12.

(In reply to Michal Suchanek from comment #5)
> They are not missing, they are missing the 'use for build' flag.
> 
> And of course, any historical packages remain.

Which I suppose would be the fallout of using multibuild instead of package links. With package links the flags can be specified per package, with multibuild they cannot.