Skip to content

Commit 79046d5

Browse files
committed
Merge #15939: gitian: Remove Windows 32 bit build
fa193dc doc: Remove win32 from the release process (MarcoFalke) faf666f Remove Windows 32 bit build (MarcoFalke) Pull request description: The Windows 32 bit build has been removed from https://bitcoincore.org/en/download/, so unless there are complaints, we don't need to build it even ACKs for commit fa193d: fanquake: utACK bitcoin/bitcoin@fa193dc Tree-SHA512: d6f2976a2e0c407698f720b00ac23ec4056626de4eff8621f4c5581120af0460afd1bdef72329cc0e7d92afca48d94ae5fce6777cb36bfabb60b8034ff08fd88
2 parents de5af41 + fa193dc commit 79046d5

File tree

8 files changed

+2
-59
lines changed

8 files changed

+2
-59
lines changed

.travis.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -97,16 +97,6 @@ jobs:
9797
# This could be removed once the ABI change warning does not show up by default
9898
BITCOIN_CONFIG="--enable-glibc-back-compat --enable-reduce-exports CXXFLAGS=-Wno-psabi"
9999
100-
- stage: test
101-
name: 'Win32 [GOAL: deploy] [no gui or functional tests]'
102-
env: >-
103-
HOST=i686-w64-mingw32
104-
DPKG_ADD_ARCH="i386"
105-
PACKAGES="python3 nsis g++-mingw-w64-i686 wine-binfmt wine32"
106-
RUN_FUNCTIONAL_TESTS=false
107-
GOAL="deploy"
108-
BITCOIN_CONFIG="--enable-reduce-exports --disable-gui-tests"
109-
110100
- stage: test
111101
name: 'Win64 [GOAL: deploy] [no gui or functional tests]'
112102
env: >-

.travis/test_04_install.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ DOCKER_EXEC () {
2929
docker exec $DOCKER_ID bash -c "cd $PWD && $*"
3030
}
3131

32-
if [ -n "$DPKG_ADD_ARCH" ]; then
33-
DOCKER_EXEC dpkg --add-architecture "$DPKG_ADD_ARCH"
34-
fi
35-
3632
travis_retry DOCKER_EXEC apt-get update
3733
travis_retry DOCKER_EXEC apt-get install --no-install-recommends --no-upgrade -qq $PACKAGES $DOCKER_PACKAGES
3834

contrib/devtools/test-security-check.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,6 @@ def test_ELF(self):
4343
self.assertEqual(call_security_check(cc, source, executable, ['-Wl,-znoexecstack','-fstack-protector-all','-Wl,-zrelro','-Wl,-z,now','-pie','-fPIE']),
4444
(0, ''))
4545

46-
def test_32bit_PE(self):
47-
source = 'test1.c'
48-
executable = 'test1.exe'
49-
cc = 'i686-w64-mingw32-gcc'
50-
write_testcode(source)
51-
52-
self.assertEqual(call_security_check(cc, source, executable, ['-Wl,--no-nxcompat','-Wl,--no-dynamicbase']),
53-
(1, executable+': failed DYNAMIC_BASE NX'))
54-
self.assertEqual(call_security_check(cc, source, executable, ['-Wl,--nxcompat','-Wl,--no-dynamicbase']),
55-
(1, executable+': failed DYNAMIC_BASE'))
56-
self.assertEqual(call_security_check(cc, source, executable, ['-Wl,--nxcompat','-Wl,--dynamicbase']),
57-
(0, ''))
5846
def test_64bit_PE(self):
5947
source = 'test1.c'
6048
executable = 'test1.exe'

contrib/gitian-build.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ def sign():
9898
subprocess.check_call(['bin/gbuild', '--skip-image', '--upgrade', '--commit', 'signature='+args.commit, '../bitcoin/contrib/gitian-descriptors/gitian-win-signer.yml'])
9999
subprocess.check_call(['bin/gsign', '-p', args.sign_prog, '--signer', args.signer, '--release', args.version+'-win-signed', '--destination', '../gitian.sigs/', '../bitcoin/contrib/gitian-descriptors/gitian-win-signer.yml'])
100100
subprocess.check_call('mv build/out/bitcoin-*win64-setup.exe ../bitcoin-binaries/'+args.version, shell=True)
101-
subprocess.check_call('mv build/out/bitcoin-*win32-setup.exe ../bitcoin-binaries/'+args.version, shell=True)
102101

103102
if args.macos:
104103
print('\nSigning ' + args.version + ' MacOS')

contrib/gitian-descriptors/gitian-win.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ script: |
3131
set -e -o pipefail
3232
3333
WRAP_DIR=$HOME/wrapped
34-
HOSTS="i686-w64-mingw32 x86_64-w64-mingw32"
34+
HOSTS="x86_64-w64-mingw32"
3535
CONFIGFLAGS="--enable-reduce-exports --disable-bench --disable-gui-tests"
3636
FAKETIME_HOST_PROGS="ar ranlib nm windres strip objcopy"
3737
FAKETIME_PROGS="date makensis zip"
@@ -179,6 +179,4 @@ script: |
179179
cp $OUTDIR/bitcoin-*setup-unsigned.exe unsigned/
180180
find . | sort | tar --no-recursion --mode='u+rw,go+r-w,a+X' --owner=0 --group=0 -c -T - | gzip -9n > ${OUTDIR}/${DISTNAME}-win-unsigned.tar.gz
181181
mv ${OUTDIR}/${DISTNAME}-x86_64-*-debug.zip ${OUTDIR}/${DISTNAME}-win64-debug.zip
182-
mv ${OUTDIR}/${DISTNAME}-i686-*-debug.zip ${OUTDIR}/${DISTNAME}-win32-debug.zip
183182
mv ${OUTDIR}/${DISTNAME}-x86_64-*.zip ${OUTDIR}/${DISTNAME}-win64.zip
184-
mv ${OUTDIR}/${DISTNAME}-i686-*.zip ${OUTDIR}/${DISTNAME}-win32.zip

depends/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ created. To use it for Bitcoin:
2020

2121
Common `host-platform-triplets` for cross compilation are:
2222

23-
- `i686-w64-mingw32` for Win32
2423
- `x86_64-w64-mingw32` for Win64
2524
- `x86_64-apple-darwin14` for macOS
2625
- `arm-linux-gnueabihf` for Linux ARM 32 bit

doc/build-windows.md

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -102,30 +102,6 @@ Build using:
102102
CONFIG_SITE=$PWD/depends/x86_64-w64-mingw32/share/config.site ./configure --prefix=/
103103
make
104104

105-
## Building for 32-bit Windows
106-
107-
To build executables for Windows 32-bit, install the following dependencies:
108-
109-
sudo apt install g++-mingw-w64-i686 mingw-w64-i686-dev
110-
111-
For Ubuntu Bionic 18.04 and Windows Subsystem for Linux <sup>[1](#footnote1)</sup>:
112-
113-
sudo update-alternatives --config i686-w64-mingw32-g++ # Set the default mingw32 g++ compiler option to posix.
114-
115-
Note that for WSL the Bitcoin Core source path MUST be somewhere in the default mount file system, for
116-
example /usr/src/bitcoin, AND not under /mnt/d/. If this is not the case the dependency autoconf scripts will fail.
117-
This means you cannot use a directory that located directly on the host Windows file system to perform the build.
118-
119-
Build using:
120-
121-
PATH=$(echo "$PATH" | sed -e 's/:\/mnt.*//g') # strip out problematic Windows %PATH% imported var
122-
cd depends
123-
make HOST=i686-w64-mingw32
124-
cd ..
125-
./autogen.sh # not required when building from tarball
126-
CONFIG_SITE=$PWD/depends/i686-w64-mingw32/share/config.site ./configure --prefix=/
127-
make
128-
129105
## Depends system
130106

131107
For further documentation on the depends system see [README.md](../depends/README.md) in the depends directory.

doc/release-process.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -221,15 +221,14 @@ Create (and optionally verify) the signed Windows binaries:
221221
./bin/gsign --signer "$SIGNER" --release ${VERSION}-win-signed --destination ../gitian.sigs/ ../bitcoin/contrib/gitian-descriptors/gitian-win-signer.yml
222222
./bin/gverify -v -d ../gitian.sigs/ -r ${VERSION}-win-signed ../bitcoin/contrib/gitian-descriptors/gitian-win-signer.yml
223223
mv build/out/bitcoin-*win64-setup.exe ../bitcoin-${VERSION}-win64-setup.exe
224-
mv build/out/bitcoin-*win32-setup.exe ../bitcoin-${VERSION}-win32-setup.exe
225224
popd
226225

227226
Commit your signature for the signed macOS/Windows binaries:
228227

229228
pushd gitian.sigs
230229
git add ${VERSION}-osx-signed/"${SIGNER}"
231230
git add ${VERSION}-win-signed/"${SIGNER}"
232-
git commit -a
231+
git commit -m "Add ${SIGNER} ${VERSION} signed binaries signatures"
233232
git push # Assuming you can push to the gitian.sigs tree
234233
popd
235234

@@ -250,8 +249,6 @@ bitcoin-${VERSION}-x86_64-linux-gnu.tar.gz
250249
bitcoin-${VERSION}-osx64.tar.gz
251250
bitcoin-${VERSION}-osx.dmg
252251
bitcoin-${VERSION}.tar.gz
253-
bitcoin-${VERSION}-win32-setup.exe
254-
bitcoin-${VERSION}-win32.zip
255252
bitcoin-${VERSION}-win64-setup.exe
256253
bitcoin-${VERSION}-win64.zip
257254
```

0 commit comments

Comments
 (0)