TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The glibc s390 ABI break (2014)

72 pointsby rdpintqogeogsaaabout 3 years ago

5 comments

somatabout 3 years ago
I always feel the Linux people learn the wrong lesson from these events.<p>The difference between the Linux and the OpenBSD mentality in one example.<p>The ABI must be changed.<p>Linux: That was really hard, we are never going to do that again.<p>OpenBSD: That was really hard, we better get good at it.<p>My opinion: When your deliverable is made up of source code(like these <i>open source</i> projects are), the ABI and ABI stability is not that important, it is the API(the source interface) that is critical.
评论 #30713606 未加载
评论 #30713260 未加载
评论 #30713223 未加载
评论 #30715621 未加载
评论 #30727257 未加载
评论 #30714090 未加载
AnssiHabout 3 years ago
FWIW, this ABI break was reverted 2 weeks after the LWN article was released:<p><pre><code> commit 2f438e20ab591641760e97458d5d1569942eced5 Author: Stefan Liebler &lt;___.ibm.com&gt; Date: Thu Jul 31 20:04:54 2014 +0200 S&#x2F;390: Revert the jmp_buf&#x2F;ucontext_t ABI change.</code></pre>
mrlonglongabout 3 years ago
I felt the pain transitioning from libc5 to glibc 2 a long long time ago. Glad I never had to do that again.
评论 #30717063 未加载
schemescapeabout 3 years ago
&gt; Debian&#x27;s developers ... considered rebuilding all of Perl and then, perhaps, all (500 or so) packages depending on the PNG library<p>libpng using setjmp.h for error handling was always my least favorite part of libpng, especially since the libpng documentation indicates it was just done for convenience (tell that to the authors of the OP!):<p>&gt; The motivation behind using setjmp() and longjmp() is the C++ throw and catch exception handling methods. This makes the code much easier to write, as there is no need to check every return code of every function call.
评论 #30715348 未加载
jancsikaabout 3 years ago
&gt; libc.so.6.1<p>My brain hurts-- if libc.so.6.1 is a nightmare, then what is the utility of having the libc.so.6 soname numbering at all?<p>I&#x27;ll put it in a more effective wrong-thing-on-the-internet style for receiving responses: There&#x27;s no point in using NixOS. Just use lib.so.versionNumber. (Sorry) :)
评论 #30713861 未加载
评论 #30714028 未加载
评论 #30713746 未加载
评论 #30714277 未加载