[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-release-team
Subject:    Fwd: Re: Review Request 128697: Fix wrong value of __KDE_HAVE_GCC_VISIBILITY on systems with gcc 6.
From:       David Faure <faure () kde ! org>
Date:       2016-08-16 14:11:31
Message-ID: 12089291.XxWyKcXJQx () asterixp50
[Download RAW message or body]

Packagers: 
if you're using gcc 6, please integrate the fix below into your existing 
kdelibs4 packages as soon as possible, given that it made linking of kde4 apps 
(creating shared libs) impossible on Fedora 24, Arch Linux, OpenSuSE 
Tumbleweed, and probably others.
(symbols marked as exported, were not actually exported)

----------  Forwarded Message  ----------

Subject: Re: Review Request 128697: Fix wrong value of 
__KDE_HAVE_GCC_VISIBILITY on systems with gcc 6.
Date: mardi 16 août 2016, 14:04:12 CEST
From: David Faure <faure@kde.org>
To: Allen Winter <winter@kde.org>
CC: kdelibs <kde-core-devel@kde.org>, David Faure <faure@kde.org>



-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/128697/
-----------------------------------------------------------

(Updated Aug. 16, 2016, 2:04 p.m.)


Status
------

This change has been marked as submitted.


Review request for kdelibs and Allen Winter.


Changes
-------

Submitted with commit e9b25c7c040d8526fe8675b97d1067c8ffa7249f by David Faure 
to branch KDE/4.14.


Repository: kdelibs


Description
-------

Clearly the author of this regexp, in 2006, thought gcc would never
hit version 6 :-)


Diffs
-----

  cmake/modules/FindKDE4Internal.cmake 
7d54b9b83b999f6a6e8541f8e8b89e0b2a105703 

Diff: https://git.reviewboard.kde.org/r/128697/diff/


Testing
-------

Before:

kdemacros:/* #undef __KDE_HAVE_GCC_VISIBILITY */

After:

kdemacros.h:#define __KDE_HAVE_GCC_VISIBILITY


The impact of this was that symbols were no longer exported in shared libs 
that use the KDE_EXPORT macro, thus breaking linking.


Thanks,

David Faure


-----------------------------------------
-- 
David Faure, faure@kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic