From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] mk: fix link with gcc Date: Tue, 10 Jun 2014 13:39:10 +0200 Message-ID: <1610676.2NcRHxOWZ3@xps13> References: <1401195316-31149-1-git-send-email-thomas.monjalon@6wind.com> <2352405.jTgRhv3zRV@xps13> <538C2A59.2060501@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Cc: dev-VfR2kkLFssw@public.gmane.org To: Olivier MATZ Return-path: In-Reply-To: <538C2A59.2060501-pdR9zngts4EAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 2014-06-02 09:40, Olivier MATZ: > Hi Thomas, >=20 > On 05/29/2014 08:48 AM, Thomas Monjalon wrote: > > You're right, title should be: > > =09mk: fix 32-bit link with gcc > > > > And I should add some details in the commit log: > > > > I didn't see any error with -z muldefs but it isn't documented in g= cc manual. > > So it's safer to explicitly pass it to the linker. > > > > The variable CPU_LDFLAGS contains "-melf_i386" in 32-bit configurat= ions. So > > building 32-bit shared library raises this error: > > =09gcc: error: unrecognized command line option =E2=80=98-melf_i386= =E2=80=99 > > > > Olivier, I'll make these changes if you (or Neil) ack the patch. >=20 > Acked-by: Olivier Matz Applied for version 1.7.0. --=20 Thomas