After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 406653 - gthumb fails to import photos when compiled with LDFLAGS="-Wl,--as-needed"
gthumb fails to import photos when compiled with LDFLAGS="-Wl,--as-needed"
Status: RESOLVED OBSOLETE
Product: gthumb
Classification: Other
Component: general
2.8.x
Other All
: Normal normal
: ---
Assigned To: Paolo Bacchilega
Paolo Bacchilega
Depends on:
Blocks:
 
 
Reported: 2007-02-11 11:08 UTC by Gilles Dartiguelongue
Modified: 2007-02-12 10:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gthumb-2.8.1-as-needed.patch (1.18 KB, patch)
2007-02-11 11:11 UTC, Gilles Dartiguelongue
none Details | Review

Description Gilles Dartiguelongue 2007-02-11 11:08:45 UTC
Please describe the problem:
Compiling gthumb with LDFLAGS="-Wl,--as-needed" currently results on libphotoimporter crashing gthumb. 

A similar bug is described at :
http://lists.pld-linux.org/mailman/pipermail/pld-users-pl/2006-November/063429.html

Can't read the language but at least the error and the fix are similar although the fix is not quite right.

Steps to reproduce:
1. compile gthumb with LDFLAGS="-Wl,--as-needed"
2. launch gthumb and try to import photos from camera



Actual results:
gthumb crashes saying libphotoimporter cannot resolve some symbols

Expected results:
gthumb doesn't crash

Does this happen every time?
yes

Other information:
will attach the patch used by gentoo
Comment 1 Gilles Dartiguelongue 2007-02-11 11:11:34 UTC
Created attachment 82312 [details] [review]
gthumb-2.8.1-as-needed.patch

this is the fix used on gentoo, it is actually present since 2.6.9 it seems.
Comment 2 Paolo Bacchilega 2007-02-11 19:03:39 UTC
I tried to compile the current development version (svn trunk) with LDFLAGS="-Wl,--as-needed" and it did'nt crash, so I think it's fixed now.
Comment 3 Gilles Dartiguelongue 2007-02-11 20:38:14 UTC
it's indeed fixed in svn head, sorry for the noise
Comment 4 Gilles Dartiguelongue 2007-02-11 20:39:25 UTC
gaaah, forgot to ask if you plan to release a fixed version of 2.8 series ?
Comment 5 Paolo Bacchilega 2007-02-12 10:42:12 UTC
yes