Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] gcc: re-add patch to fix relocation errors in libgomp dependants
@ 2019-06-29 18:54 voidlinux-github
  2019-06-29 20:04 ` voidlinux-github
  2019-06-29 20:58 ` [PR PATCH] [Merged]: " voidlinux-github
  0 siblings, 2 replies; 3+ messages in thread
From: voidlinux-github @ 2019-06-29 18:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 462 bytes --]

There is a new pull request by jnbr against master on the void-packages repository

https://github.com/jnbr/void-packages gcc
https://github.com/void-linux/void-packages/pull/12745

gcc: re-add patch to fix relocation errors in libgomp dependants
was previously added in 75fe6cb0497347aefead33b84a789897360a9116

It is needed at least for python3-Pillow on x86_64-musl

A patch file from https://github.com/void-linux/void-packages/pull/12745.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc-12745.patch --]
[-- Type: application/text/x-diff, Size: 1861 bytes --]

From 20fe107d636c8a185fd7025cee748547c4d2171b Mon Sep 17 00:00:00 2001
From: Johannes <johannes.brechtmann@gmail.com>
Date: Sat, 29 Jun 2019 20:48:39 +0200
Subject: [PATCH] gcc: re-add patch to fix relocation errors in libgomp
 dependants

was previously added in 75fe6cb0497347aefead33b84a789897360a9116

[ci skip]
---
 srcpkgs/gcc/patches/invalid_tls_model.patch | 26 +++++++++++++++++++++
 srcpkgs/gcc/template                        |  2 +-
 2 files changed, 27 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/gcc/patches/invalid_tls_model.patch

diff --git a/srcpkgs/gcc/patches/invalid_tls_model.patch b/srcpkgs/gcc/patches/invalid_tls_model.patch
new file mode 100644
index 00000000000..598cde5cb3a
--- /dev/null
+++ b/srcpkgs/gcc/patches/invalid_tls_model.patch
@@ -0,0 +1,26 @@
+--- libgomp/configure.tgt	2018-11-08 18:13:04.000000000 +0100
++++ 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"
+ 
diff --git a/srcpkgs/gcc/template b/srcpkgs/gcc/template
index 56d1cf38dd4..24ab2c31da9 100644
--- a/srcpkgs/gcc/template
+++ b/srcpkgs/gcc/template
@@ -8,7 +8,7 @@ _isl_version=0.19
 
 pkgname=gcc
 version=${_minorver}.0
-revision=1
+revision=2
 short_desc="GNU Compiler Collection"
 maintainer="Juan RP <xtraeme@voidlinux.org>"
 homepage="http://gcc.gnu.org"

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gcc: re-add patch to fix relocation errors in libgomp dependants
  2019-06-29 18:54 [PR PATCH] gcc: re-add patch to fix relocation errors in libgomp dependants voidlinux-github
@ 2019-06-29 20:04 ` voidlinux-github
  2019-06-29 20:58 ` [PR PATCH] [Merged]: " voidlinux-github
  1 sibling, 0 replies; 3+ messages in thread
From: voidlinux-github @ 2019-06-29 20:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 185 bytes --]

New comment by pullmoll on void-packages repository

https://github.com/void-linux/void-packages/pull/12745#issuecomment-506983550
Comment:
Another oops! Please merge when you see fit.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PR PATCH] [Merged]: gcc: re-add patch to fix relocation errors in libgomp dependants
  2019-06-29 18:54 [PR PATCH] gcc: re-add patch to fix relocation errors in libgomp dependants voidlinux-github
  2019-06-29 20:04 ` voidlinux-github
@ 2019-06-29 20:58 ` voidlinux-github
  1 sibling, 0 replies; 3+ messages in thread
From: voidlinux-github @ 2019-06-29 20:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 320 bytes --]

There's a merged pull request on the void-packages repository

gcc: re-add patch to fix relocation errors in libgomp dependants
https://github.com/void-linux/void-packages/pull/12745
Description: was previously added in 75fe6cb0497347aefead33b84a789897360a9116

It is needed at least for python3-Pillow on x86_64-musl

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-06-29 20:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-29 18:54 [PR PATCH] gcc: re-add patch to fix relocation errors in libgomp dependants voidlinux-github
2019-06-29 20:04 ` voidlinux-github
2019-06-29 20:58 ` [PR PATCH] [Merged]: " voidlinux-github

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).