2025/05/06

Newest at the top

2025-05-06 10:32:34 +0200fp1fp
2025-05-06 10:30:34 +0200 <[exa]> true.
2025-05-06 10:30:23 +0200 <tomsmeding> than some random tool from an executable uploaded to github with "Add files for upload"
2025-05-06 10:30:17 +0200fp1(~Thunderbi@wireless-86-50-140-117.open.aalto.fi) fp
2025-05-06 10:30:14 +0200fp(~Thunderbi@wireless-86-50-140-117.open.aalto.fi) (Read error: Connection reset by peer)
2025-05-06 10:30:08 +0200 <tomsmeding> that is probably saner
2025-05-06 10:29:28 +0200 <[exa]> well I guess I'll do the trick with LD_LIBRARY_PATH and some scriptage
2025-05-06 10:29:10 +0200tromp(~textual@2001:1c00:3487:1b00:cdc3:f42b:30fc:1c61) (Quit: My iMac has gone to sleep. ZZZzzz…)
2025-05-06 10:28:56 +0200weary-traveler(~user@user/user363627) (Remote host closed the connection)
2025-05-06 10:25:56 +0200 <[exa]> whew https://github.com/sigurd-dev/mkblob
2025-05-06 10:25:38 +0200 <tomsmeding> https://unix.stackexchange.com/questions/685255/create-an-statically-linked-executable-from-a-dyna…
2025-05-06 10:25:28 +0200 <tomsmeding> that's apparently hard
2025-05-06 10:24:23 +0200 <[exa]> kinda wondering, can I take the dynamic executable and just somehow pack some of the libraries to it?
2025-05-06 10:23:52 +0200CiaoSen(~Jura@2a02:8071:64e1:da0:5a47:caff:fe78:33db) CiaoSen
2025-05-06 10:23:40 +0200chele(~chele@user/chele) chele
2025-05-06 10:23:32 +0200 <tomsmeding> you're right that this may be hard or impossible through ghc
2025-05-06 10:23:02 +0200 <tomsmeding> with gcc, you can, apparently
2025-05-06 10:22:00 +0200 <[exa]> can I somehow pick which libraries I want to have packed as static?
2025-05-06 10:21:06 +0200 <tomsmeding> ... but if you allow that, why do static linking of glibc in the first place
2025-05-06 10:20:52 +0200 <[exa]> ofc there it dies, that's ok
2025-05-06 10:20:34 +0200 <tomsmeding> try running the executable on a musl system, or a system with a much older glibc than the one you built on
2025-05-06 10:20:15 +0200 <tomsmeding> because on the other system you have a compatible glibc version, presumably
2025-05-06 10:19:48 +0200 <[exa]> tomsmeding: yeah, but otherwise it works perfectly despite the warnings :)
2025-05-06 10:19:44 +0200prdak(~Thunderbi@user/prdak) (Read error: Connection reset by peer)
2025-05-06 10:19:05 +0200tzh(~tzh@c-76-115-131-146.hsd1.or.comcast.net) (Quit: zzz)
2025-05-06 10:15:37 +0200acidjnk(~acidjnk@p200300d6e71c4f53bcc85498df75fec7.dip0.t-ipconnect.de) acidjnk
2025-05-06 10:15:31 +0200 <tomsmeding> [exa]: but those warnings rather explicitly tell you that what you're trying to do isn't helpful
2025-05-06 10:14:35 +0200JuanDaughertyColinRobinson
2025-05-06 10:14:07 +0200 <tomsmeding> [exa]: I'm not sure, but I wouldn't discard the possibility that this error depends on the glibc version
2025-05-06 10:13:52 +0200euleritian(~euleritia@ip4d17f864.dynamic.kabel-deutschland.de)
2025-05-06 10:13:34 +0200euleritian(~euleritia@dynamic-176-006-138-148.176.6.pool.telefonica.de) (Read error: Connection reset by peer)
2025-05-06 10:13:20 +0200 <tomsmeding> oh and more lol
2025-05-06 10:13:12 +0200 <tomsmeding> lines 25-35
2025-05-06 10:13:08 +0200 <tomsmeding> and the 10 similar warnings below it
2025-05-06 10:12:32 +0200 <tomsmeding> [exa]: did you see that warning about dlopen?
2025-05-06 10:10:29 +0200acidjnk_new3(~acidjnk@p200300d6e71c4f5329ce7e116cdf4532.dip0.t-ipconnect.de) (Read error: Connection reset by peer)
2025-05-06 10:03:53 +0200hgolden(~hgolden@2603:8000:9d00:3ed1:88e0:76ff:fe9c:b21e) hgolden
2025-05-06 10:02:21 +0200merijn(~merijn@77.242.116.146) merijn
2025-05-06 10:02:21 +0200hgolden(~hgolden@2603:8000:9d00:3ed1:88e0:76ff:fe9c:b21e) (Ping timeout: 252 seconds)
2025-05-06 09:51:24 +0200Sgeo(~Sgeo@user/sgeo) (Read error: Connection reset by peer)
2025-05-06 09:43:52 +0200emmanuelux(~emmanuelu@user/emmanuelux) (Read error: Connection reset by peer)
2025-05-06 09:43:01 +0200 <[exa]> (tail of the build log with the yuge link command here, if anyone enjoys reading these things: https://paste.tomsmeding.com/dac7Oswb )
2025-05-06 09:41:02 +0200 <[exa]> locally it works OK (on debian tho, should I assume this to be ubuntu-caused weirdness?)
2025-05-06 09:40:41 +0200 <[exa]> I'm getting a linker error when trying to build static binaries in github CI (on ubuntu-latest): "error: relocation refers to local symbol ".text" [1], which is defined in a discarded section". Did anyone see anything such? (mainly, any guess on where to start debugging?)
2025-05-06 09:34:28 +0200m1dnight(~m1dnight@d8D861908.access.telenet.be) m1dnight
2025-05-06 09:34:04 +0200m1dnight(~m1dnight@d8D861908.access.telenet.be) (Ping timeout: 252 seconds)
2025-05-06 09:32:45 +0200sabathan2(~sabathan@amarseille-159-1-12-107.w86-203.abo.wanadoo.fr)
2025-05-06 09:29:19 +0200sabathan2(~sabathan@amarseille-159-1-12-107.w86-203.abo.wanadoo.fr) (Read error: Connection reset by peer)
2025-05-06 09:26:12 +0200fp(~Thunderbi@wireless-86-50-140-117.open.aalto.fi) fp
2025-05-06 09:20:40 +0200lortabac(~lortabac@2a01:e0a:541:b8f0:55ab:e185:7f81:54a4)