unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Path-agnostic binaries
@ 2018-10-01 10:01 Eric Myhre
  2018-10-01 11:43 ` Vincent Legoll
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Myhre @ 2018-10-01 10:01 UTC (permalink / raw)
  To: guix-devel

Hey Guix,

Some of us have chatted in the past while gathered at the repro builds
summits about "relocatable binaries".  I've been continuing to chew on
that thought for a while now, and might have made some interesting progress.

For starters, I'd like to offer a new name for this: "path-agnostic
binaries".  I've tossed the "relocatable" term out among a few dozen
different groups of people now, and while it hits home and self-explains
to about 60% of them instantly, the other 40% seem to think it sounds
like "position independent code"/PIE and thus find it confusing. 
"Path-agnostic", while a bit more of a mouthful, seems to successfully
avoid all confusion.

I did a little more development of a definition for this, and splunked
some ld flags and ELF headers, and turned this into a whole talk
recently at All Systems Go.  And they were kind enough to record it, so
for the interested, here's the video as well as the slides (and mea
culpa for the heinuously nonfree host of the slides):

Video:
https://media.ccc.de/v/ASG2018-204-path-agnostic_binaries_co-installable_libraries_and_how_to_have_nice_things

Slides:
https://docs.google.com/presentation/d/e/2PACX-1vRUkAAMNNEPbK4HR1OEYfqktsOiDtKqlLLiBsNdg9DL73W2lGNr5OpEsM7fhwZ1xnXQwl57DheDejNR/pub

There's some mention of Nix/Guix at the end.  I was able to describe
them interchangeably for the parts relevant to the talk, so I mostly
ended up saying "Nix" for brevity, and again I beg pardon, heh.  I hope
I've not misquoted anything when talking about Guix paths.  (Someone
from Nix informed me after the talk that there's a distinction in
hashing for atoms vs derivations in the store, but I think the gist is
still close enough to correct.)

I hope this can be useful to someone!  If not any of the linker flags in
particular, then at least the terminology might be useful.  And I'd love
to accept feedback and other ideas for better developing terminology
around this area.

Cheers!

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

end of thread, other threads:[~2018-10-02 13:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-01 10:01 Path-agnostic binaries Eric Myhre
2018-10-01 11:43 ` Vincent Legoll
2018-10-02 13:32   ` Pierre Neidhardt

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

	https://git.savannah.gnu.org/cgit/guix.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).