mailing list of musl libc
 help / color / mirror / code / Atom feed
* [musl] friendly errors for ABI mismatch
@ 2020-07-27 15:27 Ariadne Conill
  2020-07-27 16:03 ` Rich Felker
  2020-07-27 21:16 ` Florian Weimer
  0 siblings, 2 replies; 8+ messages in thread
From: Ariadne Conill @ 2020-07-27 15:27 UTC (permalink / raw)
  To: musl

Hello,

On 32-bit systems, musl 1.2 has a new ABI (due to time64).  This results in 
programs built against musl 1.2 failing to run against musl 1.1.  That part is 
fine, but you get an error message about being unable to relocate symbols, 
which is not really insightful if you don't know about the ABI break.

glibc, on the other hand, has a minimum version specified in every binary, and 
prints an error message saying the glibc is too old if this situation is 
encountered.

I think we should add this feature to musl, so that in the future if we have 
another ABI break, users will be given useful advice about how to fix it.  Due 
to the relocation error message, a few Alpine contributors have been tripped 
up while trying to debug their work...

Ariadne



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-07-29  1:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-27 15:27 [musl] friendly errors for ABI mismatch Ariadne Conill
2020-07-27 16:03 ` Rich Felker
2020-07-27 20:54   ` A. Wilcox
2020-07-27 20:57   ` Ariadne Conill
2020-07-27 21:50     ` Rich Felker
2020-07-28  8:40       ` Florian Weimer
2020-07-29  1:16         ` Rich Felker
2020-07-27 21:16 ` Florian Weimer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).