This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Move new totalorder from libm to libc
- From: "Gabriel F. T. Gomes" <gabriel at inconstante dot net dot br>
- To: Florian Weimer <fw at deneb dot enyo dot de>
- Cc: <libc-alpha at sourceware dot org>
- Date: Mon, 16 Dec 2019 14:07:14 -0300
- Subject: Re: Move new totalorder from libm to libc
- References: <87tv62daqi.fsf@mid.deneb.enyo.de>
On Sat, 14 Dec 2019, Florian Weimer wrote:
>Should we define the new totalorder in libc, so that it is harder to
>get the wrong version at run time due to underlinking?
I didn't understand how underlinking could cause a wrong version to be
selected. Isn't totalorder only provided by libm? Where would a user
program get the old version from? I can only imagine it getting undefined
references during link time.