[grisbi-bugs] [Grisbi-0.6.0 0001096]: Build fails on F-13 because of implicit linking
bugtracker at grisbi.org
bugtracker at grisbi.org
Fri May 21 20:53:01 CEST 2010
The following issue has been CLOSED
======================================================================
http://grisbi.tuxfamily.org/mantis/view.php?id=1096
======================================================================
Reported By: abompard
Assigned To:
======================================================================
Project: Grisbi-0.6.0
Issue ID: 1096
Category: Main
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Plateforme: Linux
OS: Autre(Other)
Version OS:
Unstable Impact: Yes
Version GTK:
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 05-21-2010 06:29 UTC
Last Modified: 05-21-2010 18:53 UTC
======================================================================
Summary: Build fails on F-13 because of implicit linking
Description:
On Fedora 13, the implicit linking feature of LD has been disabled. The
reason, from the fedora wiki page
http://fedoraproject.org/wiki/UnderstandingDSOLinkChange is :
The default behaviour for ld allows users to 'indirectly' link to required
objects/libraries through intermediate objects/libraries. While this is
convenient, it can also be dangerous because it makes your program's
dependencies tied to the dependencies of other objects. If those objects
ever change their linkages, they can break your program without any changes
to your own code.
Grisbi is affected, I've attached a patch to fix the build. Feel free to
adapt it as needed, I'm no autoconf expert.
Err... I tried to attache the patch to Mantis but it fails, so I'll
cut-n-paste it here :
------8<-----------8<-------------8<---------------8<----------------
--- configure.in.dso 2010-04-28 18:19:58.000000000 +0200
+++ configure.in 2010-05-20 08:48:19.619648407 +0200
@@ -261,6 +261,8 @@
AC_SUBST(GSB_NOOPTIM)
+# Avoid implicit dynamic linking
+LDFLAGS="${LDFLAGS} -lm -lz"
AC_SUBST(GTK_LIBS)
AC_SUBST(GTK_CFLAGS)
------8<-----------8<-------------8<---------------8<----------------
======================================================================
----------------------------------------------------------------------
pbiava - 05-21-10 18:53
----------------------------------------------------------------------
see bug 1097
Issue History
Date Modified Username Field Change
======================================================================
05-21-10 06:29 abompard New Issue
05-21-10 18:53 pbiava Plateforme => Linux
05-21-10 18:53 pbiava OS => Autre(Other)
05-21-10 18:53 pbiava Unstable Impact => Yes
05-21-10 18:53 pbiava Status new => closed
05-21-10 18:53 pbiava Note Added: 0002408
======================================================================
More information about the bugsreports
mailing list