From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-710196-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D7F9213877A for <garchives@archives.gentoo.org>; Fri, 11 Jul 2014 14:06:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D6A56E0891; Fri, 11 Jul 2014 14:06:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 68A54E0891 for <gentoo-commits@lists.gentoo.org>; Fri, 11 Jul 2014 14:06:45 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6512533FF83 for <gentoo-commits@lists.gentoo.org>; Fri, 11 Jul 2014 14:06:44 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 074D618011 for <gentoo-commits@lists.gentoo.org>; Fri, 11 Jul 2014 14:06:43 +0000 (UTC) From: "Davide Pesavento" <pesa@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Davide Pesavento" <pesa@gentoo.org> Message-ID: <1405087413.f3ddfdb6a90e7d424160bb00f9247eae88ee4a50.pesa@gentoo> Subject: [gentoo-commits] proj/qt:master commit in: eclass/ X-VCS-Repository: proj/qt X-VCS-Files: eclass/qt5-build.eclass X-VCS-Directories: eclass/ X-VCS-Committer: pesa X-VCS-Committer-Name: Davide Pesavento X-VCS-Revision: f3ddfdb6a90e7d424160bb00f9247eae88ee4a50 X-VCS-Branch: master Date: Fri, 11 Jul 2014 14:06:43 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 638315ad-85a0-4eeb-a919-643e8fcaa031 X-Archives-Hash: 63634a7e1ba6b2c89d83ed0323a298ca commit: f3ddfdb6a90e7d424160bb00f9247eae88ee4a50 Author: Davide Pesavento <pesa <AT> gentoo <DOT> org> AuthorDate: Fri Jul 11 14:03:33 2014 +0000 Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org> CommitDate: Fri Jul 11 14:03:33 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=f3ddfdb6 [qt5-build] Let configure figure out reduced relocations support. This should fix arm and ppc support (at least). See upstream bug https://bugreports.qt-project.org/browse/QTBUG-36129 Thanks to Vladimir Smirnov <civil <AT> gentoo.org> for the heads-up. --- eclass/qt5-build.eclass | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass index 99ba8df..827bf78 100644 --- a/eclass/qt5-build.eclass +++ b/eclass/qt5-build.eclass @@ -496,13 +496,14 @@ qt5_base_configure() { # don't strip -no-strip - # precompiled headers aren't really useful for us + # precompiled headers are not that useful for us # and cause problems on hardened, so turn them off -no-pch - # reduce relocations in libraries through extra linker optimizations - # requires GNU ld >= 2.18 - -reduce-relocations + # reduced relocations cause major breakage on at least arm and ppc, so we + # don't specify anything and let configure figure out if they are supported, + # see also https://bugreports.qt-project.org/browse/QTBUG-36129 + #-reduce-relocations # disable all SQL drivers by default, override in qtsql -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-odbc