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

List:       kdelibs-bugs
Subject:    [Bug 302387] New: kdelibs fails to compile with gcc-4.7.1 and LTO enabled
From:       David <StormByte () gmail ! com>
Date:       2012-06-23 3:50:23
Message-ID: bug-302387-90985 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

            Bug ID: 302387
          Severity: normal
           Version: 4.8
          Priority: NOR
          Assignee: kdelibs-bugs@kde.org
           Summary: kdelibs fails to compile with gcc-4.7.1 and LTO
                    enabled
    Classification: Unclassified
                OS: Linux
          Reporter: StormByte@gmail.com
          Hardware: Gentoo Packages
            Status: UNCONFIRMED
         Component: general
           Product: kdelibs

I am getting several undefined references when compiling kdelibs 4.8.4 with gcc
4.7.1 (latest) and lto enabled (-flto and -Wl,-flto).
I'll attach the full build log later, but these are the relevant lines (in
linking stage when cmake reports 100% progress)
/var/tmp/portage/kde-base/kdelibs-4.8.4/temp/cc5JUBsS.ltrans0.ltrans.o:cc5JUBsS.ltrans0.o:function
_ZN5khtml8IDStringINS_13PrefixFactoryEED2Ev.local.62.3422: error: undefined
reference to 'khtml::PrefixFactory::s_idTable'
/var/tmp/portage/kde-base/kdelibs-4.8.4/temp/cc5JUBsS.ltrans0.ltrans.o:cc5JUBsS.ltrans0.o:function
_ZN5khtml8IDStringINS_16NamespaceFactoryEED2Ev.local.64.3544: error: undefined
reference to 'khtml::NamespaceFactory::s_idTable'
/var/tmp/portage/kde-base/kdelibs-4.8.4/temp/cc5JUBsS.ltrans0.ltrans.o:cc5JUBsS.ltrans0.o:function
_ZN5khtml8IDStringINS_13PrefixFactoryEED2Ev.local.62.3422: error: undefined
reference to 'khtml::IDTableBase::releaseId(unsigned int)'
/var/tmp/portage/kde-base/kdelibs-4.8.4/temp/cc5JUBsS.ltrans0.ltrans.o:cc5JUBsS.ltrans0.o:function
_ZN5khtml8IDStringINS_16NamespaceFactoryEED2Ev.local.64.3544: error: undefined
reference to 'khtml::IDTableBase::releaseId(unsigned int)'

(seems all related to khtml)

Reproducible: Always

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Kdelibs-bugs mailing list
Kdelibs-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdelibs-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

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