cowdancer, cowbuilder, and qemubuilder repository: Changes to 'master'

Junichi Uekawa dancer at alioth.debian.org
Tue Nov 29 12:26:47 UTC 2011


 Makefile                     |    2 +-
 tests/015_test_ilistdelete.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit eb0fe560cddc952c178e754196a389701a3ed690
Author: Colin Watson <cjwatson at ubuntu.com>
Date:   Fri Nov 11 15:05:32 2011 +0000

    Bug#648438: cowdancer: FTBFS with ld that defaults to --as-needed: bad link order
    
    Package: cowdancer
    Version: 0.65
    Severity: important
    Tags: patch
    User: ubuntu-devel at lists.ubuntu.com
    Usertags: origin-ubuntu ubuntu-patch oneiric
    
    cowdancer fails to build with a linker that defaults to --as-needed, as
    shown in this Ubuntu build log:
    
      https://launchpadlibrarian.net/83906438/buildlog_ubuntu-precise-i386.cowdancer_0.65_FAILEDTOBUILD.txt.gz
    
    This is because of incorrect link ordering: it puts libraries before the
    objects that use them rather than after.  See:
    
      http://wiki.debian.org/ToolChain/DSOLinking#Only_link_with_needed_libraries
    
    The following patch fixes this.
    
      * Fix link order to list libraries after the objects that require them.
      * Use -pthread rather than -lpthread, since it should be a superset, it's
        what's recommended in pthread_create(3), and it isn't so sensitive to
        link order.




More information about the Pbuilder-maint mailing list