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
F103127490: D16351.id45550.diff
Thu, Nov 21, 9:05 AM
F103099873: D16351.diff
Wed, Nov 20, 11:45 PM
Unknown Object (File)
Tue, Nov 19, 8:23 PM
Unknown Object (File)
Tue, Nov 19, 5:04 PM
Unknown Object (File)
Mon, Nov 11, 8:54 AM
Unknown Object (File)
Wed, Oct 23, 10:07 AM
Unknown Object (File)
Oct 17 2024, 11:44 AM
Unknown Object (File)
Oct 16 2024, 11:33 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).