From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/beignet/
Date: Mon, 19 Sep 2016 12:00:29 +0000 (UTC) [thread overview]
Message-ID: <1474286419.84edfbb360a37db0b0837896e5cb738c02e1f64f.marecki@gentoo> (raw)
commit: 84edfbb360a37db0b0837896e5cb738c02e1f64f
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 19 11:59:28 2016 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon Sep 19 12:00:19 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84edfbb3
dev-libs/beignet: fix linking of 1.2.0 against LLVM-3.8
Without adding -fPIC to compiler flags one the temporary executables invoked at
build time segfaults.
Gentoo-Bug: 593968
Package-Manager: portage-2.3.1
dev-libs/beignet/beignet-1.2.0.ebuild | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/dev-libs/beignet/beignet-1.2.0.ebuild b/dev-libs/beignet/beignet-1.2.0.ebuild
index 0e6c87b..ac2bb7d 100644
--- a/dev-libs/beignet/beignet-1.2.0.ebuild
+++ b/dev-libs/beignet/beignet-1.2.0.ebuild
@@ -7,7 +7,7 @@ EAPI=6
PYTHON_COMPAT=( python2_7 )
CMAKE_BUILD_TYPE="Release"
-inherit python-any-r1 cmake-multilib toolchain-funcs
+inherit python-any-r1 cmake-multilib flag-o-matic toolchain-funcs
DESCRIPTION="OpenCL implementation for Intel GPUs"
HOMEPAGE="https://01.org/beignet"
@@ -25,12 +25,11 @@ else
S=${WORKDIR}/Beignet-${PV}-Source
fi
-# Should support <sys-devel/llvm-3.9 but see Bug #593968
COMMON="${PYTHON_DEPS}
media-libs/mesa
sys-devel/clang
>=sys-devel/llvm-3.5
- <sys-devel/llvm-3.8
+ <sys-devel/llvm-3.9
x11-libs/libdrm[video_cards_intel]
x11-libs/libXext
x11-libs/libXfixes"
@@ -66,6 +65,9 @@ pkg_setup() {
}
src_prepare() {
+ # See Bug #593968
+ append-flags -fPIC
+
cmake-utils_src_prepare
# We cannot run tests because they require permissions to access
# the hardware, and building them is very time-consuming.
next reply other threads:[~2016-09-19 12:00 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-19 12:00 Marek Szuba [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-07-03 11:24 [gentoo-commits] repo/gentoo:master commit in: dev-libs/beignet/ Marek Szuba
2019-06-20 11:19 Marek Szuba
2019-06-20 11:19 Marek Szuba
2019-06-20 9:33 Mikle Kolyada
2019-06-05 23:13 Marek Szuba
2019-05-24 14:35 Marek Szuba
2019-05-24 14:20 Marek Szuba
2018-09-27 9:49 Marek Szuba
2018-08-31 13:08 Marek Szuba
2018-08-08 10:21 Guilherme Amadio
2018-04-11 16:19 Michał Górny
2018-03-20 10:01 Agostino Sarubbo
2018-03-17 9:29 Marek Szuba
2018-03-13 10:29 Marek Szuba
2017-12-10 10:17 Pacho Ramos
2017-12-01 11:45 Marek Szuba
2017-11-06 11:54 Marek Szuba
2017-08-17 17:06 Michał Górny
2017-06-30 13:19 Marek Szuba
2017-06-30 13:09 Alexis Ballier
2017-06-30 12:58 Marek Szuba
2017-06-14 8:19 Marek Szuba
2017-06-14 7:49 Agostino Sarubbo
2017-04-20 11:24 Marek Szuba
2017-04-20 10:33 Marek Szuba
2017-03-20 12:44 Marek Szuba
2017-03-19 11:32 Justin Lecher
2017-02-19 17:46 Marek Szuba
2016-11-10 14:28 Marek Szuba
2016-10-07 7:25 Marek Szuba
2016-09-19 10:40 Marek Szuba
2016-09-19 10:40 Marek Szuba
2016-09-02 8:52 Marek Szuba
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1474286419.84edfbb360a37db0b0837896e5cb738c02e1f64f.marecki@gentoo \
--to=marecki@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox