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)
Sun, Dec 28, 5:45 AM
Unknown Object (File)
Fri, Dec 19, 10:34 PM
Unknown Object (File)
Thu, Dec 11, 6:56 PM
Unknown Object (File)
Nov 28 2025, 8:57 AM
Unknown Object (File)
Nov 27 2025, 3:16 AM
Unknown Object (File)
Nov 19 2025, 6:19 PM
Unknown Object (File)
Nov 17 2025, 10:02 AM
Unknown Object (File)
Nov 17 2025, 8:19 AM
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.