non port: base/binutils/pkg-plist |
Number of commits found: 8 |
Monday, 13 Feb 2023
|
21:14 John Baldwin (jhb)
base/*: Remove the base ports to install an external toolchain in /usr.
This was originally motivated for providing a native toolchain for
platforms not supported by the in-tree LLVM toolchain. Now, however,
all of our current platforms are well supported by the in-tree LLVM
toolchain. In addition, these ports required additional maintenance
beyond the existing devel/binutils and devel/freebsd-gccX ports. A
more sustainable path if we need this in the future is probably to
have simple wrappers for /usr/bin/cc and other binaries in /usr that
redirect to binaries provided by the existing devel/ ports.
Reviewed by: bapt
Differential Revision: https://reviews.freebsd.org/D38561
2ed924f |
Thursday, 2 Jan 2020
|
19:20 jhb
Various fixes to base/binutils and base/gcc6.
- Add --with-sysroot=/ to CONFIGURE_ARGS. base/binutils needs this so
that ld honors --sysroot in linker scripts. base/gcc6 needs this so
that the C++ include paths honor --sysroot.
- Remove a hack from GCC's configure to force C++98 mode when building
GCC with GCC. libc++ assumes C++11, so this hack was breaking the
build of base/gcc6 natively when the system compiler was GCC.
- Add toolchain makefiles installed to /usr/share/toolchains.
These are suitable to be used by CROSS_TOOLCHAIN when doing a native
arch build. These makefiles enable appropriate knobs so that the
in-tree components that are replaced by each package are not built
or installed. The freebsd-gcc toolchain makefile includes the
binutils toolchain makefile if it is present.
Reviewed by: bapt
Differential Revision: https://reviews.freebsd.org/D22984
 |
Tuesday, 3 Dec 2019
|
23:22 jhb
Simplify a few things and fix cross-building.
- Remove objcopy unconditionally.
- Don't bother creating links with the BUTARGET prefix.
- Use HOSTARCH when setting CONFIGURE_TARGET.
Reviewed by: bapt
Differential Revision: https://reviews.freebsd.org/D22607
 |
Monday, 20 Aug 2018
|
09:17 jhb
Cleanup packing lists.
- Use BUREMOVE to strip binutils tools not installed by the base/binutils
package.
- Update BUREMOVE logic in devel/binutils to cope with the base package
which installs tools without a BUTARGET- prefix.
- Use MANPREFIX for BUREMOVE to handle the PREFIX=/usr case used by
base/binutils.
- Remove binutils headers and libraries explicitly from the staging area
for base/binutils.
- Add missing plist entries for binutils binaries installed under a
BUTARGET subdirectory.
- Drop plist entries from devel/binutils that are now properly removed.
Previously the binaries for Windows tools like dlltool were removed
from the staging area but the manpages were still left in the package.
- Bump PORTREVISION.
This is a recommit of r476186 but with the update to the pkg-plist of
devel/binutils and PORTREVISION bump.
PR: 230278
Reviewed by: antoine
Differential Revision: https://reviews.freebsd.org/D16582
 |
Thursday, 2 Aug 2018
|
05:30 antoine
Revert r476186, it fails to package
With hat: portmgr
 |
Wednesday, 1 Aug 2018
|
17:49 jhb
base/binutils: Cleanup packing lists.
- Use BUREMOVE to strip binutils tools not installed by the base/binutils
package.
- Update BUREMOVE logic in devel/binutils to cope with the base package
which installs tools without a BUTARGET- prefix.
- Use MANPREFIX for BUREMOVE to handle the PREFIX=/usr case used by
base/binutils.
- Remove binutils headers and libraries explicitly from the staging area
for base/binutils.
- Add missing plist entries for binutils binaries installed under a
BUTARGET subdirectory.
Approved by: bapt (implicit for base/*)
Differential Revision: https://reviews.freebsd.org/D16464
 |
Thursday, 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
 |
Friday, 29 Jun 2018
|
18:07 jhb
Use a unified packing list for base/binutils.
Create a single pkg-plist that uses arch-specific PLIST_SUBs to control
arch-specific linker scripts but is otherwise machine-independent.
- Only include objcopy for OS versions older than 11.0 (11.0 uses the
elftoolchain elfcopy as objcopy in the base system)
- Use %%BUTARGET%% throughout. This probably fixes the sparc64 pkg-plist
which was not updated when BUTARGET started including OSREL. This also
avoids hardcoding an OSREL of 12.0 for powerpc64.
- Enable MIPS ldscripts for all MIPS architectures which probably fixes
this port on mips64 and mipsn32.
- Enable PowerPC ldscripts for all PowerPC architectures which probably
fixes this port on powerpc.
Reviewed by: bapt, bdrewery
 |
Number of commits found: 8 |