[dpdk-dev] Compile errors with libc < 2.12

Thomas Monjalon thomas.monjalon at 6wind.com
Wed Nov 18 15:24:56 CET 2015


2015-11-18 13:32, Ferruh Yigit:
> When libc version is < 2.12 there are two compile errors, both introduced in DPDK2.2, more details below.
> 
> We can solve issue in a few ways:
> 1- Ignore errors, this depends on if any user has this version. glibc 2.12 released around 2010, still may have distros with libc < 2.12, at least SUSE11 does.
> 2- Make DPDK compatible with older glibc versions. 
> 3- Use a compile option to wrap functionality that fails
> 
> I prefer option 2,
> option 1 may break DPDK for some users, and option 3 adds new complexity and dependency to maintain.
> 
> Please advise how to proceed? 

Yes, please try the option 2.
Having a degraded mode for old libc is acceptable. So you can use some stubs.
Thanks


More information about the dev mailing list