Off topic, but if you think libc "this or that" to libc "next" was painful, back when DEC Alpha was first coming out they repeatedly changed their binary exec format. You would come in one day to discover all your executables were simply "data" now. Fun times.
Announcement
Collapse
No announcement yet.
Linux Preparing To Finally Remove Support For The a.out Format
Collapse
X
-
Originally posted by tytso View Post
Libc4 and Libc5 were both based on a fork of glibc version 1. So there wasn't the pain caused by the differences of glibc version 1 (forked for Linux) and glibc version 2. However, how shared libraries for a.out and ELF worked are very different, so it was more interesting from the perspective of developers who needed to learn how to use ELF symbol versioning if they cared about ABI backwards compatibility between successive new versions of shared libraries.
I didn't find it all that painful compared between, say, the backwards incompatible differences between autoconf 2.13 and autoconf 2.50+, but other developers' mileage may vary.
As far as the libc5 --> libc6 transition, I was maintaining e2fsprogs such that it could be compiled on AIX, Solaris, NetBSD, A/UX, Windows, etc., etc., So for old-school programmers who believe that good programs are portable programs, and understood how to write programs that were compatible across different versions of toolchains and C libraries, the libc5 --> libc6 transition was not a big deal. On the other hand, if you're one of the people who believe that all the world's a Linux system running x86, then sure, it could be painful.
Comment
-
Originally posted by shmerl View PostIt is still confusing that a.out is an elf. If you like misleading mess, then yeah, no need to fix it. But I think it's just an inertia thinking.
Who even knows that a.out is a file format?
And yet doesn't know that ELF is the default for 30 years? Seems very likely the # of people confused by this is 0.
- Likes 1
Comment
-
Originally posted by caligula View PostI guess this is different, but many C tutorials introduce the concept of 'a.out' executable to save some typing when compiling stuff:
$ echo "#include..." > hello.c
$ gcc hello.c
$ ./a.out
Imagine the horror if you had to write this instead:
$ gcc hello.c -o hello
$ ./hello
Requires 9 characters more.Code:make hello
- Likes 1
Comment
-
Originally posted by wagner17 View Post
So you didn't use libtool back during libc5 --> libc6? This page https://www.physics.drexel.edu/~wkin...d/posts/rpath/ references some brouhaha with libtool and Debian during that time.- https://github.com/tytso/e2fsprogs/b...kefile.bsd-lib
- https://github.com/tytso/e2fsprogs/b...ile.darwin-lib
- https://github.com/tytso/e2fsprogs/b...kefile.elf-lib
- https://github.com/tytso/e2fsprogs/b...le.solaris-lib
The makefile fragment for building a.out/DLL shared libraries has long since been removed, since the toolchain to make sure things would still work is long gone. Similarly, I stopped supporting AIX because I don't have easy access to AIX systems any more.
(BTW, I also think automake is a mess, and I don't use it for any projects which I maintain. The vast amount of complexity that it adds is just not worth it in terms of the marginal benefits which it brings.)
- Likes 1
Comment
-
I suppose they could always pull it out in 5.20/5.21 after checking what the actual possible breaks it could cause with the upcoming releases
The a.out/DLL shared libraries seem interesting πΏπ
Quick question though, how would we request a short delay of 1 or 2 releases if we wanted to? π€
I'm not complaining, merely a suggestionLast edited by Dasein; 09 April 2022, 12:31 PM. Reason: Accidentally typed wrong versions without checking properly
Comment
Comment