File tree Expand file tree Collapse file tree 18 files changed +18
-0
lines changed Expand file tree Collapse file tree 18 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,7 @@ RUN set -ex \
78
78
# set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit()
79
79
# https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0
80
80
EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" \
81
+ LDFLAGS="-Wl,--strip-all" \
81
82
# setting PROFILE_TASK makes "--enable-optimizations" reasonable: https://bugs.python.org/issue36044 / https://github.com/docker-library/python/issues/160#issuecomment-509426916
82
83
PROFILE_TASK='-m test.regrtest --pgo \
83
84
test_array \
Original file line number Diff line number Diff line change @@ -78,6 +78,7 @@ RUN set -ex \
78
78
# set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit()
79
79
# https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0
80
80
EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" \
81
+ LDFLAGS="-Wl,--strip-all" \
81
82
# setting PROFILE_TASK makes "--enable-optimizations" reasonable: https://bugs.python.org/issue36044 / https://github.com/docker-library/python/issues/160#issuecomment-509426916
82
83
PROFILE_TASK='-m test.regrtest --pgo \
83
84
test_array \
Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ RUN set -ex \
70
70
--with-system-ffi \
71
71
--without-ensurepip \
72
72
&& make -j "$(nproc)" \
73
+ LDFLAGS="-Wl,--strip-all" \
73
74
# setting PROFILE_TASK makes "--enable-optimizations" reasonable: https://bugs.python.org/issue36044 / https://github.com/docker-library/python/issues/160#issuecomment-509426916
74
75
PROFILE_TASK='-m test.regrtest --pgo \
75
76
test_array \
Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ RUN set -ex \
70
70
--with-system-ffi \
71
71
--without-ensurepip \
72
72
&& make -j "$(nproc)" \
73
+ LDFLAGS="-Wl,--strip-all" \
73
74
# setting PROFILE_TASK makes "--enable-optimizations" reasonable: https://bugs.python.org/issue36044 / https://github.com/docker-library/python/issues/160#issuecomment-509426916
74
75
PROFILE_TASK='-m test.regrtest --pgo \
75
76
test_array \
Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ RUN set -ex \
80
80
# set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit()
81
81
# https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0
82
82
EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" \
83
+ LDFLAGS="-Wl,--strip-all" \
83
84
# setting PROFILE_TASK makes "--enable-optimizations" reasonable: https://bugs.python.org/issue36044 / https://github.com/docker-library/python/issues/160#issuecomment-509426916
84
85
PROFILE_TASK='-m test.regrtest --pgo \
85
86
test_array \
Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ RUN set -ex \
80
80
# set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit()
81
81
# https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0
82
82
EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" \
83
+ LDFLAGS="-Wl,--strip-all" \
83
84
# setting PROFILE_TASK makes "--enable-optimizations" reasonable: https://bugs.python.org/issue36044 / https://github.com/docker-library/python/issues/160#issuecomment-509426916
84
85
PROFILE_TASK='-m test.regrtest --pgo \
85
86
test_array \
Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ RUN set -ex \
70
70
--with-system-ffi \
71
71
--without-ensurepip \
72
72
&& make -j "$(nproc)" \
73
+ LDFLAGS="-Wl,--strip-all" \
73
74
# setting PROFILE_TASK makes "--enable-optimizations" reasonable: https://bugs.python.org/issue36044 / https://github.com/docker-library/python/issues/160#issuecomment-509426916
74
75
PROFILE_TASK='-m test.regrtest --pgo \
75
76
test_array \
Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ RUN set -ex \
70
70
--with-system-ffi \
71
71
--without-ensurepip \
72
72
&& make -j "$(nproc)" \
73
+ LDFLAGS="-Wl,--strip-all" \
73
74
# setting PROFILE_TASK makes "--enable-optimizations" reasonable: https://bugs.python.org/issue36044 / https://github.com/docker-library/python/issues/160#issuecomment-509426916
74
75
PROFILE_TASK='-m test.regrtest --pgo \
75
76
test_array \
Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ RUN set -ex \
81
81
# set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit()
82
82
# https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0
83
83
EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" \
84
+ LDFLAGS="-Wl,--strip-all" \
84
85
# setting PROFILE_TASK makes "--enable-optimizations" reasonable: https://bugs.python.org/issue36044 / https://github.com/docker-library/python/issues/160#issuecomment-509426916
85
86
PROFILE_TASK='-m test.regrtest --pgo \
86
87
test_array \
Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ RUN set -ex \
81
81
# set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit()
82
82
# https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0
83
83
EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" \
84
+ LDFLAGS="-Wl,--strip-all" \
84
85
# setting PROFILE_TASK makes "--enable-optimizations" reasonable: https://bugs.python.org/issue36044 / https://github.com/docker-library/python/issues/160#issuecomment-509426916
85
86
PROFILE_TASK='-m test.regrtest --pgo \
86
87
test_array \
Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ RUN set -ex \
71
71
--with-system-ffi \
72
72
--without-ensurepip \
73
73
&& make -j "$(nproc)" \
74
+ LDFLAGS="-Wl,--strip-all" \
74
75
# setting PROFILE_TASK makes "--enable-optimizations" reasonable: https://bugs.python.org/issue36044 / https://github.com/docker-library/python/issues/160#issuecomment-509426916
75
76
PROFILE_TASK='-m test.regrtest --pgo \
76
77
test_array \
Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ RUN set -ex \
71
71
--with-system-ffi \
72
72
--without-ensurepip \
73
73
&& make -j "$(nproc)" \
74
+ LDFLAGS="-Wl,--strip-all" \
74
75
# setting PROFILE_TASK makes "--enable-optimizations" reasonable: https://bugs.python.org/issue36044 / https://github.com/docker-library/python/issues/160#issuecomment-509426916
75
76
PROFILE_TASK='-m test.regrtest --pgo \
76
77
test_array \
Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ RUN set -ex \
81
81
# set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit()
82
82
# https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0
83
83
EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" \
84
+ LDFLAGS="-Wl,--strip-all" \
84
85
&& make install \
85
86
\
86
87
&& find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' \
Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ RUN set -ex \
81
81
# set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit()
82
82
# https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0
83
83
EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" \
84
+ LDFLAGS="-Wl,--strip-all" \
84
85
&& make install \
85
86
\
86
87
&& find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' \
Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ RUN set -ex \
71
71
--with-system-ffi \
72
72
--without-ensurepip \
73
73
&& make -j "$(nproc)" \
74
+ LDFLAGS="-Wl,--strip-all" \
74
75
&& make install \
75
76
&& ldconfig \
76
77
\
Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ RUN set -ex \
81
81
# set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit()
82
82
# https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0
83
83
EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" \
84
+ LDFLAGS="-Wl,--strip-all" \
84
85
&& make install \
85
86
\
86
87
&& find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' \
Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ RUN set -ex \
75
75
# set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit()
76
76
# https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0
77
77
EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" \
78
+ LDFLAGS="-Wl,--strip-all" \
78
79
# setting PROFILE_TASK makes "--enable-optimizations" reasonable: https://bugs.python.org/issue36044 / https://github.com/docker-library/python/issues/160#issuecomment-509426916
79
80
PROFILE_TASK='-m test.regrtest --pgo \
80
81
test_array \
Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ RUN set -ex \
65
65
--with-system-ffi \
66
66
--without-ensurepip \
67
67
&& make -j "$(nproc)" \
68
+ LDFLAGS="-Wl,--strip-all" \
68
69
# setting PROFILE_TASK makes "--enable-optimizations" reasonable: https://bugs.python.org/issue36044 / https://github.com/docker-library/python/issues/160#issuecomment-509426916
69
70
PROFILE_TASK='-m test.regrtest --pgo \
70
71
test_array \
You can’t perform that action at this time.
0 commit comments