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, Mar 8, 3:59 AM
Unknown Object (File)
Feb 14 2026, 2:57 PM
Unknown Object (File)
Feb 1 2026, 8:06 PM
Unknown Object (File)
Jan 25 2026, 7:15 AM
Unknown Object (File)
Jan 16 2026, 4:18 AM
Unknown Object (File)
Jan 15 2026, 5:33 PM
Unknown Object (File)
Jan 14 2026, 1:30 AM
Unknown Object (File)
Jan 12 2026, 6:21 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.