Commit graph

151 commits

Author SHA1 Message Date
Lorenzo Salvadore
44fe3a8e36
lang/gcc12-devel: Update to 12.3.1.s20240223 2024-02-26 22:50:53 +00:00
Lorenzo Salvadore
e52c09cb5e
lang/gcc12-devel: Update to 12.3.1.s20240216 2024-02-21 20:47:27 +00:00
Lorenzo Salvadore
58e5e20806
lang/gcc12-devel: Update to 12.3.1.s20240209 2024-02-15 17:52:27 +00:00
Lorenzo Salvadore
2895d1f9ec
lang/gcc12-devel: Update to 12.3.1.s20240202 2024-02-06 10:45:46 +00:00
Lorenzo Salvadore
f51854dd92
lang/gcc12-devel: Update to 12.3.1.s20240126 2024-02-01 13:48:56 +00:00
Muhammad Moinur Rahman
654c93a5d3
lang/gcc12-devel: Moved man to share/man
Approved by:    portmgr (blanket)
2024-01-28 19:33:05 +01:00
Lorenzo Salvadore
0fd11ab1b3
lang/gcc12-devel: Update to 12.3.1.s20240119 2024-01-23 09:15:29 +00:00
Lorenzo Salvadore
8e9dbcbcd8
lang/gcc12-devel: Update to 12.3.1.s20240112 2024-01-15 10:47:17 +00:00
Lorenzo Salvadore
88074e5715
lang/gcc12-devel: Update to 12.3.1.s20240105 2024-01-08 10:04:09 +00:00
Piotr Kubaj
bc3b38ef64 lang/gcc12-devel: remove ELFv1 support 2024-01-05 22:03:58 +01:00
Lorenzo Salvadore
9917db79eb
lang/gcc12-devel: Update to 12.3.1.s20231229 2024-01-01 13:24:26 +00:00
Muhammad Moinur Rahman
bbab7f59e9 */*: Sunset 12.4-RELEASE/12-STABLE from ports tree
- Remove all references to defunct ARCH arm
- Remove all references to defunct ARCH sparc64
- Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64
  ARCH
- Remove sysutils/afbinit requires defunct sparc64 ARCH
- Remove all references to bktr driver
- Remove all references to defunct FreeBSD_12
- Remove all references to OSVERSION/OSREL corresponding to 12
- Remove conditionals in Mk/Uses/cabal.mk
- Remove sparc reference from Mk/Uses/qt-dist.mk
- Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64
- Remove BROKEN_FreeBSD_12* from:
- Remove OpenSSL patches from:
- Remove conditional flags for OSVERSION >= 1300000 to fixed flags.
  Also move conditional flags for non sparc64/arm ARCH to fixed flags.

Reviewed by:	brooks, jbeich, rene, salvadore
Differential Revision: https://reviews.freebsd.org/D42068
2023-12-31 01:37:05 +01:00
Lorenzo Salvadore
89f90a9fac
lang/gcc12-devel: Update to 12.3.1.s20231222 2023-12-25 10:59:43 +00:00
Lorenzo Salvadore
22ab72be62
lang/gcc12-devel: Update to 12.3.1.s20231215 2023-12-20 07:47:20 +00:00
Dimitry Andric
a4831f4933 lang/gcc12 lang/gcc12-devel lang/gcc13 lang/gcc13-devel lang/gcc14-devel: fix build without bootstrap
When more recent gcc ports are built without bootstrap, compiling libcc1
plugins results in errors similar to:

  In file included from /wrkdirs/share/dim/ports/lang/gcc13/work/gcc-13.2.0/libcc1/libcc1plugin.cc:72:
  In file included from /usr/include/c++/v1/vector:321:
  In file included from /usr/include/c++/v1/__format/formatter_bool.h:20:
  In file included from /usr/include/c++/v1/__format/formatter_integral.h:32:
  /usr/include/c++/v1/locale:289:36: error: attempt to use a poisoned identifier
    289 |         __status = (unsigned char*)malloc(__nkw);
        |                                    ^
  /usr/include/c++/v1/locale:1584:28: error: attempt to use a poisoned identifier
   1584 |         __ob = (char_type*)malloc(2*static_cast<size_t>(__nc)*sizeof(char_type));
        |                            ^

This is because gcc's own system.h header poisons these identifiers, and
the libcc1 plugins include <vector> after that. (Note that libstdc++ is
not affected because they seem to have implicitly included <vector>
already at that point.)

Fix it by telling system.h to include <vector> at the correct place, and
removing the explicit includes from libcc1plugin.cc and libcp1plugin.cc.

PR:		275748
MFH:		2023Q4
2023-12-15 21:36:59 +01:00
Lorenzo Salvadore
a1c4ddad72
lang/gcc12-devel: Update to 12.3.1.s20231208 2023-12-12 08:22:26 +00:00
Thierry Thomas
510dbd1e20 lang/gcc12+: forward the installation of ISO_Fortran_binding.h in a separate dir
PR:		275431
Approved by:	salvadore@ (maintainer)
2023-12-05 19:11:27 +01:00
Lorenzo Salvadore
4582436e30
lang/gcc12-devel: Update to 12.3.1.s20231201 2023-12-04 11:31:31 +00:00
Lorenzo Salvadore
dd9505f08b
lang/gcc12-devel: Update to 12.3.1.s20231124 2023-11-27 14:11:19 +00:00
Lorenzo Salvadore
68fb19441c
lang/gcc12-devel: Update to 12.3.1.s20231117 2023-11-20 11:15:07 +00:00
Lorenzo Salvadore
b358352ddd
lang/gcc12-devel: Update to 12.3.1.s20231110 2023-11-13 09:50:51 +00:00
Lorenzo Salvadore
c7ecb352f2
lang/gcc12-devel: Update to 12.3.1.s20231103 2023-11-06 07:09:35 +00:00
Lorenzo Salvadore
d1e7f77a0a
lang/gcc12-devel: Update to 12.3.1.s20231027 2023-10-29 14:00:03 +00:00
Lorenzo Salvadore
9a2709aedf
lang/gcc12-devel: Update to 12.3.1.s20231020 2023-10-23 13:10:05 +00:00
Lorenzo Salvadore
318cdd6759
lang/gcc12-devel: Update to 12.3.1.s20231013 2023-10-16 07:11:14 +00:00
Lorenzo Salvadore
34afd293fd
lang/gcc12-devel: Update to 12.3.1.s20231006 2023-10-09 10:49:15 +00:00
Dimitry Andric
b7833e78f7 lang/gcc10 lang/gcc11 lang/gcc11-devel lang/gcc12 lang/gcc12-devel lang/gcc13 lang/gcc13-devel lang/gcc14-devel: fix build with libc++ 17
When building relatively recent gcc ports (with C++ in them) against
libc++ 17, you get errors similar to:

  In file included from /wrkdirs/usr/ports/lang/gcc12/work/gcc-12.2.0/gcc/cp/module.cc:208:
  In file included from /wrkdirs/usr/ports/lang/gcc12/work/gcc-12.2.0/gcc/system.h:239:
  In file included from /usr/include/c++/v1/vector:321:
  In file included from /usr/include/c++/v1/__format/formatter_bool.h:20:
  In file included from /usr/include/c++/v1/__format/formatter_integral.h:32:
  In file included from /usr/include/c++/v1/locale:202:
  /usr/include/c++/v1/__locale:546:5: error: '__abi_tag__' attribute only applies to structs, variables, functions, and namespaces
    546 |     _LIBCPP_INLINE_VISIBILITY
        |     ^
  /usr/include/c++/v1/__config:813:37: note: expanded from macro '_LIBCPP_INLINE_VISIBILITY'
    813 | #  define _LIBCPP_INLINE_VISIBILITY _LIBCPP_HIDE_FROM_ABI
        |                                     ^
  /usr/include/c++/v1/__config:792:26: note: expanded from macro '_LIBCPP_HIDE_FROM_ABI'
    792 |           __attribute__((__abi_tag__(_LIBCPP_TOSTRING(_LIBCPP_VERSIONED_IDENTIFIER))))
        |                          ^
  In file included from /wrkdirs/usr/ports/lang/gcc12/work/gcc-12.2.0/gcc/cp/module.cc:208:
  In file included from /wrkdirs/usr/ports/lang/gcc12/work/gcc-12.2.0/gcc/system.h:239:
  In file included from /usr/include/c++/v1/vector:321:
  In file included from /usr/include/c++/v1/__format/formatter_bool.h:20:
  In file included from /usr/include/c++/v1/__format/formatter_integral.h:32:
  In file included from /usr/include/c++/v1/locale:202:
  /usr/include/c++/v1/__locale:547:37: error: expected ';' at end of declaration list
    547 |     char_type toupper(char_type __c) const
        |                                     ^
  /usr/include/c++/v1/__locale:553:48: error: too many arguments provided to function-like macro invocation
    553 |     const char_type* toupper(char_type* __low, const char_type* __high) const
        |                                                ^
  /wrkdirs/usr/ports/lang/gcc12/work/gcc-12.2.0/gcc/../include/safe-ctype.h:146:9: note: macro 'toupper' defined here
    146 | #define toupper(c) do_not_use_toupper_with_safe_ctype
        |         ^

This is because gcc/system.h includes safe-ctype.h which redefines ctype
macros such as toupper, tolower, etc to "poison" them.

However, it should only include the safe-ctype.h header *after* any C++
headers, such as <list>, <map>, <string>, etc, otherwise these might
transitively include internal ctype headers (such as with libc++ 17),
causing the above conflicts.

Fix it by moving the safe-ctype.h inclusion to later in gcc/system.h,
which solves this issue, and makes it possible to build against libc++
17.

See also: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111632

PR:		274041
Approved by:	salvadore (maintainer)
MFH:		2023Q4
2023-10-06 19:48:53 +02:00
Lorenzo Salvadore
9094592ca6
lang/gcc12-devel: Update to 12.3.1.s20230929 2023-10-04 13:01:50 +02:00
Lorenzo Salvadore
7ee39196f1
lang/gcc12-devel: Update to 12.3.1.s20230922 2023-09-25 19:30:26 +02:00
Lorenzo Salvadore
610592b112
lang/gcc12-devel: Update to 12.3.1.s20230915 2023-09-17 18:07:06 +02:00
Lorenzo Salvadore
def50a6f3b
lang/gcc12-devel: Update to 12.3.1.s20230908 2023-09-10 15:24:55 +02:00
Lorenzo Salvadore
aa7cb0a3c7
lang/gcc12-devel: Update to 12.3.1.s20230901 2023-09-03 09:40:36 +02:00
Lorenzo Salvadore
c73fc88ec0
lang/gcc12-devel: Update to 12.3.1.s20230825 2023-09-01 11:41:18 +00:00
Lorenzo Salvadore
9c511ee187
lang/gcc12-devel: Update to 12.3.1.s20230818 2023-08-25 17:53:50 +00:00
Lorenzo Salvadore
afd47cc87e
lang/gcc12-devel: Update to 12.3.1.s20230811 2023-08-15 14:31:14 +00:00
Lorenzo Salvadore
d5840823ba
lang/gcc12-devel: Update to 12.3.1.s20230804 2023-08-08 15:47:56 +00:00
Lorenzo Salvadore
7c39c282db
lang/gcc12-devel: Update to 12.3.1.s20230728 2023-08-01 20:03:27 +00:00
Lorenzo Salvadore
0ae27c02a0
lang/gcc12-devel: Update to 12.3.1.s20230721 2023-07-25 16:09:46 +00:00
Lorenzo Salvadore
7a5b48be21
lang/gcc12-devel: Update to 12.3.1.s20230714 2023-07-16 12:09:35 +00:00
Lorenzo Salvadore
2afe0b891d
lang/gcc12-devel: Update to 12.3.1.s20230707 2023-07-16 12:09:34 +00:00
Lorenzo Salvadore
7ff9485606
lang/gcc12-devel: Update to 12.3.1.s20230630 2023-07-04 16:28:11 +00:00
Lorenzo Salvadore
9c4e66fb4a
lang/gcc12-devel: Update to 12.3.1.s20230623 2023-07-01 11:41:36 +00:00
Piotr Kubaj
91117ec83f lang/gcc*: fix build with CPUTYPE?=g[3-5]
GCC does not accept -mcpu=g4, but does accept -mcpu=G4.
2023-06-19 17:19:22 +02:00
Lorenzo Salvadore
22fa0afd1a
lang/gcc12-devel: Update to 12.3.1.s20230616 2023-06-18 17:42:08 +02:00
Lorenzo Salvadore
5fc4d2f691
lang/gcc12-devel: Update to 12.3.1.s20230609 2023-06-14 14:08:22 +02:00
Lorenzo Salvadore
872d61f8ea
lang/gcc12-devel: Switch back to standard bootstrap
Switch back to STANDARD_BOOTSTRAP on i386, amd64 and aarch64 as default
option instead of LTO_BOOTSTRAP: lto bootstrap produces too many
failures on the package builders for those architectures.

Users wanting to use LTO_BOOTSTRAP can still enable the option
manually.

The option stays enabled by default on powerpc, powerpc64 and
powerpc64le, for which I do not have failure reports from package
builders.
2023-06-03 16:16:31 +02:00
Lorenzo Salvadore
748d08cd85
lang/gcc12-devel: Update to 12.3.1.s20230602 2023-06-03 16:16:28 +02:00
Lorenzo Salvadore
ed308ed142
lang/gcc12-devel: Update to 12.3.1.s20230526 2023-05-29 19:43:32 +02:00
Lorenzo Salvadore
6ac0d1f7f5
lang/gcc12-devel: Update to 12.3.1.s20230519 2023-05-20 16:17:41 +02:00
Lorenzo Salvadore
779e8ab260
lang/gcc12-devel: Fix enable init_array patch
Add an error line that was missing in case _FreeBSD_version < 1000010.

Reported by:    gnikl@users.sourceforge.net
Fixes:  8c2a479977 lang/gcc12-devel: Enable support for .init_array and .fini_array
2023-05-20 16:17:36 +02:00