Menu

#3 default gcc linking

v1.0.6 W32
closed-fixed
5
2015-01-19
2010-04-06
Anonymous
No

Hello,

I'm trying to package garden for inclusion in Fedora.

The next version of Fedora will introduce a change to the default behaviour of ld: http://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking

Right now the build fails on Fedora 13 like this:

/usr/bin/ld: stuff.o: undefined reference to symbol 'sincosf@@GLIBC_2.2.5'
/usr/bin/ld: note: 'sincosf@@GLIBC_2.2.5' is defined in DSO /lib64/libm.so.6 so try adding it to the linker command line
/lib64/libm.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: Leaving directory `/builddir/build/BUILD/garden-1.0.8/bin'
make[1]: *** [garden] Error 1
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.d8ggWj (%build)

My package reviewer suggested a patch that I'm attaching which fixes the above problem.

Thanks for a great (and unbeatable) game!

Discussion

  • Matěj Týč

    Matěj Týč - 2010-04-28

    Wow, what wonderful news!
    Anyway, try to check out the current SVN,
    https://garden.svn.sourceforge.net/svnroot/garden/trunk
    run autoreconf -i in the root and then ./configure, etc. as you are used to.

     
  • Matěj Týč

    Matěj Týč - 2010-04-28
    • assigned_to: nobody --> bubla
    • status: open --> open-accepted
     
  • Anonymous

    Anonymous - 2010-06-13

    Hi, sorry for taking so long to answer. I thought I'd receive an email notification, but I didn't.

    The changes seem to work fine.

    Garden is already in Fedora; I'll update the package and remove the patch when you release a new version.

    Thanks

     
  • Matěj Týč

    Matěj Týč - 2015-01-19
    • status: open-accepted --> closed-fixed
    • Group: --> v1.0.6 W32
     
  • Matěj Týč

    Matěj Týč - 2015-01-19

    Fixed in 1.0.9

     

Log in to post a comment.