aboutsummaryrefslogtreecommitdiffstats
path: root/main/gcc9/0016-invalid_tls_model.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/gcc9/0016-invalid_tls_model.patch')
-rw-r--r--main/gcc9/0016-invalid_tls_model.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/main/gcc9/0016-invalid_tls_model.patch b/main/gcc9/0016-invalid_tls_model.patch
deleted file mode 100644
index c387f3eb00a..00000000000
--- a/main/gcc9/0016-invalid_tls_model.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-Fixes errors such as:
-
-GEGL-Message: 16:04:13.794: Module '/usr/lib/gegl-0.4/raw-load.so' load error: Error relocating /usr/lib/libgomp.so.1: __cxa_finalize: initial-exec TLS resolves to dynamic definition in /usr/lib/libgomp.so.1
-
---- a/libgomp/configure.tgt 2018-11-08 18:13:04.000000000 +0100
-+++ b/libgomp/configure.tgt 2019-06-29 20:06:31.972950350 +0200
-@@ -10,23 +10,6 @@
- # XCFLAGS Add extra compile flags to use.
- # XLDFLAGS Add extra link flags to use.
-
--# Optimize TLS usage by avoiding the overhead of dynamic allocation.
--if test $gcc_cv_have_tls = yes ; then
-- case "${target}" in
--
-- *-*-k*bsd*-gnu*)
-- ;;
--
-- *-*-linux* | *-*-gnu*)
-- XCFLAGS="${XCFLAGS} -ftls-model=initial-exec -DUSING_INITIAL_EXEC_TLS"
-- ;;
--
-- *-*-rtems*)
-- XCFLAGS="${XCFLAGS} -ftls-model=local-exec"
-- ;;
-- esac
--fi
--
- # Since we require POSIX threads, assume a POSIX system by default.
- config_path="posix"