aboutsummaryrefslogtreecommitdiff
path: root/lang/gcc11
Commit message (Collapse)AuthorAgeFilesLines
* lang/gcc11: Remove expired portRene Ladan2025-09-2418-693/+0
| | | | | | 2025-07-19 lang/gcc11: End-of-life upstream since mid 2024, newer versions available Event: EuroBSDCon 2025 devsummit
* lang/gcc11: Deprecate with an expiration date of 2025-07-19Gerald Pfeifer2025-05-031-0/+2
| | | | | | | | | | | GCC 11 went end of life with the relase of GCC 11.5 on 2024-07-19, so time to deprecate and expire one year afterwards. With GCC 12, GCC 13, and GCC 14 there are three robust release branches available, and even GCC 15.1 has been released now. PR: 266189 Approved by: maintainer
* gcc*: properly define USE_LDCONFIG32 for multilibBaptiste Daroussin2025-03-131-0/+4
|
* lang/gcc*: disable building of libsspKyle Evans2024-10-291-0/+1
| | | | | | | | | | | For today's FreeBSD 14 and earlier, libssp is a nop because nothing on FreeBSD will be referencing these headers or lib. On FreeBSD 15, it actively breaks building with FORTIFY_SOURCE enabled and it's not worth trying to make it work- the potential for GCC improvements comes from the __builtin_object_size enhancement, not from these headers. PR: 280265 Approved by: salvadore (maintainer)
* all: drop support for expired FreeBSD 14.0Rene Ladan2024-10-011-2/+2
| | | | | | | | Simplify expressions for FreeBSD 13.X Reviewed by: many Differential Revision: https://reviews.freebsd.org/D46601
* lang/gcc11: Update to 11.5.0Lorenzo Salvadore2024-09-034-47/+26
| | | | | | | Changes: https://gcc.gnu.org/gcc-11/changes.html#11.5 PR: 281091 Tested by: exp-run (antoine)
* lang/gcc11: enable on riscv64Robert Clausecker2024-05-131-1/+1
| | | | | | | | Builds fine on 15-CURRENT. PR: 272759 Approved by: salvadore (maintainer) MFH: 2024Q2
* lang/gcc11: Moved man to share/manMuhammad Moinur Rahman2024-01-272-10/+12
| | | | Approved by: portmgr (blanket)
* lang/gcc11: remove ELFv1 supportPiotr Kubaj2024-01-051-1/+1
|
* */*: Sunset 12.4-RELEASE/12-STABLE from ports treeMuhammad Moinur Rahman2023-12-311-1/+1
| | | | | | | | | | | | | | | | | | | | | - 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
* lang/gcc11: fix build on powerpc64Piotr Kubaj2023-11-151-1/+1
| | | | Same issue as lang/gcc12 and newer.
* lang/gcc11: Update to 11.4.0Lorenzo Salvadore2023-11-012-5/+4
| | | | | | | Changes: https://gcc.gnu.org/gcc-11/changes.html#11.4 PR: 273397 Tested by: exp-run (antoine)
* lang/gcc11: Switch back to standard bootstrapLorenzo Salvadore2023-11-011-4/+4
| | | | | | | | | | | | | Switch back to STANDARD_BOOTSTRAP on i386, amd64 and aarch64 as default option instead of LTO_BOOTSTRAP, forwarding the changes already commited in the devel ports (commits daf12c76bd531335f58e7602afd3bc8da8fc5c33, 872d61f8ead10a6d935117876cf60057a46770ff, and da4cb11216a7ed594d5dc453deb4693b48c3c7e9). Users wanting to use LTO_BOOTSTRAP can still enable the option manually. PR: 273397 Tested by: exp-run (antoine)
* lang/gcc10 lang/gcc11 lang/gcc11-devel lang/gcc12 lang/gcc12-devel ↵Dimitry Andric2023-10-061-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* lang/gcc11: Fix build on FreeBSD 15Lorenzo Salvadore2023-09-141-3/+4
| | | | | | | | | Update files/patch-libphobos_libdruntime_core_sys_freebsd_config.d patch to take into account FreeBSD 15. See also commit 929ca7ff802f14a2852122678d0c1b9e5a89be22 which already did the same thing for lang/gcc11-devel. The new patch is indeed a copy of the one in lang/gcc11-devel.
* all: remove support for expired FreeBSD 13.1Rene Ladan2023-08-011-1/+1
| | | | | | | Approved by: portmgr (implicit), salvadore (gcc ports) Reviewed by: jbeich Differential Revision: https://reviews.freebsd.org/D40845
* lang/gcc*: fix build with CPUTYPE?=g[3-5]Piotr Kubaj2023-06-191-0/+5
| | | | GCC does not accept -mcpu=g4, but does accept -mcpu=G4.
* lang/gcc11: Work around aarch64 extraction bugLorenzo Salvadore2023-05-121-0/+9
| | | | | | | | | | | | | | | | | | Extraction fails with poudriere on aarch64 with the following error: => SHA256 Checksum OK for gcc-11.3.0.tar.xz. tar: Pathname can't be converted from UTF-8 to current locale. tar: Pathname can't be converted from UTF-8 to current locale. tar: Error exit delayed from previous errors. Enforcing use of bsdtar works around the issue. The issue is specific to lang/gcc11 and lang/gcc12: no other GCC port is affected. See also bug https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246670. PR: 271052 Reported by: Vidar Karlsen <vidar@karlsen.tech> Reviewed by: gerald, mikael
* *: Bump PORTREVISIONs for math/mpc update to 1.3.1Gerald Pfeifer2023-04-231-1/+1
|
* */*: Sunset 12.3-RELEASE from ports tree12.3-eolMuhammad Moinur Rahman2023-03-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Mk/bsd.port.mk: mark FreeBSD 12.3 as unsupported. - Mk/Uses/cabal.mk: Remove the text-2 workaround for 12.3-RELEASE - biology/wfa2-lib: remove obsolete patch - databases/mongodb60: remove IGNORE for EOL FreeBSD 12.3 - devel/concurrencpp: remove workaround for EOL FreeBSD 12.3 - devel/electron22: remove IGNORE for EOL FreeBSD 12.3 - devel/malloy: this should build fine on 12.4-RELEASE - devel/qcoro: remove BROKEN for EOL FreeBSD 12.3 - devel/root: remove workaround for EOL FreeBSD 12.3 - editors/imhex: remove IGNORE for EOL FreeBSD 12.3 - emulators/ppsspp: remove workaround for EOL FreeBSD 12.3 - emulators/rpcs3: remove workaround for EOL FreeBSD 12.3 - emulators/yuzu: remove workaround for EOL 12.3-RELEASE - games/aquaria: remove support for EOL FreeBSD 12.3 - games/punchy: remove workaround for EOL FreeBSD 12.3 - graphics/cxxplot: remove support for EOL FreeBSD 12.3 - lang/gcc11*: bump a __FreeBSD_version in libphobos to 1204000 - lang/rust: untangle OSVERSION logic a bit - misc/mbuffer: remove workaround for EOL FreeBSD 12.3 for aarch64 - sysutils/libdisplay-info: remove workaround for EOL FreeBSD 12.3 - www/*chromium: remove IGNORE for EOL FreeBSD 12.3 - x11/hyprpaper: remove workaround for expired FreeBSD 12.3 - x11-wm/labwc: remove workaround for EOL FreeBSD 12.3 - x11-wm/kwinft: remove workaround for EOL FreeBSD 12.3 - www/iridium: remove IGNORE for EOL FreeBSD 12.3 Differential Revision: https://reviews.freebsd.org/D38664
* lang/gcc11: Mark PIE_UNSAFELorenzo Salvadore2023-02-031-0/+2
| | | | | | | | | | | Building the port with WITH_PIE fails if STANDARD_BOOTSTRAP or LTO_BOOTSTRAP option is enabled. Mark PIE_UNSAFE when such an option is enabled until a better solution is found. PR: 268901 Reported by: netchild
* lang/gcc11: Re-execute program with ASLR disabled when necessaryLorenzo Salvadore2022-12-033-1/+94
| | | | | | | | | | | | | | Software compiled with -fsanitize=address needs ASLR to be disabled to run successfully. Add patches taken from the commits listed below that improve ASLR detection and re-execute the program with ASLR disabled if necessary. https://cgit.freebsd.org/src/commit/?id=7cafe89f9ce33effe6e471b185339d413da1ca46 https://cgit.freebsd.org/src/commit/?id=930a7c2ac67e1e8e511aa1d0a31a16c632060ebb https://cgit.freebsd.org/src/commit/?id=96fe7c8ab0f65cf829619abd74ae6c126b21e15f PR: 267751
* lang/gcc11: Fix Address sanitizerLorenzo Salvadore2022-12-032-1/+19
| | | | | | | | | | | | | 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. PR: 267751 Reported by: yuri
* lang/gcc11: Fix conflict on libgccjit.h and libgccjit++.h againLorenzo Salvadore2022-11-064-3/+34
| | | | | | | | | | | | | | | | | This is the second attempt to solve the conflict, see commits - dc67e7d3009de2b78d96136c8ad09cf186e553df (first attempt); - 9f0cd13014d0962aedfa016c86a5af07ca3ba814 (revert of the first attempt). GCC 11, GCC 12 and GCC 13 install libgccjit.h and libgccjit++.h in the same directory. Fix conflict for GCC 11, which is GCC_DEFAULT, by installing those files in a directory specific to GCC 11. PR: 257060 Reviewed by: yasu, jrm Differential Revision: https://reviews.freebsd.org/D37266
* lang/gcc11: Revert "Fix conflict on libgccjit.h and libgccjit++.h"Lorenzo Salvadore2022-11-044-34/+3
| | | | | | | | | | | | | | | | This reverts commit dc67e7d3009de2b78d96136c8ad09cf186e553df. The revert is necessary as - lang/gcc11/files/patch-gcc_Makefile.in was wrong: it should have used $(version) instead of $(gcc_version); - even after correcting the above mistake, the patch still does not work: lang/emacs fails to configure and hence to build. See also https://reviews.freebsd.org/D37266 . PR: 257060 Reported by: yasu
* lang/gcc11: Fix conflict on libgccjit.h and libgccjig++.hLorenzo Salvadore2022-11-034-3/+34
| | | | | | | | | | | | | | GCC 11, GCC 12 and GCC 13 install libgccjit.h and libgccjit++.h in the same directory. Fix conflict for GCC 11, which is GCC_DEFAULT, by installing those files in a directory specific to GCC 11. PR: 257060 Reported by: Ting-Wei Lan <lantw44@gmail.com> Reviewed by: gerald, dim Differential Revision: https://reviews.freebsd.org/D37242 See also: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101491
* lang/gcc11: Enable D lang compilerLorenzo Salvadore2022-10-283-2/+20
| | | | | | | | Forward the part of commit f61fb49b2e76fd4f7a5b7a11510b5109206c19f2 that enables D lang compiler. PR: 266825 Co-authored-by: Daniel Engberg <diizzy@FreeBSD.org>
* Remove WWW lines that have been moved into MakefilesStefan Eßer2022-09-081-2/+0
| | | | Approved by: portmgr (implicit)
* Move more WWW entries from pkg-descr files into MakefilesStefan Eßer2022-09-081-0/+1
| | | | | | | The WWW: lines in the pkg-descr files of these ports where not at the end of those files and have been missed in prior conversion runs. Approved by: portmgr (implicit)
* lang/gcc11: Expose non-default -stdlib=libc++ supportJan Beich2022-08-252-0/+20
| | | | | | | | | Fix -stdlib=libc++ option which produced "error: unrecognized command-line option '-stdlib=libc++'". PR: 265962 Approved by: salvadore (maintainer) Exp-run by: antoine (via bug 265964)
* lang/gcc10,11: Take maintainershipLorenzo Salvadore2022-08-201-1/+1
| | | | | | I already maintain all other GCC supported releases ports: I adopt the missing ones. This will allow me to deal more efficiently with changes that affect all GCC supported releases at once.
* lang: remove 'Created by' linesTobias C. Berner2022-07-201-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A big Thank You to the original contributors of these ports: * Aaron Dalton <aaron@FreeBSD.org> * Adam Weinberger <adamw@FreeBSD.org> * Akinori MUSHA aka knu <knu@idaemons.org> * Alex Dupre <ale@FreeBSD.org> * Alexey Dokuchaev <danfe@FreeBSD.org> * Alonso Cardenas Marquez <acm@FreeBSD.org> * Andreas Klemm <andreas@klemm.gtn.com> * Andrew Pantyukhin <infofarmer@FreeBSD.org> * Andrey Zakhvatov * Anton Berezin <tobez@FreeBSD.org> * Anton Berezin <tobez@tobez.org> * Anton Shterenlikht * Ashish SHUKLA <ashish@FreeBSD.org> * Bob Eager <bob@eager.cx> * Bruce M Simpson * Bruce M. Simpson * Christoph Mallon <christoph.mallon@gmx.de> * Christopher Elkins <chrise@scardini.com> * Christopher Key <cjk32@cam.ac.uk> * Chuck Robey <chuckr@FreeBSD.org> * Cyrille Lefevre <clefevre@citeweb.net> * Dan Rench <citric@cubicone.tmetic.com> * Danilo Egea Gondolfo <danilogondolfo@gmail.com> * Dario Freni <saturnero@gufi.org> * David Kalliecharan <dave@dal.ca> * David Naylor <dbn@FreeBSD.org> * David Naylor <dbn@dragon.local> * David O'Brien (obrien@NUXI.com) * David O'Brien (obrien@NUXI.org) * David O'Brien <obrien@NUXI.org> * David O'Brien <obrien@cs.ucdavis.edu> * Dereckson <dereckson@gmail.com> * Devon H. O'Dell <devon.odell@gmail.com> * Dmitry Sivachenko <demon@FreeBSD.org> * Don Croyle <croyle@gelemna.org> * Douglas Anestad <yotta@dougdidit.com> * Edwin Groothuis (edwin@mavetju.org) * Edwin Groothuis <edwin@mavetju.org> * Eugene Ossintsev * Frank Fischer * Frank Gruender <elwood@mc5sys.in-berlin.de> * Frederic Cambus * Gea-Suan Lin <gslin@gslin.org> * Gerald Pfeifer <gerald@FreeBSD.org> * Giuseppe Pilichi aka Jacula Modyun <jacula@gmail.com> * GreenDog <fiziologus@gmail.com> * Gustau Perez i Querol <gustau.perez@gmail.com> * Guy Antony Halse <guy@rucus.ru.za.za> * Herve Quiroz <hq@FreeBSD.org> * Hye-Shik Chang * Hye-Shik Chang <perky@fallin.lv> * Hye-Shik Chang <perky@python.or.kr> * Iblis Lin <iblis@hs.ntnu.edu.tw> * James Bailie <jimmy@mammothcheese.ca> * James FitzGibbon <jfitz@FreeBSD.org> * Jean-Sébastien Pédron <dumbbell@FreeBSD.org> * Jean-Yves Lefort <jylefort@FreeBSD.org> * Jeff Brown <jabrown@caida.org> * Jeremy Norris <ishmael27@home.com> * Jing-Tang Keith Jang <keith@FreeBSD.org> * John Hein <jhein@symmetricom.com> * John Marino <marino@FreeBSD.org> * John Merryweather Cooper * John Merryweather Cooper <coop9211@uidaho.edu> * John Merryweather Cooper et al * Joseph Koshy <jkoshy@FreeBSD.org> * Josh Elsasser <jre@vineyard.net> * Josh Gilliam <josh@quick.net> * Julian H. Stacey <jhs@FreeBSD.org> * Julian Stecklina * Jyun-Yan You <jyyou@cs.nctu.edu.tw> * Katsuji ISHIKAWA <katsuji.ishikawa@gmail.com> * Kimura Fuyuki <fuyuki@hadaly.org> * Kimura Fuyuki <fuyuki@mj.0038.net> * Kimura Fuyuki <fuyuki@nigredo.org> * Kiriyama Kazuhiko <kiri@kiri.toba-cmt.ac.jp> * Kubilay Kocak <koobs@FreeBSD.org> * Lars Thegler <lth@FreeBSD.org> * Lev Walkin <vlm@lionet.info> * Li-Wen Hsu <lwhsu@FreeBSD.org> * Mahdi Mokhtari <mokhi64@gmail.com> * Marcin Cieslak <saper@SYSTEM.PL> * Martin Matuska <mm@FreeBSD.org> * Matthew Hunt <mph@FreeBSD.org> * Michael Butschky <butsch@computi.erols.com> * Michael Johnson <ahze@FreeBSD.org> * Mitsuru YOSHIDA <mitsuru@riken.jp> * Muhammad Moinur Rahman <5u623l20@gmail.com> * Neal Nelson <ports@nicandneal.net> * Nicola Vitale <nivit@FreeBSD.org> * Nils M Holm <nmh@t3x.org> * Oliver Braun <obraun@informatik.unibw-muenchen.de> * Oliver Breuninger <ob@seicom.NET> * Patrick Li <pat@databits.net> * Pawel Worach <pawel.worach@gmail.com> * Pedro F. Giffuni <giffunip@asme.org> * Pedro Giffuni * Pedro Giffuni <giffunip@asme.org> * Pete French <pete@twisted.org.uk> * Peter Schuller <peter.schuller@infidyne.com> * Peter van Heusden <pvh@egenetics.com> * Phillip Neumann <pneumann@gmail.com> * Piotr Kubaj <pkubaj@anongoth.pl> * Po-Chuan Hsieh <sunpoet@FreeBSD.org> * Pontus Stenetorp <ninjin@kth.se> * Ralf S. Engelschall <rse@engelschall.com> * Rick van der Zwet <rick@wzoeterwoude.net> * Rob Zinkov * Roland Jesse <roland.jesse@gmx.net> * Romain Tartiere <romain@blogreen.org> * Ryan Steinmetz <zi@FreeBSD.org> * Sahil Tandon <sahil@tandon.net> * Sergei Kolobov <sergei@kolobov.com> * Sergey A. Osokin <osa@FreeBSD.org> * Sergey Skvortsov <skv@protey.ru> * Simon Marlow <simonmar@microsoft.com> * Simun Mikecin <numisemis@yahoo.com> * Stanislav Sedov <ssedov@mbsd.msk.ru> * Stephen Weeks <sweeks@sweeks.com> * Steven G. Kargl * Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> * Sylvio Cesar <sylvio@FreeBSD.org> * Thomas Gellekum <tg@FreeBSD.org> * Timothy Beyer <beyert@cs.ucr.edu> * Timothy Bourke <timbob@bigpond.com> * Tom Judge <tj@FreeBSD.org> * Veniamin Gvozdikov <vg@FreeBSD.org> * Vitaly Magerya <vmagerya@gmail.com> * Wen Heping <wenheping@gmail.com> * Wen Heping <wenhping@gmail.com> * Wes Peters <wes@softweyr.com> * Ying-Chieh Liao <ijliao@FreeBSD.org> * Yukihiro Nakai <Nakai@technologist.com> * Yukihiro Nakai <nakai@FreeBSD.org> * Zach Garner <zach@neurosoft.org> * aaron@FreeBSD.org * andrewb@cs.cmu.edu * arved * chinsan * chuckr * dd * erik@smluc.org * gahr * gahr@FreeBSD.org * gpalmer * hsu * ijliao * jasone * jkh * jkoshy * jmacd * jmacd@FreeBSD.org * jmz * js@jeannot.org * jseger@FreeBSD.org * kappa@FreeBSD.org.ua * kbyanc * msmith@gsoft.com.au * mutoh@openedu.org * netchild@FreeBSD.org * patrick * pst * rene@FreeBSD.org * ruslan@shevchenko.kiev.ua * stas * tobez With hat: portmgr
* lang/gcc>=11: Warn about LTO_BOOTSTRAPLorenzo Salvadore2022-07-071-0/+3
| | | | | | | | | | Warn users about the amount of ram and time needed to build GCC with LTO_BOOTSTRP enabled. PR: 264949 Reported by: Tomoaki AOKI <junchoon@dec.sakura.ne.jp> and others Reviewed by: gerald Differential Revision: https://reviews.freebsd.org/D35688
* lang/gcc11: disable LTO on armv6/7Piotr Kubaj2022-06-281-5/+16
| | | | PR: 261977
* lang/gcc11: upgrade to 11.3.0Piotr Kubaj2022-04-213-43/+5
| | | | This release fixes more than 189 bugs.
* lang/gcc11: build with clang on powerpc64lePiotr Kubaj2022-04-192-3/+21
| | | | Copy the patch used for other gcc versions.
* lang/gcc11: Add upstream patch to fix bug of libgccjitYasuhiro Kimura2022-04-162-1/+34
| | | | | | | | | | | After switching to LTO bootstrap with commit 2f6be9fb8281, build of editors/emacs-devel fails with segmentation fault of emacs if NATIVECOMP option is enabled. The cause of the problem is bug of libgccjit and it was unveiled by switching to LTO bootstrap. So add upstream patch to fix it. PR: 263271 Approved by: gerald (toolchain@)
* lang/gcc11: switch gcc11 to LTO bootstrapPiotr Kubaj2022-04-111-1/+2
| | | | lang/gcc11-devel with LTO builds fine on the cluster, switch lang/gcc11 as well.
* lang/gcc11: Relinquish maintainershipGerald Pfeifer2022-03-021-1/+1
| | | | | | | | | After working on (and largely maintaining) our GCC ports for some 20 years, time has come to hand over the baton. Sadly despite multiple requests nobody stepped up (even having waited several months after relinquishing maintainership other gcc* ports), so pass maintainership to toolchain@.
* Fix CONFLICTS entries of multiple portsStefan Eßer2022-01-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There have been lots of missing CONFLICTS_INSTALL entries, either because conflicting ports were added without updating existing ports, due to name changes of generated packages, due to mis-understanding the format and semantics of the conflicts entries, or just due to typoes in package names. This patch is the result of a comparison of all files contained in the official packages with each other. This comparison was based on packages built with default options and may therefore have missed further conflicts with optionally installed files. Where possible, version numbers in conflicts entries have been generalized, some times taking advantage of the fact that a port cannot conflict with itself (due to logic in bsd.port.mk that supresses the pattern match result in that case). A few ports that set the conflicts variables depending on complex conditions (e.g. port options), have been left unmodified, despite probably containing outdated package names. These changes should only affect the installation of locally built ports, not the package building with poudriere. They should give an early indication of the install conflict in cases where currently the pkg command aborts an installation when it detects that an existing file would be overwritten, Approved by: portmgr (implicit)
* lang/gcc11: Update to GCC 11.2Gerald Pfeifer2021-08-162-4/+4
| | | | This minor release fixes more than 95 bugs.
* lang/gcc11: New port cloned from gcc11-develGerald Pfeifer2021-06-188-0/+442
Welcome GCC 11.1, the first release of the GCC 11 series! https://gcc.gnu.org/gcc-11/changes.html has a comprehensive overview of many improvements and changes and https://gcc.gnu.org/gcc-11/porting_to.html highlights issues you may encounter porting to this version. This release series should not prove too disruptive, mainly C++ defaulting to GNU++17 and some more libstdc++ headers will need to be included explicitly. To give a brief overview of some of the more noticable changes: Some short options of the gcov tool have been renamed: -i to -j and -j to -H. Debugging information defaults to DWARF 5. Vectorizer improvements, a new IPA-modref pass to track side effects of function calls and improve precision of points-to-analysis, better interprocedural constant propagation (IP-CP), smaller link-time optimization (LTO) object files. OpenMP 4.5 is now fully supported and OpenMP 5.0 support has been extended. A set of new warnings including -Wmismatched-dealloc, -Wsizeof-array-div, -Wstringop-overread, and enhancements to existing warnings. Several new features from the upcoming C2X revision of the ISO C standard are supported with -std=c2x and -std=gnu2x. Several C++20 features have been implemented and even some of the upcoming C++23 draft features with the -std=c++23 and the like. libstdc++ features improved C++17 support. And, last but not least, loads of improvements for all of FreeBSD's architectures.