Bug 269903 - RawEngine no longer compiles due to a linking error [patch]
Summary: RawEngine no longer compiles due to a linking error [patch]
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Compilation (show other bugs)
Version: 2.0.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-01 23:04 UTC by Raymond Wooninck
Modified: 2018-04-01 09:45 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 2.0.0


Attachments
fix linking problem (881 bytes, patch)
2011-04-02 09:27 UTC, david ross
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Raymond Wooninck 2011-04-01 23:04:38 UTC
Version:           2.0.0 (using Devel) 
OS:                Linux

When building the latest libkdcraw library, the following compiler error occurs :

/usr/bin/c++  -fPIC -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g  -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Werror=return-type -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -O4 -DNDEBUG -DQT_NO_DEBUG -Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl,--no-undefined -lc -Wl,-Bsymbolic-functions  -shared -Wl,-soname,libkdcraw.so.20 -o ../lib/libkdcraw.so.20.0.0 CMakeFiles/kdcraw.dir/kdcraw_automoc.o CMakeFiles/kdcraw.dir/kdcraw.o CMakeFiles/kdcraw.dir/kdcraw_p.o CMakeFiles/kdcraw.dir/dcrawsettingswidget.o CMakeFiles/kdcraw.dir/dcrawinfocontainer.o CMakeFiles/kdcraw.dir/rawdecodingsettings.o CMakeFiles/kdcraw.dir/rcombobox.o CMakeFiles/kdcraw.dir/rnuminput.o CMakeFiles/kdcraw.dir/rexpanderbox.o CMakeFiles/kdcraw.dir/squeezedcombobox.o -L/usr/src/packages/BUILD/libkdcraw-4.6.41_20110401/build/lib ../lib/liblibraw.a /usr/lib64/libkdeui.so.5.7.0 /usr/lib64/libkio.so.5.7.0 -lm -llcms -ljpeg -lgomp /usr/lib64/libQtNetwork.so /usr/lib64/libQtXml.so /usr/lib64/libkdeui.so.5.7.0 /usr/lib64/libkdecore.so.5.7.0 /usr/lib64/libQtDBus.so /usr/lib64/libQtCore.so -lpthread /usr/lib64/libQtGui.so /usr/lib64/libQtSvg.so 
/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: ../lib/liblibraw.a(libraw_cxx.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
../lib/liblibraw.a: could not read symbols: Bad value

As that libkdcraw no longer compiles, also digikam and kipi-plugins no longer builds. This happened only after the changes of today, 

Reproducible: Always
Comment 1 david ross 2011-04-02 09:27:24 UTC
Created attachment 58514 [details]
fix linking problem
Comment 2 caulier.gilles 2011-04-02 10:23:24 UTC
Thanks for the patch

Gilles Caulier
Comment 3 caulier.gilles 2011-04-02 10:32:18 UTC
Git commit 9061f79a6da25ce497bc8e8fd4cb6457f02883f6 by Gilles Caulier.
Committed on 02/04/2011 at 10:35.
Pushed by cgilles into branch 'master'.

apply patch #58514
BUGS: 269903

M  +2    -1    CMakeLists.txt     

http://commits.kde.org/libkdcraw/9061f79a6da25ce497bc8e8fd4cb6457f02883f6