Update to latest 5-2016-q1-update
This commit is contained in:
parent
1502a385bf
commit
bde2868450
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=413773
7 changed files with 35 additions and 17 deletions
|
@ -1,10 +1,10 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= gcc-arm-embedded
|
||||
PORTVERSION= 5.2.20151219
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 5.3.20160330
|
||||
PORTREVISION= 0
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://launchpad.net/gcc-arm-embedded/5.0/5-2015-q4-major/+download/
|
||||
MASTER_SITES= http://launchpad.net/gcc-arm-embedded/5.0/5-2016-q1-update/+download/
|
||||
DISTNAME= ${ORIGINAL_PACKAGE_NAME}-src
|
||||
|
||||
MAINTAINER= lev@FreeBSD.org
|
||||
|
@ -33,9 +33,10 @@ PURE_LIB_DEPENDS_OFF= \
|
|||
|
||||
PDF_USE= TEX=base:build,tex:build,dvipsk:build
|
||||
PDF_BUILD_DEPENDS= texi2dvi:print/texinfo
|
||||
OPTIONS_SUB= yes
|
||||
PYGDB_USES= python:2
|
||||
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
NOT_FOR_ARCHS= aarch64 arm armeb armv6 armv6hf \
|
||||
mips mips64 mips64el mipsel mipsn32
|
||||
NOT_FOR_ARCHS_REASON= Very slow to build on emulator
|
||||
|
@ -47,8 +48,8 @@ GNU_CONFIGURE= yes
|
|||
PATCH_WRKSRC= ${WRKDIR}/${ORIGINAL_PACKAGE_NAME}
|
||||
BUILD_WRKSRC= ${WRKDIR}
|
||||
|
||||
GCC_VERSION= 5.2.1
|
||||
FULL_VERSION= 5_2-2015q4-20151219
|
||||
GCC_VERSION= 5.3.1
|
||||
FULL_VERSION= 5_3-2016q1-20160330
|
||||
TARGET= arm-none-eabi
|
||||
ORIGINAL_PACKAGE_NAME= gcc-${TARGET}-${FULL_VERSION}
|
||||
|
||||
|
@ -57,8 +58,8 @@ CPE_VENDOR= gnu
|
|||
CPE_VERSION= ${GCC_VERSION}
|
||||
|
||||
INFO_PATH= ${PORTNAME}-${FULL_VERSION}/share/doc/gcc-${TARGET}/info
|
||||
INFO= annotate as bfd binutils configure cpp cppinternals gcc \
|
||||
gccinstall gccint gdb gprof ld stabs standards
|
||||
INFO= annotate as bfd binutils cpp cppinternals gcc \
|
||||
gccinstall gccint gdb gprof ld stabs
|
||||
|
||||
MANPREFIX= ${PREFIX}/${PORTNAME}-${FULL_VERSION}/${DOCS_SUFFIX}
|
||||
DOCSDIR= ${PREFIX}/${PORTNAME}-${FULL_VERSION}/${DOCS_SUFFIX}
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (gcc-arm-none-eabi-5_2-2015q4-20151219-src.tar.bz2) = 4e64a2ec6b059d2e274f000f76c9a0e67203444efa94472d9744c8638943c2a7
|
||||
SIZE (gcc-arm-none-eabi-5_2-2015q4-20151219-src.tar.bz2) = 189167846
|
||||
SHA256 (gcc-arm-none-eabi-5_3-2016q1-20160330-src.tar.bz2) = 4c0b3ba4fe3cbb89c08f69df372de166e2171b378c3757a0eb7ca28bcf89f4c1
|
||||
SIZE (gcc-arm-none-eabi-5_3-2016q1-20160330-src.tar.bz2) = 192321934
|
||||
|
|
|
@ -295,7 +295,7 @@ build-gcc-first:
|
|||
--with-multilib-list=${MULTILIB_LIST} \
|
||||
--with-pkgversion="${PKGVERSION}"
|
||||
@${ECHO_MSG} "=====> Build"
|
||||
@${MAKE_ENV} ${MAKE_CMD} -j${MAKE_JOBS_NUMBER} -C ${BUILD_PREFIX}/gcc-first all ${MAKE_ARGS}
|
||||
@${MAKE_ENV} ${MAKE_CMD} -j${MAKE_JOBS_NUMBER} -C ${BUILD_PREFIX}/gcc-first all-gcc ${MAKE_ARGS}
|
||||
@${ECHO_MSG} "=====> Install into stage directory"
|
||||
@${MAKE_ENV} ${MAKE_CMD} -C ${BUILD_PREFIX}/gcc-first install-gcc ${MAKE_ARGS}
|
||||
@${RM} -f ${INTERIM_PREFIX}/bin/${TARGET}-gccbug
|
||||
|
@ -469,6 +469,7 @@ build-libstdcxx:
|
|||
--disable-libquadmath \
|
||||
--disable-libssp \
|
||||
--disable-libstdcxx-pch \
|
||||
--disable-libstdcxx-verbose \
|
||||
--disable-nls \
|
||||
--disable-shared \
|
||||
--disable-threads \
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- src/gcc/gcc//config/arm/arm.h.orig 2014-05-27 05:44:10.000000000 +0400
|
||||
+++ src/gcc/gcc//config/arm/arm.h 2014-09-07 22:16:57.000000000 +0400
|
||||
@@ -2325,7 +2325,7 @@
|
||||
--- src/gcc/gcc/config/arm/arm.h.orig 2016-03-30 20:55:09.000000000 +0300
|
||||
+++ src/gcc/gcc/config/arm/arm.h 2016-04-19 22:13:19.910442000 +0300
|
||||
@@ -2414,7 +2414,7 @@ extern const char *arm_rewrite_mcpu (int
|
||||
|
||||
/* -mcpu=native handling only makes sense with compiler running on
|
||||
an ARM chip. */
|
||||
|
@ -8,4 +8,4 @@
|
|||
+#if defined(__arm__) && !defined(CROSS_DIRECTORY_STRUCTURE)
|
||||
extern const char *host_detect_local_cpu (int argc, const char **argv);
|
||||
# define EXTRA_SPEC_FUNCTIONS \
|
||||
{ "local_cpu_detect", host_detect_local_cpu },
|
||||
{ "local_cpu_detect", host_detect_local_cpu }, \
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
--- src/gdb/gdb/python/python-config.py.orig 2015-11-19 18:54:06.000000000 +0300
|
||||
+++ src/gdb/gdb/python/python-config.py 2016-04-20 01:07:39.352468000 +0300
|
||||
@@ -58,7 +58,7 @@ for opt in opt_flags:
|
||||
print (to_unix_path(' '.join(flags)))
|
||||
|
||||
elif opt in ('--libs', '--ldflags'):
|
||||
- libs = []
|
||||
+ libs = ['-L' + sysconfig.PREFIX + "/lib"]
|
||||
if getvar('LIBS') is not None:
|
||||
libs.extend(getvar('LIBS').split())
|
||||
if getvar('SYSLIBS') is not None:
|
|
@ -7,7 +7,7 @@ Processors" project (which is maintained by ARM company itself).
|
|||
|
||||
It includes:
|
||||
binutils
|
||||
gcc 4.8 with LTO and GRAPHITE support.
|
||||
gcc 5.3 with LTO and GRAPHITE support.
|
||||
newlib optimized for speed
|
||||
newlib-nano optimized for
|
||||
two versions of libstdc++, optimized for speed and size.
|
||||
|
@ -15,7 +15,7 @@ It includes:
|
|||
|
||||
All this is built with support for armv6-m, armv7-ar,
|
||||
armv7-m and armv7e-m targets, armv7e-m with and without
|
||||
FPU support.
|
||||
FPU support and armv8-m too.
|
||||
This port gives bit-to-bit compatibility with "official"
|
||||
embedded ARM toolchain for MacOS X, Linux and Windows.
|
||||
|
||||
|
|
|
@ -11,6 +11,7 @@ gcc-arm-embedded-%%FULL_VERSION%%/%%TARGET%%/bin/strip
|
|||
@dir gcc-arm-embedded-%%FULL_VERSION%%/%%TARGET%%/include/bits
|
||||
@dir gcc-arm-embedded-%%FULL_VERSION%%/%%TARGET%%/include/rpc
|
||||
gcc-arm-embedded-%%FULL_VERSION%%/%%TARGET%%/include/_ansi.h
|
||||
gcc-arm-embedded-%%FULL_VERSION%%/%%TARGET%%/include/_newlib_version.h
|
||||
gcc-arm-embedded-%%FULL_VERSION%%/%%TARGET%%/include/_syslist.h
|
||||
gcc-arm-embedded-%%FULL_VERSION%%/%%TARGET%%/include/alloca.h
|
||||
gcc-arm-embedded-%%FULL_VERSION%%/%%TARGET%%/include/ar.h
|
||||
|
@ -1194,6 +1195,7 @@ gcc-arm-embedded-%%FULL_VERSION%%/%%TARGET%%/include/langinfo.h
|
|||
gcc-arm-embedded-%%FULL_VERSION%%/%%TARGET%%/include/libgen.h
|
||||
gcc-arm-embedded-%%FULL_VERSION%%/%%TARGET%%/include/limits.h
|
||||
gcc-arm-embedded-%%FULL_VERSION%%/%%TARGET%%/include/locale.h
|
||||
gcc-arm-embedded-%%FULL_VERSION%%/%%TARGET%%/include/machine/_arc4random.h
|
||||
gcc-arm-embedded-%%FULL_VERSION%%/%%TARGET%%/include/machine/_default_types.h
|
||||
gcc-arm-embedded-%%FULL_VERSION%%/%%TARGET%%/include/machine/_types.h
|
||||
gcc-arm-embedded-%%FULL_VERSION%%/%%TARGET%%/include/machine/ansi.h
|
||||
|
@ -2174,6 +2176,7 @@ gcc-arm-embedded-%%FULL_VERSION%%/lib/gcc/%%TARGET%%/%%GCC_VERSION%%/include-fix
|
|||
gcc-arm-embedded-%%FULL_VERSION%%/lib/gcc/%%TARGET%%/%%GCC_VERSION%%/include-fixed/limits.h
|
||||
gcc-arm-embedded-%%FULL_VERSION%%/lib/gcc/%%TARGET%%/%%GCC_VERSION%%/include-fixed/syslimits.h
|
||||
gcc-arm-embedded-%%FULL_VERSION%%/lib/gcc/%%TARGET%%/%%GCC_VERSION%%/include/arm_acle.h
|
||||
gcc-arm-embedded-%%FULL_VERSION%%/lib/gcc/%%TARGET%%/%%GCC_VERSION%%/include/arm_cmse.h
|
||||
gcc-arm-embedded-%%FULL_VERSION%%/lib/gcc/%%TARGET%%/%%GCC_VERSION%%/include/arm_neon.h
|
||||
gcc-arm-embedded-%%FULL_VERSION%%/lib/gcc/%%TARGET%%/%%GCC_VERSION%%/include/float.h
|
||||
gcc-arm-embedded-%%FULL_VERSION%%/lib/gcc/%%TARGET%%/%%GCC_VERSION%%/include/iso646.h
|
||||
|
@ -5078,6 +5081,7 @@ gcc-arm-embedded-%%FULL_VERSION%%/lib/libcc1.so.0
|
|||
%%PORTDOCS%%%%HTML%%%%DOCSDIR%%/html/libc/rawmemchr.html
|
||||
%%PORTDOCS%%%%HTML%%%%DOCSDIR%%/html/libc/Reentrancy.html
|
||||
%%PORTDOCS%%%%HTML%%%%DOCSDIR%%/html/libc/Reentrant-Syscalls.html
|
||||
%%PORTDOCS%%%%HTML%%%%DOCSDIR%%/html/libc/random.html
|
||||
%%PORTDOCS%%%%HTML%%%%DOCSDIR%%/html/libc/remove.html
|
||||
%%PORTDOCS%%%%HTML%%%%DOCSDIR%%/html/libc/rename.html
|
||||
%%PORTDOCS%%%%HTML%%%%DOCSDIR%%/html/libc/rewind.html
|
||||
|
@ -5233,6 +5237,7 @@ gcc-arm-embedded-%%FULL_VERSION%%/lib/libcc1.so.0
|
|||
%%PORTDOCS%%%%HTML%%%%DOCSDIR%%/html/libm/cexp.html
|
||||
%%PORTDOCS%%%%HTML%%%%DOCSDIR%%/html/libm/cimag.html
|
||||
%%PORTDOCS%%%%HTML%%%%DOCSDIR%%/html/libm/clog.html
|
||||
%%PORTDOCS%%%%HTML%%%%DOCSDIR%%/html/libm/clog10.html
|
||||
%%PORTDOCS%%%%HTML%%%%DOCSDIR%%/html/libm/Complex.html
|
||||
%%PORTDOCS%%%%HTML%%%%DOCSDIR%%/html/libm/conj.html
|
||||
%%PORTDOCS%%%%HTML%%%%DOCSDIR%%/html/libm/copysign.html
|
||||
|
|
Loading…
Reference in a new issue