GLIBC incompatibilities

Continuing the discussion from Libc incompatibilities: when will they emerge?:

Hi. I came across this post because I’m trying to resolve a somewhat different issue and this seems aligned.

I have docker containers for centos6 running on centos7 hosts, with the aim of simulating a build environment. I’m getting

undefined reference to memcpy@GLIBC_2.14

in the centos6 containers, because they have glibc-2.12

The containers were run with --privileged - I’m wondering whether this has anything to do with it. From the previous post, it seems like I shouldn’t be getting these errors.