non port: base/gcc/Makefile |
SVNWeb
|
Number of commits found: 15 |
Sat, 21 Dec 2019
|
[ 01:13 jhb ]
Update base/gcc to work with devel/freebsd-gcc6.
- Explicitly set all the toolchain <foo>_FOR_TARGET variables.
GCC's default guess for CC, etc. happened to work with the
powerpc64-gcc port, but fails when the binaries have a suffix
like the '6' suffix in freebsd-gcc6. Setting these variables
explicitly keeps GCC's build from having to guess.
- Pull patches from freebsd6-gcc instead of powerpc64-gcc.
- Use per-arch plists.
- Simplify the post-install steps to keep the hard links the
normal install performs and avoid renaming binaries.
Keep links to 'cc' and 'c++'.
Reviewed by: bapt (earlier version)
Differential Revision: https://reviews.freebsd.org/D22594
|
Tue, 12 Mar 2019
|
[ 18:56 jhb ]
Fix a cross-build regression in r493401.
Use HOSTARCH to set CONFIGURE_TARGET instead of ARCH.
Reported by: Mark Millard
Approved by: bapt (maintainer)
Differential Revision: https://reviews.freebsd.org/D19484
|
Wed, 20 Feb 2019
|
[ 00:50 jhb ]
Permit base/gcc to be built as a native package.
- Don't require CROSS_TOOLCHAIN and CROSS_SYSROOT.
- Handle building for an amd64 target which needs x86_64 in
CONFIGURE_TARGET for similar reasons described in r475291.
Reviewed by: bapt
Differential Revision: https://reviews.freebsd.org/D19129
|
Fri, 25 Jan 2019
|
[ 19:04 jhb ]
Override the library search directories for external GCC toolchains.
The default library search directories when building a native GCC end
up falling back to /usr/local/lib (for devel/*-gcc) and /usr/lib (for
base/gcc) even when --sysroot is used. For devel/*-gcc, I previously
forced CROSS_DIRECTORY_STRUCTURE on in r466699 to workaround this.
However, this solution could not be used for base/gcc. Instead, patch
the sources to remove several of the library search directories and
override STARTFILE_PREFIX_SPEC to only look in /usr/lib. GCC still
adds tuple-specific subdirs to /usr/lib, but this is ok.
Bump PORTREVISION for both the external GCC toolchains and base/gcc.
Reviewed by: kan
Differential Revision: https://reviews.freebsd.org/D18677
|
Thu, 26 Jul 2018
|
[ 22:25 jhb ]
Add support for amd64 and i386 to base/binutils and base/gcc.
- To support amd64, map amd64 to x86_64 when generating the --host argument
to configure in bsd.port.mk and when generating --target arguments in port
Makefiles.
- Add entries to the plists for i386 and amd64. amd64 generally includes both
amd64-specific entries as well as i386 entries.
- Don't include the builtin float.h for i386 and amd64.
Reviewed by: bapt
Approved by: portmgr (bapt)
Differential Revision: https://reviews.freebsd.org/D16250
|
Wed, 11 Jul 2018
|
[ 16:50 jhb ]
Enable .init_array and .fini_array with xtoolchain GCC.
For base/gcc, only enable .init_array and .fini_array for 12.0 and later
to match the policy used by clang and llvm. For the xtoolchain ports,
enable these unconditionally since the only OS version handy is the OS
version of the build host, not the target OS to be built. Unlike llvm,
the use of .init_array and .fini_array is set at compile-time for GCC
and can't be changed at runtime.
Bump PORTREVISION for base/gcc and the xtoolchain GCC ports.
Reviewed by: bapt (earlier version)
Differential Revision: https://reviews.freebsd.org/D16014
|
Fri, 8 Jun 2018
|
[ 16:06 jhb ]
Remove an unnecessary variable from CONFIGURE_ENV.
The default C++ header path is set via --with-gxx-include-dir instead.
Reviewed by: bdrewery
Differential Revision: https://reviews.freebsd.org/D15541
|
Tue, 15 May 2018
|
[ 14:07 kan ]
Upgrade base/gcc port to 6.4.0 to match xtoolchain
Reviewed by: jhb, bapt
|
Wed, 9 May 2018
|
[ 15:18 jhb ]
Add 32-bit mips support to base/binutils and base/gcc.
- When cross-building packages, set ARCH to the target arch instead of
the arch of the build host. This fixes bsd.ssp.mk on MIPS which was
trying to enable SSP on MIPS cross-built packages because the host
ARCH was amd64. A new HOST_ARCH variable is added to set the
--build triple for configure scripts, but I believe most other uses of
ARCH in ports are really about the target, not the build host so this
is the more correct general direction.
- Some updates to base/binutils and base/gcc to use ARCH as the target
architecture.
- Drop the extra arguments to GCC to set include and library paths and
only set --sysroot.
- Move the --sysroot flags into CC, CXX, CPP (which is now set to XCPP)
and LD instead of passing it in CFLAGS, etc. The base/gcc build uses (Only the first 15 lines of the commit message are shown above )
|
Tue, 6 Feb 2018
|
[ 14:32 swills ]
Fix cross build of base/ ports
This is a follow up to r461057 and fixes base/binutils and base/gcc in my
testing.
PR: 224217
Submitted by: nwhitehorn (partially, I made additional changes)
Reviewed by: bapt
|
[ 14:26 swills ]
Changes from BZ PR 224217 plus minor changes to fix base/gcc fetch
|
Wed, 18 Jan 2017
|
[ 13:20 tijl ] (Only the first 10 of 120 ports in this commit are shown above. )
The output of tools like awk, date, sort, tr,... depends on the current
locale set by the user. Add LANG=C and LC_ALL=C at the beginning of
bsd.port.mk and export them so all commands are executed with the C locale.
LC_ALL=C overrides all other LC_* variables. LANG is used by setlocale(3)
as default value for LC_* variables, so normally it isn't used when LC_ALL
is set, but there's code out there that looks at LANG directly so it's safer
to set it as well. The only commands not captured by this are !=
assignments before any inclusion of bsd.port.*mk.
Introduce USE_LOCALE=<locale> that adds LANG=<locale> and LC_ALL=<locale> to
CONFIGURE_ENV and MAKE_ENV so upstream build systems can be executed with a
different locale (e.g. USE_LOCALE=en_US.UTF-8).
PR: 215882
Exp-run by: antoine
Approved by: portmgr (antoine)
|
Fri, 21 Oct 2016
|
[ 12:51 mat ] (Only the first 10 of 718 ports in this commit are shown above. )
${RM} already has -f.
PR: 213570
Submitted by: mat
Exp-run by: antoine
Sponsored by: Absolight
|
Thu, 8 Sep 2016
|
[ 21:44 bapt ]
Remove things that are now handled by bsd.port.mk
|
[ 20:55 bapt ]
New cross build ready version of gcc.
This port is special, it is done only for being cross build and prepare a modern
compiler for base system build without a cross compiler
It contains the printf format extension needed for the kernel as only patch for
now.
It uses libc++ from base as a standard c++ library default on the libc++ headers
as c++ headers
|
Number of commits found: 15 |