notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine

Bot filter coming soon

To deter bots pegging the database CPU to 100%, a bot testing filter to be added to the website. This should not affect newsfeeds etc. Anubis seems light-weight - it''''''''s already in use within the FreeBSD Project. This notice is just a heads up in case you see something odd. This notice will be updated after Anubis is installed.

Port details on branch 2023Q2
gcc12 GNU Compiler Collection 12
12.2.0_5 lang on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 12.2.0_5Version of this port present on the latest quarterly branch.
Maintainer: salvadore@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2023-05-12 17:19:48
Last Update: 2023-05-12 17:15:18
Commit Hash: 8e62ef3
License: GPLv3 GPLv3RLE
WWW:
https://gcc.gnu.org
Description:
GCC, the GNU Compiler Collection, supports a number of languages. This port installs the C, C++, and Fortran front ends as gcc12, g++12, and gfortran12, respectively. Gerald Pfeifer <gerald@FreeBSD.org>
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
pkg-plist: as obtained via: make generate-plist
Expand this list (43 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/gcc12-12.2.0_5/catalog.mk
  3. /usr/local/share/licenses/gcc12-12.2.0_5/LICENSE
  4. /usr/local/share/licenses/gcc12-12.2.0_5/GPLv3
  5. /usr/local/share/licenses/gcc12-12.2.0_5/GPLv3RLE
  6. bin/x86_64-portbld-freebsd13.1-c++12
  7. bin/x86_64-portbld-freebsd13.1-g++12
  8. bin/x86_64-portbld-freebsd13.1-gcc12
  9. bin/x86_64-portbld-freebsd13.1-gcc-12.2.0
  10. bin/x86_64-portbld-freebsd13.1-gcc-ar12
  11. bin/x86_64-portbld-freebsd13.1-gcc-nm12
  12. bin/x86_64-portbld-freebsd13.1-gcc-ranlib12
  13. bin/x86_64-portbld-freebsd13.1-gfortran12
  14. bin/c++12
  15. bin/cpp12
  16. bin/g++12
  17. bin/gcc12
  18. bin/gcc-ar12
  19. bin/gcc-nm12
  20. bin/gcc-ranlib12
  21. bin/gcov12
  22. bin/gcov-dump12
  23. bin/gcov-tool12
  24. bin/gfortran12
  25. bin/lto-dump12
  26. man/man1/cpp12.1.gz
  27. man/man1/g++12.1.gz
  28. man/man1/gcc12.1.gz
  29. man/man1/gcov12.1.gz
  30. man/man1/gcov-dump12.1.gz
  31. man/man1/gcov-tool12.1.gz
  32. man/man1/gfortran12.1.gz
  33. man/man1/lto-dump12.1.gz
  34. share/gcc-12.2.0/python/libstdcxx/__init__.py
  35. share/gcc-12.2.0/python/libstdcxx/v6/__init__.py
  36. share/gcc-12.2.0/python/libstdcxx/v6/printers.py
  37. share/gcc-12.2.0/python/libstdcxx/v6/xmethods.py
  38. @postexec if type ccache-update-links >/dev/null 2>&1; then ccache-update-links -v; fi
  39. @postunexec if type ccache-update-links >/dev/null 2>&1; then ccache-update-links -v; fi
  40. @comment Insert PLIST.lib here
  41. @owner
  42. @group
  43. @mode
Collapse this list.
Dependency lines:
  • gcc12>0:lang/gcc12
Conflicts:
CONFLICTS:
  • gcc12-devel
To install the port:
cd /usr/ports/lang/gcc12/ && make install clean
To add the package, run one of these commands:
  • pkg install lang/gcc12
  • pkg install gcc12
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: gcc12
Flavors: there is no flavor information for this port.
ONLY_FOR_ARCHS: aarch64 amd64 arm armv6 armv7 i386 powerpc powerpc64 powerpc64le
distinfo:
TIMESTAMP = 1660912619 SHA256 (gcc-12.2.0.tar.xz) = e549cf9cf3594a00e27b6589d4322d70e0720cdd213f39beb4181e06926230ff SIZE (gcc-12.2.0.tar.xz) = 84645292

No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. as : devel/binutils
  2. gmake>=4.3 : devel/gmake
  3. makeinfo : print/texinfo
  4. as : devel/binutils
  5. perl5>=5.32.r0<5.33 : lang/perl5.32
Runtime dependencies:
  1. as : devel/binutils
  2. indexinfo : print/indexinfo
Library dependencies:
  1. libgmp.so : math/gmp
  2. libmpfr.so : math/mpfr
  3. libmpc.so : math/mpc
This port is required by:
for Build
  1. graphics/qgis
  2. graphics/qgis-ltr
for Run
  1. graphics/qgis
  2. graphics/qgis-ltr

Configuration Options:
===> The following configuration options are available for gcc12-12.2.0_5: GRAPHITE=off: Support for Graphite loop optimizations MULTILIB=on: Build support for 32-bit and 64-bit targets ====> Options available for the radio BOOTSTRAP: you can only select none or one of them LTO_BOOTSTRAP=on: Build using a full LTO bootstrap STANDARD_BOOTSTRAP=off: Build using a full bootstrap without LTO ===> Use 'make config' to modify these settings
Options name:
lang_gcc12
USES:
compiler:c++11-lang cpe gmake iconv libtool makeinfo perl5 tar:xz
pkg-message:
For install:
To ensure binaries built with this toolchain find appropriate versions of the necessary run-time libraries, you may want to link using -Wl,-rpath=/usr/local/lib/gcc12 For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens transparently.
Master Sites:
Expand this list (8 items)
Collapse this list.
  1. http://ftp.ntua.gr/pub/gnu/gcc/releases/gcc-12.2.0/
  2. http://gcc.gnu.org/pub/gcc/releases/gcc-12.2.0/
  3. http://mirror.koddos.net/gcc/releases/gcc-12.2.0/
  4. https://ftp-stud.hs-esslingen.de/pub/Mirrors/sourceware.org/gcc/releases/gcc-12.2.0/
  5. https://ftp.funet.fi/pub/mirrors/sourceware.org/pub/gcc/releases/gcc-12.2.0/
  6. https://ftp.mpi-inf.mpg.de/pub/gnu/mirror/gcc.gnu.org/pub/gcc/releases/gcc-12.2.0/
  7. https://mirrors.kernel.org/sourceware/gcc/releases/gcc-12.2.0/
  8. https://mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-12.2.0/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
12.2.0_5
12 May 2023 17:15:18
commit hash: 8e62ef36512902760104fb756edba5cb0704bb0fcommit hash: 8e62ef36512902760104fb756edba5cb0704bb0fcommit hash: 8e62ef36512902760104fb756edba5cb0704bb0fcommit hash: 8e62ef36512902760104fb756edba5cb0704bb0f files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
lang/gcc12: Work around aarch64 extraction bug

Extraction fails with poudriere on aarch64 with the following error:

=> SHA256 Checksum OK for gcc-12.2.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

(cherry picked from commit 5b4cadb23cbc2db23d7e2a40c16abd3e862fcf62)

Number of commits found: 1