118 Commits

Author SHA1 Message Date
Lorenzo Salvadore
2c55d2ac4d
lang/gcc13-devel: Update to 13.2.1.s20240517 2024-05-23 11:23:57 +02:00
Lorenzo Salvadore
919c7abeef
lang/gcc13-devel: Update to 13.2.1.s20240503 2024-05-04 15:58:21 +00:00
Lorenzo Salvadore
f47fbb80c3
lang/gcc13-devel: Update to 13.2.1.s20240426 2024-04-30 15:38:07 +00:00
Lorenzo Salvadore
84b0cb5c8a
lang/gcc13-devel: Update to 13.2.1.s20240420 2024-04-23 13:04:03 +00:00
Lorenzo Salvadore
78393eab96
lang/gcc13-devel: Update to 13.2.1.s20240413 2024-04-15 12:33:34 +00:00
Lorenzo Salvadore
375dd03e8e
lang/gcc13-devel: Update to 13.2.1.s20240406
Also remove obsolete patch files: patch have been upstreamed in upstream
commits 68057560ff1fc0fb2df38c2f9627a20c9a8da5c5 and
e95ab9e60ce1d9aa7751d79291133fd5af9209d7.
2024-04-08 19:27:10 +00:00
Lorenzo Salvadore
6c9e20989e
lang/gcc13-devel: Update to 13.2.1.s20240330 2024-04-06 10:33:54 +00:00
Lorenzo Salvadore
3a1f0991ae
lang/gcc13-devel: Update to 13.2.1.s20240323 2024-03-24 08:03:25 +00:00
Lorenzo Salvadore
588add0e92
lang/gcc13-devel: Update to 13.2.1.s20240316 2024-03-21 12:44:57 +00:00
Lorenzo Salvadore
85301c5e75
lang/gcc13-devel: Update to 13.2.1.s20240224 2024-02-26 22:50:54 +00:00
Lorenzo Salvadore
77daef4b2a
lang/gcc13-devel: Update to 13.2.1.s20240217 2024-02-21 20:47:27 +00:00
Lorenzo Salvadore
9c6bad7923
lang/gcc13-devel: Update to 13.2.1.s20240210 2024-02-15 17:52:27 +00:00
Lorenzo Salvadore
1fd1042f85
lang/gcc13-devel: Update to 13.2.1.s20240203 2024-02-06 10:45:46 +00:00
Lorenzo Salvadore
67d34142e7
lang/gcc13-devel: Update to 13.2.1.s20240127 2024-02-01 13:48:57 +00:00
Muhammad Moinur Rahman
76644265ac
lang/gcc13-devel: Moved man to share/man
Approved by:    portmgr (blanket)
2024-01-28 14:39:23 +01:00
Lorenzo Salvadore
1905a6ffed
lang/gcc13-devel: Update to 13.2.1.s20240120 2024-01-23 09:15:30 +00:00
Lorenzo Salvadore
7f9bced713
lang/gcc13-devel: Update to 13.2.1.s20240113 2024-01-15 10:47:18 +00:00
Lorenzo Salvadore
9c8633f6b2
lang/gcc13-devel: Fix Address sanitizer
Software compiled with -fsanitize=address fails to run with the error
message "ASan runtime does not come first in initial library list; you
should either link runtime to your application or manually preload it
with LD_PRELOAD".

This commit fixes the issue by ignoring the [vdso] loaded shared library
instead of linux-vdso.so.

To successfully run the software compiled with -fsanitize=address it is
still necessary to disable ASLR.

PR:		267751
Reported by:	yuri

Co-authored-by: Andreas Tobler <andreast@gcc.gnu.org>
2024-01-13 08:17:23 +00:00
Lorenzo Salvadore
3288d73b01
lang/gcc13-devel: Update to 13.2.1.s20240106 2024-01-08 10:04:10 +00:00
Piotr Kubaj
56fe1f80d8 lang/gcc13-devel: switch to using clang, as with other stable GCC branches and remove ELFv1 support 2024-01-05 22:03:54 +01:00
Lorenzo Salvadore
b5ce239ad1
lang/gcc13-devel: Update to 13.2.1.s20231230 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
97db367fc3
lang/gcc13-devel: Update to 13.2.1.s20231223 2023-12-25 10:59:43 +00:00
Lorenzo Salvadore
966433500a
lang/gcc13-devel: Update to 13.2.1.s20231216 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
db0cb60231
lang/gcc13-devel: Update to 13.2.1.s20231209 2023-12-12 08:22:27 +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
a03106812a
lang/gcc13-devel: Update to 13.2.1.s20231202 2023-12-04 11:31:32 +00:00
Lorenzo Salvadore
f345841164
lang/gcc13-devel: Update to 13.2.1.s20231125 2023-11-27 14:11:20 +00:00
Lorenzo Salvadore
272795e137
lang/gcc13-devel: Update to 13.2.1.s20231118 2023-11-20 11:15:07 +00:00
Lorenzo Salvadore
d8503d4fc1
lang/gcc13-devel: Update to 13.2.1.s20231111 2023-11-13 09:50:52 +00:00
Lorenzo Salvadore
fd6b2af320
lang/gcc13-devel: Update to 13.2.1.s20231104 2023-11-06 07:09:36 +00:00
Lorenzo Salvadore
7c1800d0e5
lang/gcc13-devel: Update to 13.2.1.s20231028 2023-10-29 14:00:04 +00:00
Lorenzo Salvadore
b0668e9bc8
lang/gcc13-devel: Update to 13.2.1.s20231021 2023-10-23 13:10:06 +00:00
Lorenzo Salvadore
3f035fd4a4
lang/gcc13-devel: Update to 13.2.1.s20231014 2023-10-16 07:11:14 +00:00
Piotr Kubaj
06404d3cda lang/gcc13-devel: fix build on powerpc
cc1plus: out of memory allocating 48749344 bytes after a total of 0 bytes
2023-10-12 07:06:24 +02:00
Lorenzo Salvadore
046fdc773a
lang/gcc13-devel: Update to 13.2.1.s20231007 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
ced8dbd480
lang/gcc13-devel: Update to 13.2.1.s20230930 2023-10-04 13:01:50 +02:00
Lorenzo Salvadore
7f3e72ec68
lang/gcc13-devel: Update to 13.2.1.s20230923 2023-09-25 19:30:26 +02:00
Lorenzo Salvadore
48619cf1f8
lang/gcc13-devel: Update to 13.2.1.s20230916 2023-09-17 18:07:07 +02:00
Lorenzo Salvadore
64cb25fe60
lang/gcc13-devel: Update to 13.2.1.s20230909 2023-09-10 15:24:56 +02:00
Lorenzo Salvadore
586fd6310f
lang/gcc13-devel: Update to 13.2.1.s20230902 2023-09-03 12:55:57 +02:00
Lorenzo Salvadore
0e8db540b2
lang/gcc13-devel: Update to 13.2.1.s20230826 2023-09-01 11:41:18 +00:00
Lorenzo Salvadore
6e3403f056
lang/gcc13-devel: Update to 13.2.1.s20230819 2023-08-25 17:53:50 +00:00
Lorenzo Salvadore
7e695de952
lang/gcc13-devel: Update to 13.2.1.s20230812 2023-08-15 14:31:14 +00:00
Lorenzo Salvadore
aa6439120d
lang/gcc13-devel: Update to 13.2.1.s20230805 2023-08-08 15:47:56 +00:00
Lorenzo Salvadore
6d227c4789
lang/gcc13-devel: Update to 13.2.1.s20230729 2023-08-01 20:03:28 +00:00
Lorenzo Salvadore
02b09ebb11
lang/gcc13-devel: Update to 13.1.1.s20230722 2023-07-25 16:09:46 +00:00
Lorenzo Salvadore
245328413a
lang/gcc13-devel: Update to 13.1.1.s20230715 2023-07-16 12:09:36 +00:00