July 02, 2014
https://issues.dlang.org/show_bug.cgi?id=13025

          Issue ID: 13025
           Summary: Tools repository does not build on Ubuntu
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Keywords: link-failure
          Severity: regression
          Priority: P1
         Component: DMD
          Assignee: nobody@puremagic.com
          Reporter: briancschott@gmail.com
                CC: code@klickverbot.at

Attempting to build the "tools" repository on Ubuntu 14.4 gives the following error:

/usr/bin/ld: ../phobos/generated/linux/release/64/libphobos2.a(sections_linux_517_883.o): undefined reference to symbol '__bss_start' //usr/lib/x86_64-linux-gnu/librtmp.so.0: error adding symbols: DSO missing from command line

Adding "-lrtmp" after "-lcurl" fixes the compile. This should not be necessary because I'm sure that none of the tools need this, as "The Real-Time Messaging Protocol (RTMP) is used for streaming multimedia content across a TCP/IP network".

My version of ld is "GNU ld (GNU Binutils for Ubuntu) 2.24". I'm not able to reproduce this issue on a Debian system using ld 2.22 or a Gentoo system using ld 2.24.

--