mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 01:56:37 -04:00
GCC, the GNU Compiler Collection, supports a number of languages. This port installs the C, C++, and Fortran front ends as gcc13, g++13, and gfortran13, respectively. This is the first release from the GCC 13 series. It largely is a copy of lang/gcc13-devel, with release-specific modifications from lang/gcc12. Common issues that could happen when porting code to GCC 13: https://gcc.gnu.org/gcc-13/porting_to.html Changes: https://gcc.gnu.org/gcc-13/changes.html Reviewed by: gerald, Dan McGregor <dan.mcgregor@usask.ca> Differential Revision: https://reviews.freebsd.org/D39841
18 lines
623 B
Text
18 lines
623 B
Text
libc++ on FreeBSD always uses PathScale libcxxrt and cannot change to
|
|
LLVM libc++abi without breaking backward compatibility. Besides, mixing
|
|
different C++ ABIs is not supported unless subset via DT_FILTER.
|
|
|
|
https://github.com/llvm/llvm-project/commit/35479ffb1251
|
|
https://github.com/freebsd/freebsd-src/commit/cf56074e5271
|
|
|
|
--- gcc/cp/g++spec.cc.orig 2022-07-31 22:32:16 UTC
|
|
+++ gcc/cp/g++spec.cc
|
|
@@ -60,7 +60,7 @@ along with GCC; see the file COPYING3. If not see
|
|
#endif
|
|
|
|
#ifndef LIBCXXABI
|
|
-#define LIBCXXABI "c++abi"
|
|
+#define LIBCXXABI "cxxrt"
|
|
#endif
|
|
#ifndef LIBCXXABI_PROFILE
|
|
#define LIBCXXABI_PROFILE LIBCXXABI
|