[Kst] [Bug 259815] New: kst (2.0.2) fails to build with GNU binutils-gold.

Ruben Molina rmolina at udea.edu.co
Tue Dec 14 09:05:00 CET 2010


           Summary: kst (2.0.2) fails to build with GNU binutils-gold.
           Product: kst
           Version: 2.0.2
          Platform: Debian unstable
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kst at kde.org
        ReportedBy: rmolina at udea.edu.co

Version:           2.0.2 (using KDE 1.2) 
OS:                Linux

kst (2.0.2) fails to build with GNU binutils-gold.  Gold is a new, faster, ELF
only linker, still in beta test.

The important difference is that --no-add-needed is the default behavior of GNU
binutils-gold, so we need to provide all the needed libraries to the linker
when building the executables.

Reproducible: Always

Steps to Reproduce:
Use --no-add-needed, or install binutils-gold

Actual Results:  
 build/lib/libkst2lib.so: error: undefined reference to 'clock_gettime' 

Expected Results:  
It should build :)

Using the following patch the package builds fine.
Please note I'm not fluent in qmake, so I don't know if this is the proper way.

--- kst-2.0.2.orig/src/libkst/libkst.pro
+++ kst-2.0.2/src/libkst/libkst.pro
@@ -6,6 +6,7 @@ CONFIG += dll
 TARGET = $$kstlib(kst2lib)

Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the Kst mailing list