mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-20 10:12:15 +01:00
Appveyor: Disable gcc hardening in Windows 64-bit builds
As of August 29, 2018, Appveyor images come with gcc 8.2.0 by default. 64-bit Windows executables compiled with gcc 8.2.0 and tor's --enable-gcc-hardening crash. Fixes bug 27460; bugfix on 0.3.4.1-alpha.
This commit is contained in:
parent
2b04163666
commit
e70cf82625
@ -9,9 +9,11 @@ environment:
|
|||||||
- target: i686-w64-mingw32
|
- target: i686-w64-mingw32
|
||||||
compiler_path: mingw32
|
compiler_path: mingw32
|
||||||
openssl_path: /c/OpenSSL-Win32
|
openssl_path: /c/OpenSSL-Win32
|
||||||
|
hardening:
|
||||||
- target: x86_64-w64-mingw32
|
- target: x86_64-w64-mingw32
|
||||||
compiler_path: mingw64
|
compiler_path: mingw64
|
||||||
openssl_path: /c/OpenSSL-Win64
|
openssl_path: /c/OpenSSL-Win64
|
||||||
|
hardening: --disable-gcc-hardening
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- ps: >-
|
- ps: >-
|
||||||
@ -41,7 +43,7 @@ build_script:
|
|||||||
Set-Location "${env:build}"
|
Set-Location "${env:build}"
|
||||||
Execute-Bash "which ${env:target}-gcc"
|
Execute-Bash "which ${env:target}-gcc"
|
||||||
Execute-Bash "${env:target}-gcc --version"
|
Execute-Bash "${env:target}-gcc --version"
|
||||||
Execute-Bash "../configure --prefix=/${env:compiler_path} --build=${env:target} --host=${env:target} --disable-asciidoc --enable-fatal-warnings --with-openssl-dir=${env:openssl_path}"
|
Execute-Bash "../configure --prefix=/${env:compiler_path} --build=${env:target} --host=${env:target} --disable-asciidoc --enable-fatal-warnings --with-openssl-dir=${env:openssl_path} ${env:hardening}"
|
||||||
Execute-Bash "V=1 make -j2"
|
Execute-Bash "V=1 make -j2"
|
||||||
Execute-Bash "V=1 make -j2 install"
|
Execute-Bash "V=1 make -j2 install"
|
||||||
}
|
}
|
||||||
|
6
changes/bug27460
Normal file
6
changes/bug27460
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
o Minor bugfixes (continuous integration):
|
||||||
|
- Disable gcc hardening in Appveyor Windows 64-bit builds. As of
|
||||||
|
August 29, 2018, Appveyor images come with gcc 8.2.0 by default.
|
||||||
|
64-bit Windows executables compiled with gcc 8.2.0 and
|
||||||
|
tor's --enable-gcc-hardening crash.
|
||||||
|
Fixes bug 27460; bugfix on 0.3.4.1-alpha.
|
Loading…
Reference in New Issue
Block a user