Update to latest 2018-q4-major (gcc 8.2.1).

This commit is contained in:
Lev A. Serebryakov 2019-01-23 11:18:07 +00:00
parent 9701585d4e
commit fe57bbff28
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=491032
7 changed files with 1668 additions and 1568 deletions

View file

@ -1,10 +1,10 @@
# $FreeBSD$
PORTNAME= gcc-arm-embedded
PORTVERSION= 7.3.20180627
PORTREVISION= 1
PORTVERSION= 8.2.20181220
PORTREVISION= 0
CATEGORIES= devel
MASTER_SITES= https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2018q2/
MASTER_SITES= https://developer.arm.com/-/media/Files/downloads/gnu-rm/8-2018q4/
DISTNAME= ${ORIGINAL_PACKAGE_NAME}-src
MAINTAINER= lev@FreeBSD.org
@ -45,8 +45,8 @@ GNU_CONFIGURE= yes
PATCH_WRKSRC= ${WRKDIR}/${ORIGINAL_PACKAGE_NAME}
BUILD_WRKSRC= ${WRKDIR}
GCC_VERSION= 7.3.1
FULL_VERSION= 7-2018-q2-update
GCC_VERSION= 8.2.1
FULL_VERSION= 8-2018-q4-major
TARGET= arm-none-eabi
ORIGINAL_PACKAGE_NAME= gcc-${TARGET}-${FULL_VERSION}

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1530561929
SHA256 (gcc-arm-none-eabi-7-2018-q2-update-src.tar.bz2) = 965c5755edffbab0320736285d17de3f4189bee1801099a17f6c9aeb0218acf0
SIZE (gcc-arm-none-eabi-7-2018-q2-update-src.tar.bz2) = 170586363
TIMESTAMP = 1548162393
SHA256 (gcc-arm-none-eabi-8-2018-q4-major-src.tar.bz2) = bc228325dbbfaf643f2ee5d19e01d8b1873fcb9c31781b5e1355d40a68704ce7
SIZE (gcc-arm-none-eabi-8-2018-q4-major-src.tar.bz2) = 176155267

View file

@ -171,6 +171,7 @@ build-newlib:
--enable-newlib-io-long-long \
--enable-newlib-io-c99-formats \
--enable-newlib-register-fini \
--enable-newlib-retargetable-locking \
--disable-newlib-supplied-syscalls \
--disable-nls
@${ECHO_MSG} "=====> Build"
@ -211,6 +212,7 @@ build-newlib-nano:
--pdfdir=${DOC_PREFIX}/pdf \
--disable-newlib-supplied-syscalls \
--enable-newlib-reent-small \
--enable-newlib-retargetable-locking \
--disable-newlib-fvwrite-in-streamio \
--disable-newlib-fseek-optimization \
--disable-newlib-wide-orient \

View file

@ -1,15 +0,0 @@
--- src/gdb/gdb/common/diagnostics.h.orig 2017-06-28 22:30:08.000000000 +0300
+++ src/gdb/gdb/common/diagnostics.h 2018-01-24 17:11:46.847340000 +0300
@@ -33,7 +33,11 @@
#if defined (__clang__) /* clang */
-# define DIAGNOSTIC_IGNORE_SELF_MOVE DIAGNOSTIC_IGNORE ("-Wself-move")
+# if __has_warning("-Wself-move")
+# define DIAGNOSTIC_IGNORE_SELF_MOVE DIAGNOSTIC_IGNORE ("-Wself-move")
+# else
+# define DIAGNOSTIC_IGNORE_SELF_MOVE
+# endif
# define DIAGNOSTIC_IGNORE_DEPRECATED_REGISTER \
DIAGNOSTIC_IGNORE ("-Wdeprecated-register")
# define DIAGNOSTIC_IGNORE_UNUSED_FUNCTION \

View file

@ -1,11 +1,11 @@
--- src/gdb/gdb/python/python-config.py.orig 2015-04-14 04:27:11 UTC
+++ src/gdb/gdb/python/python-config.py
@@ -58,7 +58,7 @@ for opt in opt_flags:
--- src/gdb/gdb/python/python-config.py.orig 2019-01-22 16:22:04.766003000 +0300
+++ src/gdb/gdb/python/python-config.py 2019-01-22 16:22:38.796302000 +0300
@@ -58,7 +58,7 @@
print (to_unix_path(' '.join(flags)))
elif opt in ('--libs', '--ldflags'):
- libs = []
+ libs = ['-L' + sysconfig.PREFIX + "/lib"]
- libs = ['-lpython' + pyver + abiflags]
+ libs = ['-L' + sysconfig.PREFIX + "/lib", '-lpython' + pyver + abiflags]
if getvar('LIBS') is not None:
libs.extend(getvar('LIBS').split())
if getvar('SYSLIBS') is not None:

View file

@ -1,18 +1,12 @@
--- src/gdb/gdb/target-float.c.orig 2018-01-15 13:56:10.319799000 +0300
+++ src/gdb/gdb/target-float.c 2018-01-15 13:59:23.017127000 +0300
@@ -17,12 +17,14 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
--- src/gdb/gdb/target-float.c.orig 2019-01-22 18:39:51.598469000 +0300
+++ src/gdb/gdb/target-float.c 2019-01-22 18:40:20.405163000 +0300
@@ -1155,7 +1155,9 @@
+#include <stdint.h>
+#define MPFR_USE_INTMAX_T 1
+
#include "defs.h"
#include "gdbtypes.h"
#include "floatformat.h"
#include "target-float.h"
#ifdef HAVE_LIBMPFR
-
/* Target floating-point operations.
+#ifndef MPFR_USE_INTMAX_T
#define MPFR_USE_INTMAX_T
+#endif
#include <mpfr.h>
We provide multiple implementations of those operations, which differ

File diff suppressed because it is too large Load diff