From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f49.google.com (mail-wg0-f49.google.com [74.125.82.49]) by dpdk.org (Postfix) with ESMTP id 098C9ADFE for ; Wed, 4 Feb 2015 23:34:25 +0100 (CET) Received: by mail-wg0-f49.google.com with SMTP id k14so4398469wgh.8 for ; Wed, 04 Feb 2015 14:34:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=i78NwAMnIJtqd94+7wwkWuSdQ5XvZsjfIzsVCria9j8=; b=ZDgBg5/MoTBCvEbt9QWxh2/jIMhK2aOfygaMCMX/ZP6b7K0ttPcdJLeTaaLA7f7z7y mjyDbhuKFTYiIUmgfrKdQUC1/lVKH9+CON1Sfa4XloWVlarzh4PuqOg6FvwBbeUdKmlq ZXJODDwm1ZZvO8uAludjcDeoEiF38p/Ams1NtYbd6Uqi3Mq2J4qIJ5EhrQajZiJJv9Ak pI6f+v80s481wAhEMkcqWZgWW5AT5VXg/li9cttF0MEzOcMNudAtpNLBM+mBNmUj/WU2 Tst/glxOi94AcdpIaZ/Y93U8nX2/EEKCP/EDvquBoS5zScAnsXKVRLVTe0FzI2+7p+Zh Buxg== X-Gm-Message-State: ALoCoQlSbMJV+DJ1EwVuFBVCk6h1xErePGMHhTz0BLJob5obb25ITfsgqfhMqjoCEmCOELuJXXtk X-Received: by 10.194.220.7 with SMTP id ps7mr1336692wjc.84.1423089264851; Wed, 04 Feb 2015 14:34:24 -0800 (PST) Received: from xps13.localnet (guy78-1-82-235-116-147.fbx.proxad.net. [82.235.116.147]) by mx.google.com with ESMTPSA id ud9sm5125662wib.5.2015.02.04.14.34.23 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Feb 2015 14:34:24 -0800 (PST) From: Thomas Monjalon To: Panu Matilainen Date: Wed, 04 Feb 2015 23:33:55 +0100 Message-ID: <3497152.YXM3ImxkSG@xps13> Organization: 6WIND User-Agent: KMail/4.14.4 (Linux/3.18.4-1-ARCH; KDE/4.14.4; x86_64; ; ) In-Reply-To: <20150204114327.GB29569@hmsreliant.think-freely.org> References: <12505651f6361349aca43b8c2e9e19f8b7901e57.1423038170.git.pmatilai@redhat.com> <20150204114327.GB29569@hmsreliant.think-freely.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] mk: Add DT_SONAME to shared libraries X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2015 22:34:25 -0000 2015-02-04 06:43, Neil Horman: > On Wed, Feb 04, 2015 at 10:22:50AM +0200, Panu Matilainen wrote: > > This is all-important now that the libraries are versioned: DT_SONAME > > presence instructs the runtime dynamic linker to load the shared object > > by the versioned name in DT_SONAME instead of the the unversioned symlink > > name used during build. > > > > Signed-off-by: Panu Matilainen > > -O_TO_S = $(LD) $(_CPU_LDFLAGS) -shared $(OBJS-y) -o $(LIB) > > +O_TO_S = $(LD) $(_CPU_LDFLAGS) -shared $(OBJS-y) -Wl,-soname,$(LIB) -o $(LIB) > Acked-by: Neil Horman Applied, thanks.