Accepting request 903071 from Base:System
OBS-URL: https://build.opensuse.org/request/show/903071 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gzip?expand=0&rev=57
This commit is contained in:
commit
e7f08686e6
14
gzip.changes
14
gzip.changes
@ -1,3 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 23 09:25:09 UTC 2021 - Franck Bui <fbui@suse.com>
|
||||||
|
|
||||||
|
- Avoid text relocation on i386 (bsc#1143125)
|
||||||
|
|
||||||
|
Text relocation doesn't cope well with some security hardening which
|
||||||
|
consists in prohibiting attempts to change memory mappings to become
|
||||||
|
executable.
|
||||||
|
|
||||||
|
Hence disable the use of assembler code and get rid of text
|
||||||
|
relocations especially since the assembler code is slower than the
|
||||||
|
code generated by gcc according to Fedora. According to Debian this
|
||||||
|
also fixes gzip generating different results on ia64.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 13 13:23:44 UTC 2021 - pgajdos@suse.com
|
Tue Apr 13 13:23:44 UTC 2021 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@ -76,6 +76,9 @@ export LDFLAGS="-pie"
|
|||||||
autoreconf -f -i
|
autoreconf -f -i
|
||||||
export CFLAGS="$CFLAGS -DDFLTCC_LEVEL_MASK=0x7e"
|
export CFLAGS="$CFLAGS -DDFLTCC_LEVEL_MASK=0x7e"
|
||||||
%endif
|
%endif
|
||||||
|
# Avoid text relocations on i386 as the assembler code (in
|
||||||
|
# lib/match.c) is not prepared for PIE (bsc#1143125).
|
||||||
|
export DEFS=NO_ASM
|
||||||
%configure --disable-silent-rules \
|
%configure --disable-silent-rules \
|
||||||
gl_cv_func_printf_directive_n=yes \
|
gl_cv_func_printf_directive_n=yes \
|
||||||
gl_cv_func_printf_infinite_long_double=yes \
|
gl_cv_func_printf_infinite_long_double=yes \
|
||||||
|
Loading…
Reference in New Issue
Block a user