Skip to content

Commit ef2eeb3

Browse files
committed
release v-4.3.3
1 parent dd52747 commit ef2eeb3

12 files changed

+212
-6
lines changed

build

+1
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ readonly RUN_ARGS="$@"
135135
echo " gcc-6.1.0 (6.1.0 release)"
136136
echo " gcc-6.2.0 (6.2.0 release)"
137137
echo " gcc-6.3.0 (6.3.0 release)"
138+
echo " gcc-6.4.0 (6.4.0 release)"
138139
echo " gcc-6-branch (currently 6.4.0-prerelease)"
139140
echo " gcc-7.1.0 (currently 7.1.0 release)"
140141
echo " gcc-7-branch (currently 7.2.0-prerelease)"

library/config.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
# **************************************************************************
3737

38-
MINGW_W64_BUILDS_VERSION="MinGW-W64-builds-4.3.0"
38+
MINGW_W64_BUILDS_VERSION="MinGW-W64-builds-4.3.3"
3939
MINGW_W64_PKG_STRING="Built by MinGW-W64 project"
4040

4141
# **************************************************************************

patches/gcc/gcc-libgomp-ftime64.patch

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
--- gcc/libgomp/config/mingw32/time.c
2+
+++ gcc/libgomp/config/mingw32/time.c
3+
@@ -31,8 +31,8 @@
4+
double
5+
omp_get_wtime (void)
6+
{
7+
- struct _timeb timebuf;
8+
- _ftime (&timebuf);
9+
+ struct __timeb64 timebuf;
10+
+ _ftime64 (&timebuf);
11+
return (timebuf.time + (long)(timebuf.millitm) / 1e3);
12+
}
13+
+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
From 04a27a15b268e07c76578c074c3822477ceabc50 Mon Sep 17 00:00:00 2001
2+
From: Orgad Shaneh <[email protected]>
3+
Date: Tue, 7 Mar 2017 19:13:41 +0200
4+
Subject: [PATCH] configure: Disable static linking with standard libs
5+
6+
Linking statically causes spurious crashes on exception handling
7+
with mingw32.
8+
---
9+
configure | 4 ++--
10+
1 file changed, 2 insertions(+), 2 deletions(-)
11+
12+
diff --git a/configure b/configure
13+
index a5f4fc5aa7..f5a9766c39 100755
14+
--- a/configure
15+
+++ b/configure
16+
@@ -5902,7 +5902,7 @@ else
17+
# if supported. But if the user explicitly specified the libraries to use,
18+
# trust that they are doing what they want.
19+
if test "$stage1_libs" = "" -a "$have_static_libs" = yes; then
20+
- stage1_ldflags="-static-libstdc++ -static-libgcc"
21+
+ stage1_ldflags=""
22+
fi
23+
fi
24+
25+
@@ -5938,7 +5938,7 @@ else
26+
# statically. But if the user explicitly specified the libraries to
27+
# use, trust that they are doing what they want.
28+
if test "$poststage1_libs" = ""; then
29+
- poststage1_ldflags="-static-libstdc++ -static-libgcc"
30+
+ poststage1_ldflags=""
31+
fi
32+
fi
33+
34+
--
35+
2.12.0.windows.1
36+

scripts/binutils.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
# **************************************************************************
3737

38-
PKG_VERSION=2.27
38+
PKG_VERSION=2.28
3939
PKG_NAME=binutils-${PKG_VERSION}
4040
[[ $USE_MULTILIB == yes ]] && {
4141
PKG_NAME=$BUILD_ARCHITECTURE-$PKG_NAME-multi
@@ -58,7 +58,6 @@ PKG_PATCHES=(
5858
binutils/0008-fix-libiberty-makefile.mingw.patch
5959
binutils/0009-fix-libiberty-configure.mingw.patch
6060
binutils/0110-binutils-mingw-gnu-print.patch
61-
binutils/0018-binutils-PC64-PCRQUAD-relocation-fix.mingw32.patch
6261
)
6362

6463
#

scripts/gcc-6-branch.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ PKG_PATCHES=(
6060
gcc/gcc-5-dwarf-regression.patch
6161
gcc/gcc-5.1.0-fix-libatomic-building-for-threads=win32.patch
6262
gcc/gcc-6-ktietz-libgomp.patch
63-
# gcc/gcc-7-filesystem.patch
6463
gcc/gcc-6.1-disable-weak-refs.patch
64+
gcc/gcc-libgomp-ftime64.patch
6565
)
6666

6767
#

scripts/gcc-6.3.0.sh

-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ PKG_PATCHES=(
6060
gcc/gcc-5-dwarf-regression.patch
6161
gcc/gcc-5.1.0-fix-libatomic-building-for-threads=win32.patch
6262
gcc/gcc-6-ktietz-libgomp.patch
63-
# gcc/gcc-7-filesystem.patch
6463
gcc/gcc-6.1-disable-weak-refs.patch
6564
)
6665

scripts/gcc-6.4.0.sh

+154
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,154 @@
1+
2+
#
3+
# The BSD 3-Clause License. http://www.opensource.org/licenses/BSD-3-Clause
4+
#
5+
# This file is part of MinGW-W64(mingw-builds: https://github.com/niXman/mingw-builds) project.
6+
# Copyright (c) 2011-2017 by niXman (i dotty nixman doggy gmail dotty com)
7+
# Copyright (c) 2012-2015 by Alexpux (alexpux doggy gmail dotty com)
8+
# All rights reserved.
9+
#
10+
# Project: MinGW-W64 ( http://sourceforge.net/projects/mingw-w64/ )
11+
#
12+
# Redistribution and use in source and binary forms, with or without
13+
# modification, are permitted provided that the following conditions are met:
14+
# - Redistributions of source code must retain the above copyright
15+
# notice, this list of conditions and the following disclaimer.
16+
# - Redistributions in binary form must reproduce the above copyright
17+
# notice, this list of conditions and the following disclaimer in
18+
# the documentation and/or other materials provided with the distribution.
19+
# - Neither the name of the 'MinGW-W64' nor the names of its contributors may
20+
# be used to endorse or promote products derived from this software
21+
# without specific prior written permission.
22+
#
23+
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
24+
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
25+
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
26+
# A PARTICULAR PURPOSE ARE DISCLAIMED.
27+
# IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY
28+
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
29+
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30+
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
31+
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
32+
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
33+
# USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34+
#
35+
36+
# **************************************************************************
37+
38+
PKG_VERSION=6.4.0
39+
PKG_NAME=gcc-${PKG_VERSION}
40+
PKG_DIR_NAME=gcc-${PKG_VERSION}
41+
PKG_TYPE=.tar.xz
42+
PKG_URLS=(
43+
"https://ftp.gnu.org/gnu/gcc/gcc-${PKG_VERSION}/gcc-${PKG_VERSION}${PKG_TYPE}"
44+
)
45+
46+
PKG_PRIORITY=main
47+
48+
#
49+
50+
PKG_EXECUTE_AFTER_UNCOMPRESS=(
51+
"[[ ! -f libgcc/config/i386/enable-execute-stack.c ]] && cp libgcc/config/i386/enable-execute-stack-mingw32.c libgcc/config/i386/enable-execute-stack.c"
52+
)
53+
54+
#
55+
56+
PKG_PATCHES=(
57+
gcc/gcc-4.7-stdthreads.patch
58+
gcc/gcc-5.1-iconv.patch
59+
gcc/gcc-4.8-libstdc++export.patch
60+
gcc/gcc-4.8.2-build-more-gnattools.mingw.patch
61+
gcc/gcc-4.8.2-fix-for-windows-not-minding-non-existant-parent-dirs.patch
62+
gcc/gcc-4.8.2-windows-lrealpath-no-force-lowercase-nor-backslash.patch
63+
gcc/gcc-4.9.1-enable-shared-gnat-implib.mingw.patch
64+
gcc/gcc-5.1.0-make-xmmintrin-header-cplusplus-compatible.patch
65+
gcc/gcc-5.2-fix-mingw-pch.patch
66+
gcc/gcc-5-dwarf-regression.patch
67+
gcc/gcc-5.1.0-fix-libatomic-building-for-threads=win32.patch
68+
gcc/gcc-6-ktietz-libgomp.patch
69+
gcc/gcc-6.1-disable-weak-refs.patch
70+
gcc/gcc-7-filesystem.patch
71+
gcc/gcc-libgomp-ftime64.patch
72+
)
73+
74+
#
75+
76+
PKG_CONFIGURE_FLAGS=(
77+
--host=$HOST
78+
--build=$BUILD
79+
--target=$TARGET
80+
#
81+
--prefix=$MINGWPREFIX
82+
--with-sysroot=$PREFIX
83+
#--with-gxx-include-dir=$MINGWPREFIX/$TARGET/include/c++
84+
#
85+
$LINK_TYPE_GCC
86+
#
87+
$( [[ $USE_MULTILIB == yes ]] \
88+
&& echo "--enable-targets=all --enable-multilib" \
89+
|| echo "--disable-multilib" \
90+
)
91+
--enable-languages=$ENABLE_LANGUAGES,lto
92+
--enable-libstdcxx-time=yes
93+
--enable-threads=$THREADS_MODEL
94+
--enable-libgomp
95+
--enable-libatomic
96+
--enable-lto
97+
--enable-graphite
98+
--enable-checking=release
99+
--enable-fully-dynamic-string
100+
--enable-version-specific-runtime-libs
101+
--enable-libstdcxx-filesystem-ts=yes
102+
$( [[ $EXCEPTIONS_MODEL == dwarf ]] \
103+
&& echo "--disable-sjlj-exceptions --with-dwarf2" \
104+
)
105+
$( [[ $EXCEPTIONS_MODEL == sjlj ]] \
106+
&& echo "--enable-sjlj-exceptions" \
107+
)
108+
#
109+
--disable-libstdcxx-pch
110+
--disable-libstdcxx-debug
111+
$( [[ $BOOTSTRAPING == yes ]] \
112+
&& echo "--enable-bootstrap" \
113+
|| echo "--disable-bootstrap" \
114+
)
115+
--disable-rpath
116+
--disable-win32-registry
117+
--disable-nls
118+
--disable-werror
119+
--disable-symvers
120+
#
121+
--with-gnu-as
122+
--with-gnu-ld
123+
#
124+
$PROCESSOR_OPTIMIZATION
125+
$PROCESSOR_TUNE
126+
#
127+
--with-libiconv
128+
--with-system-zlib
129+
--with-{gmp,mpfr,mpc,isl}=$PREREQ_DIR/$HOST-$LINK_TYPE_SUFFIX
130+
--with-pkgversion="\"$BUILD_ARCHITECTURE-$THREADS_MODEL-$EXCEPTIONS_MODEL${REV_STRING}, $MINGW_W64_PKG_STRING\""
131+
--with-bugurl=$BUG_URL
132+
#
133+
CFLAGS="\"$COMMON_CFLAGS\""
134+
CXXFLAGS="\"$COMMON_CXXFLAGS\""
135+
CPPFLAGS="\"$COMMON_CPPFLAGS\""
136+
LDFLAGS="\"$COMMON_LDFLAGS $( [[ $BUILD_ARCHITECTURE == i686 ]] && echo -Wl,--large-address-aware )\""
137+
)
138+
139+
#
140+
141+
PKG_MAKE_FLAGS=(
142+
-j$JOBS
143+
all
144+
)
145+
146+
#
147+
148+
PKG_INSTALL_FLAGS=(
149+
-j1
150+
DESTDIR=$BASE_BUILD_DIR
151+
$( [[ $STRIP_ON_INSTALL == yes ]] && echo install-strip || echo install )
152+
)
153+
154+
# **************************************************************************

scripts/gcc-7-branch.sh

+1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ PKG_PATCHES=(
6161
gcc/gcc-6-ktietz-libgomp.patch
6262
gcc/gcc-6.1-disable-weak-refs.patch
6363
gcc/gcc-7-filesystem.patch
64+
gcc/gcc-libgomp-ftime64.patch
6465
)
6566

6667
#

scripts/gcc-7.1.0.sh

+1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ PKG_PATCHES=(
6161
gcc/gcc-6-ktietz-libgomp.patch
6262
gcc/gcc-6.1-disable-weak-refs.patch
6363
gcc/gcc-7-filesystem.patch
64+
gcc/gcc-libgomp-ftime64.patch
6465
)
6566

6667
#

scripts/gcc-trunk.sh

+1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ PKG_PATCHES=(
6060
gcc/gcc-6-ktietz-libgomp.patch
6161
gcc/gcc-6.1-disable-weak-refs.patch
6262
gcc/gcc-7-filesystem.patch
63+
gcc/gcc-libgomp-ftime64.patch
6364
)
6465

6566
#

scripts/gdb.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
# **************************************************************************
3737

38-
PKG_VERSION=7.11.1
38+
PKG_VERSION=8.0
3939
PKG_NAME=gdb-${PKG_VERSION}
4040
PKG_DIR_NAME=gdb-${PKG_VERSION}
4141
PKG_TYPE=.tar.xz
@@ -53,6 +53,7 @@ PKG_PATCHES=(
5353
# http://sourceware.org/bugzilla/show_bug.cgi?id=15412
5454
gdb/gdb-perfomance.patch
5555
gdb/gdb-fix-using-gnu-print.patch
56+
gdb/gdb-7.12-dynamic-libs.patch
5657
)
5758

5859
#

0 commit comments

Comments
 (0)