[dpdk-dev] [PATCH] mk: fix link with gcc
Olivier MATZ
olivier.matz at 6wind.com
Mon Jun 2 09:40:09 CEST 2014
Hi Thomas,
On 05/29/2014 08:48 AM, Thomas Monjalon wrote:
> You're right, title should be:
> mk: 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 gcc manual.
> So it's safer to explicitly pass it to the linker.
>
> The variable CPU_LDFLAGS contains "-melf_i386" in 32-bit configurations. So
> building 32-bit shared library raises this error:
> gcc: error: unrecognized command line option ‘-melf_i386’
>
> Olivier, I'll make these changes if you (or Neil) ack the patch.
Acked-by: Olivier Matz <olivier.matz at 6wind.com>
More information about the dev
mailing list