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 516302 - Linking fails on amd64 platforms
Linking fails on amd64 platforms
Status: RESOLVED FIXED
Product: gimp-gap
Classification: Other
Component: general
2.4.0
Other Linux
: Normal normal
: ---
Assigned To: hof
hof
Depends on:
Blocks:
 
 
Reported: 2008-02-13 21:02 UTC by quazgar
Modified: 2009-03-12 06:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description quazgar 2008-02-13 21:02:35 UTC
On my gentoo machine (amd64) linking against the shipped ffmpeg libs fails with the plain vanilla 2.4.0 download due to some shared library problems.  The problem in depth is documented (and classified as generically upstream) here:
http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=3
Setting CFLAGS to -fPIC for configure makes everything work again:

$ CFLAGS="-fPIC" ./configure --prefix=${HOME}/local/

Still, IMHO, this should be fixed internally in GAP.
Comment 1 hof 2009-03-11 06:46:21 UTC
the configure.in script in the current svn trunk 
uses -fPIC automatically in case gcc compiler is used

Code example:

dnl Use -Wall if we have gcc.
changequote(,)dnl
if test "x$GCC" = "xyes"; then
  case " $CFLAGS " in
  *[\ \      ]-Wall[\ \      ]*) ;;
  *) CFLAGS="$CFLAGS -Wall" ;;
  esac

  case " $CFLAGS " in
  *[\ \      ]-fPIC[\ \      ]*) ;;
  *) CFLAGS="$CFLAGS -fPIC" ;;
  esac

fi

note that gimp-gap has been updated to newer ffmpeg version.
therefore feedback about build problems or success on your amd64 machine
may help to solve this bug.
(are you using the gcc compiler ?)
Comment 2 quazgar 2009-03-11 18:46:59 UTC
Yes, using gcc (4.1.2), and yes, seems to be fixed in svn, at least for me. This bug could be closed as fixed now imo.
Comment 3 hof 2009-03-12 06:11:28 UTC
thank you for testing.