Page MenuHomeFreeBSD

Bring over some fixes from the other external GCC toolchain ports.
ClosedPublic

Authored by jhb on Mar 21 2018, 6:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 20 2023, 2:33 AM
Unknown Object (File)
Nov 14 2023, 8:35 AM
Unknown Object (File)
Nov 10 2023, 6:53 AM
Unknown Object (File)
Nov 8 2023, 6:53 AM
Unknown Object (File)
Nov 7 2023, 9:30 AM
Unknown Object (File)
Nov 7 2023, 8:22 AM
Unknown Object (File)
Nov 7 2023, 6:18 AM
Unknown Object (File)
Nov 6 2023, 4:00 PM
Subscribers

Details

Summary

This is generally inspired by the changes in r465416 and subsequent fixes.

  • Remove include-fixed headers.
  • Strip /usr/local/include from the default include path.
  • Use libc++ for C++ instead of libstdc++.
  • Force build of a cross compiler if built on a riscv64 host.
  • Bump PORTREVISION.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

swills added inline comments.
devel/riscv64-gcc/Makefile
5 ↗(On Diff #40558)

Patch failed to apply for me because the PORTREVISION was already set to 2, FWIW

Besides PORTREVISION, all look good to me.

  • Rebase on today's ports tree.
This revision is now accepted and ready to land.Mar 24 2018, 7:30 AM

@jhb : are you going to commit this?

In testing I found that it needed some additional changes from devel/powerpc64-gcc for libc++. Those appear to have worked, but when I tried a related fix for amd64-gcc I got a weird build error in an amd64 buildworld I haven't resolved yet.

  • Changes to use libc++ instead of libstc++.
  • Define CROSS_DIRECTORY_STRUCTURE always.
This revision now requires review to proceed.Apr 1 2018, 6:01 PM
This revision is now accepted and ready to land.Apr 3 2018, 6:32 AM
This revision was automatically updated to reflect the committed changes.