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

List:       kde-bugs-dist
Subject:    [Bug 302387] kdelibs fails to compile with gcc-4.7.1 and LTO enabled
From:       Colin MacLean <colin () colin-maclean ! com>
Date:       2012-09-27 4:09:08
Message-ID: bug-302387-17878-hJwYb42gsO () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=302387

Colin MacLean <colin@colin-maclean.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |colin@colin-maclean.com

--- Comment #3 from Colin MacLean <colin@colin-maclean.com> ---
My build fails at the same place. It should be noted that -fvisibility=hidden
is also enabled.

KDE_EXPORT on the Factories and releaseId() successfully keeps the
compiler/linker from optimizing away these symbols. It could be argued that
compiler is being overaggressive with the optimizations of the factories, but
adding KDE_EXPORT shouldn't hurt anything.
khtml::IDTableBase::releaseID(unsigned int) is private, so I can see how the
compiler would think it is safe to optimize that out.

There may be other symbols that weren't exported that need to be, but I haven't
finished building kde, yet.

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

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