From: Xose Vazquez Perez Subject: Re: [PATCH] multipath-tools: arrange compilation options for binaries Date: Fri, 24 Mar 2017 14:52:35 +0100 Message-ID: References: <20170317224002.8967-1-xose.vazquez@gmail.com> <20d24d9d-566f-cd2b-8f45-86167ffdd0df@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Christophe Varoqui Cc: device-mapper development List-Id: dm-devel.ids On 03/23/2017 03:55 PM, Christophe Varoqui wrote: > Yes indeed, the build really failed on my box. > > Toolchain versions : > * gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.2) > * GNU ld (GNU Binutils for Ubuntu) 2.26.1 In Fedora 25, with these packages, it's built flawlessly: kernel-4.10.5 binutils-2.26.1 glibc-2.24 make-4.1 gcc-6.3.1 clang-3.9.1 >> And reverted: >> hh >> From http://eli.thegreenplace.net/2013/07/09/library-order-in-static-linking : >> >> If object or library AA needs a symbol from library BB, then AA should >> come /before/ library BB in the command-line invocation of the linker. > Maybe this limitation was fixed in newer releases.