non port: devel/powerpc64-gcc/pkg-plist |
Number of commits found: 9 |
Friday, 18 Jun 2021
|
15:29 John Baldwin (jhb)
devel/*{-xtoolchain,}-gcc: Retire the old GCC external toolchain ports.
These have been supplanted by the devel/freebsd-gcc6 port which uses
separate flavors for each target architecture and bundles the
CROSS_TOOLCHAIN makefile.
Feedback from: jrm
Reviewed by: lwhsu, bapt
Differential Revision: https://reviews.freebsd.org/D30765
39c7b01 |
Monday, 27 Aug 2018
|
14:29 manu
devel/aarch64-none-elf-gcc: Unbreak on arm64
The plugins ae not built on arm64.
While we might want them in the future, we also need gcc on this platform
as it's the compiler used for u-boot.
Reviewed by: jhb, kan
Approved by: kan (maintainer)
|
Friday, 27 Jul 2018
|
15:57 jhb
Cleanup packing lists for xtoolchain gcc packages.
- Add missing entries for gcov-dump and the gcov-tool manpage to the
various xtoolchain gcc ports.
- Add gcov-dump to the post-install loops that handle optional renaming
of tools and manpages.
Reviewed by: kan
Differential Revision: https://reviews.freebsd.org/D16465
|
Friday, 23 Mar 2018
|
23:53 jhb
Fix --sysroot for cross-toolchain GCC packages
By default, GCC assumes that a cross compiler should not have any valid
initial include or library paths aside from /usr/local/lib/gcc/<mumble>/.
This means that one cannot use --sysroot to point to a system root for
another architecture and have GCC automatically look for headers in
${sysroot}/usr/include, etc. Currently we workaround this in FreeBSD's
build system with explicit -isystem, -B, and -L directives. However,
this is cumbersome compared to clang (where a bare --sysroot DTRT)
especially when using the compiler to build other software (such as test
programs, etc.).
One can override GCC's assumption and force it to assume that it should
honor --sysroot by setting the '--with-sysroot' option to force GCC to
assume a specific system root. By setting this to '/', this means that
the cross-compiler will attempt to use the host's headers by default
if --sysroot is not specified, but if --sysroot is specified then
it is fully honored including for include paths and library paths. With
this change I can now cross-compile both C and C++ binaries simply by
using --sysroot without the need for -isystem, -B, or -L directives. Note
that the base/gcc and devel/riscv64-gcc ports both use --with-sysroot='/'
already.
By default, GCC looks for headers in /usr/local/include (under the
sysroot) before /usr/include. To disable this and only look for headers
in /usr/include, patch gcc/Makefile.in to not define LOCAL_INCLUDE_DIR.
Once -nostdinc is no longer required, the headers installed along with the
compiler are now used for compiling worlds and test programs. The "fixed"
headers in include-fixed are generally not helpful and are also derived
from the host's headers which might not match the target --sysroot, so
just delete them entirely. Even the stub limits.h headers GCC ships when
using an empty build sysroot are not helpful and need to be removed.
On a related note, I also fixed the name of the C++ include directory
option to configure. By my reading it is 'with-gxx-include-dir' rather
than 'with-gcc-include-dir'.
Reviewed by: bapt, brooks, kan
Sponsored by: DARPA / AFRL
Differential Revision: https://reviews.freebsd.org/D14627
|
Saturday, 10 Dec 2016
|
18:44 bapt
Update cross toolchain gcc to 6.2.0
Remove the powerpc64 patch which has been upstreamed
|
Saturday, 25 Jul 2015
|
11:30 bapt
Update the cross gcc to 5.2.0
Simplify a bit the plist
Drop upstreamed arm support patches not needed anymore
|
Tuesday, 21 Apr 2015
|
01:38 adrian
gcc: Bump port to 4.9.2; add MIPS patches (from kan, thanks!).
Tested:
* compiled mips, mips64, arm-none-eabi, sparc64 cross compile
packages.
Reviewed by: bapt
|
Thursday, 9 Oct 2014
|
09:13 bapt
Make the plist a bit more generic
Remove garbage from distinfo
|
06:54 bapt
Add a cross version of gcc minimalistic and suitable enough to cross build world
Current targets: powerpc64 sparc64
Note that gcc 4.9.1 never heard of mips on freebsd neither of arm on freebsd
Note that this does not yet includes the freebsd extensions meaning it cannot
cross build the kernel yet
|
Number of commits found: 9 |