Building for older systems

Michael Eager eager@eagerm.com
Tue Dec 1 15:28:00 GMT 2015


On 11/29/2015 05:05 PM, Ángel González wrote:
> On 29/11/15 15:20, Michael Eager wrote:
>> I'm trying to build packages (gcc, etc.) on a newer
>> version of Linux which can run on an older Linux system
>> with an older glibc.  I've run into the memcpy versioning
>> problem.
>> (...)
>> Any solutions to building for an older glibc?
>>
>
> If you just want to work around the memcpy 2.14 version bump, you can:
> a) #define memcpy memmove
>
>
> b) Use a memcpy wrapper that explicitely uses the old symbol, as
> described in http://stackoverflow.com/a/8862631

I'll give the wrapper a try.


-- 
Michael Eager	 eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077



More information about the Libc-help mailing list