Page MenuHomeFreeBSD

Create devel/powerpcspe-xtoolchain-gcc and supporting ports
AbandonedPublic

Authored by jhibbits on Jul 19 2018, 5:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 7 2024, 5:51 AM
Unknown Object (File)
Jan 27 2024, 8:29 AM
Unknown Object (File)
Dec 20 2023, 2:33 AM
Unknown Object (File)
Dec 17 2023, 7:06 AM
Unknown Object (File)
Dec 14 2023, 5:23 AM
Unknown Object (File)
Dec 10 2023, 1:14 AM
Unknown Object (File)
Dec 6 2023, 11:58 AM
Unknown Object (File)
Nov 6 2023, 7:39 PM
Subscribers

Details

Reviewers
jhb
bapt
Summary

Add new ports necessary for cross building for powerpcspe:

  • devel/powerpcspe-binutils
  • devel/powerpcspe-gcc
  • devel/powerpcspe-xtoolchain-gcc
Test Plan

Still need to buildworld with these ports.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 18172
Build 17906: arc lint + arc unit

Event Timeline

linimon retitled this revision from Create powerpcspe-xtoolchain and supporting ports to Create devel/powerpcspe-xtoolchain-gcc and supporting ports.Jul 20 2018, 1:31 AM
linimon added a subscriber: linimon.

This looks ok to me, but I'm not a ports committer. Did you use poudriere testport or 'make check-plist' to verify the packing lists?

This revision is now accepted and ready to land.Jul 23 2018, 8:48 PM
In D16351#348390, @jhb wrote:

This looks ok to me, but I'm not a ports committer. Did you use poudriere testport or 'make check-plist' to verify the packing lists?

Yes, I did. Took a while to get the plist correct.

I did try cross-building world from powerpc64 to powerpcspe, and got an ICE when building pretty much anything (same with building kernel). Not sure if it will also manifest on amd64, and haven't tried to track it down yet.

devel/powerpcspe-gcc/pkg-plist
99

poudriere reports:

===>  Building package for powerpcspe-gcc-6.4.0_2
pkg-static: Unable to access file /wrkdirs/usr/ports/devel/powerpcspe-gcc/work/stage/usr/local/lib/gcc/powerpcspe-unknown-freebsd11.1/6.4.0/plugin/include/config/rs6000/e500.h:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/devel/powerpcspe-gcc/work/stage/usr/local/lib/gcc/powerpcspe-unknown-freebsd11.1/6.4.0/plugin/include/config/rs6000/linuxspe.h:No such file or directory
*** Error code 1

After removing these two files from pkg-plist it packages fine, but I see --enable-e500_double in CONFIGURE_ARGS and am wondering if those e500.h is a necessary file.

devel/powerpcspe-xtoolchain-gcc/Makefile
3

I highly suspect this line is not necessary.

devel/powerpcspe-binutils/Makefile
9

just be curious, why do we use powerpc- but not default powerpcspe-?

devel/powerpcspe-binutils/Makefile
9

Because binutils doesn't understand the powerpcspe- target. devel/binutils does something similar.

But, on second thought, I could just dump devel/powerpcspe-binutils, and make devel/powerpcspe-gcc depend on devel/powerpc-binutils (and create devel/powerpc-binutils....)

devel/powerpcspe-gcc/pkg-plist
99

That's odd, when building this locally I needed to add those files to the plist, because poudriere complained about them as orphaned files.

devel/powerpcspe-xtoolchain-gcc/Makefile
3

You're right. This was a straight C&P of I think mips-xtoolchain-gcc

No need for this anymore. We have clang, and GCC has abandoned powerpcspe (last supported version is gcc8, used as ports gcc).