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
non port: devel/powerpc64-gcc/files/patch-gcc-freebsd-mips

Number of commits found: 5

Friday, 18 Jun 2021
15:29 John Baldwin (jhb) search for other commits by this committer
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
commit hash: 39c7b0126e2e8e87a6585be830dce2a5db04e5f6 commit hash: 39c7b0126e2e8e87a6585be830dce2a5db04e5f6 commit hash: 39c7b0126e2e8e87a6585be830dce2a5db04e5f6 commit hash: 39c7b0126e2e8e87a6585be830dce2a5db04e5f6 39c7b01
Wednesday, 16 Oct 2019
21:46 jhb search for other commits by this committer
Always set the endian flag for the linker emulation for MIPS.

Fix a regression in r472011 where gcc would pass a linker emulation
without an endian flag if neither -EB nor -EL were provided on the gcc
command line.

Bump PORTREVISION.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D22004
Original commitRevision:514619 
Friday, 8 Jun 2018
16:05 jhb search for other commits by this committer
Use mips3 as the default MIPS ISA for 32-bit FreeBSD/mips.

The in-tree GCC 4.2.1 defaults to a MIPS ISA of MIPS3 (which includes ll
and sc instructions needed for SMP-aware atomics).  However, out of the
box GCC defaults to MIPS1 for 32-bit MIPS (N32 and N64 both require a
minimum of MIPS3).  Change both devel/mips-gcc and base/gcc to default to
MIPS3 for 32-bit MIPS on FreeBSD.
- Fix the default target cpu to include MASK_ABICALLS in configure.tgt.
  The gcc/config/mips/freebsd.h header already overrides this anway, but
  it is more correct to fix this here.  We could perhaps remove the
  hack from freebsd.h now but I haven't done that.
- Fix the case that checks for 32-bit mips tuples to match on 'mips*'
  instead of 'mips32*' in configure.tgt.  We don't use mips32* in our
  tuples for O32 MIPS.
- Set MIPS_ISA_DEFAULT to 3 (MIPS3) rather than 33 (MIPS32R6 or some such)
  for O32.
- Remove MIPS_ISA_DEFAULT for N32 to use the default of MIPS3.
- Remove hackish driver specs and instead replace with more standard
  driver specs.  Add MIPS_DEFAULT_ISA_LEVEL_SPEC to the default driver
  specs.  This macro forces a suitable MIPS ISA parameter (such as -mips3)
  to always be added to the flags passed to subcommands.  In particular,
  without this change the compiler would assume MIPS3 by default via
  MIPS_ISA_DEFAULT but would not pass any flags on to as(1) and as
  would still use MIPS1.  The added macro ensures -mips3 is passed to
  as(1) if no explicit -march is specified.

The upshot of all this is that one no longer has to explicitly specify
TARGET_CPUTYPE=mips3 to build O32 MIPS.  It should also make /usr/bin/cc
from base/gcc more compatible with GCC 4.2.1.

Reviewed by:	bapt
Differential Revision:	https://reviews.freebsd.org/D15543
Original commitRevision:472011 
Tuesday, 15 May 2018
14:01 kan search for other commits by this committer
Make mips64 compiler use /lib:/usr/lib instead if lib64 variants

This allows mips64 compiler to be used bo build base/ packages,
while it was failing to find crt1.o and like before.
Original commitRevision:470017 
Tuesday, 21 Apr 2015
01:38 adrian search for other commits by this committer
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
Original commitRevision:384396 

Number of commits found: 5