ChanServ changed the topic of #armlinux to: ARM kernel talk [Upstream kernel, find your vendor forums for questions about their kernels] | https://libera.irclog.whitequark.org/armlinux
heat has quit [Ping timeout: 248 seconds]
lain6141_ has joined #armlinux
lain6141 has quit [Ping timeout: 248 seconds]
cbeznea has joined #armlinux
mvaittin has joined #armlinux
monstr has joined #armlinux
System_Error has joined #armlinux
vingu has quit [Ping timeout: 252 seconds]
vingu has joined #armlinux
<ardb>
arnd: the updated binutils with 64k segment alignment for armhf landed in trixie so things should gradually start working again
sszy has joined #armlinux
<arnd>
ardb: nice! have you also looked into changing dpkg-deb into creating sparse tarballs so the rebuilt files won't cause a size regression?
<ardb>
arnd: which source package does that apply against?
<arnd>
dpkg
<arnd>
I'm trying it out right now, built the same package again after installing it. Apparently the binaries in it happen to not change with sparseness though, need to try another one
<ardb>
my build fails the selftest
<ardb>
never mind
luispm has joined #armlinux
vingu1 has joined #armlinux
vingu has quit [Ping timeout: 265 seconds]
siak has joined #armlinux
vingu1 has quit [Quit: Leaving.]
vingu has joined #armlinux
nsaenz has joined #armlinux
<arnd>
ardb: I played around it some more, and found that it's (of course) more complicated:
<arnd>
tar is able to store sparse files efficiently, but even with --sparse --sparse-format=1.0 --hole-detection=raw, it seems to only do this for files that are already sparse
<arnd>
the random library package I looked at (libaom3) calls 'strip' on the .so file, which makes it non-sparse, even when it was sparse before stripping
<ardb>
ugh
<ardb>
so better to do it at installation time if page size > fs block size?
<arnd>
I think hole-detection=raw is necessary for reproducible builds, otherwise the amount of sparseness depends on the block size of the file system on the build host. With =raw it uses the default 512 byte block size of the tar format
nsaenz has quit [Remote host closed the connection]
<arnd>
I don't think there is any problem in making the file more sparse to save disk space
nsaenz has joined #armlinux
<arnd>
e.g. with the extreme case of 64K pages and 512 byte FS blocks, there is still no reason to store the empty 512 byte blocks on disk, they just won't improve the memory usage in the page cache
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #armlinux
<ardb>
sure
<ardb>
but if strip and objcopy etc don't preserve sparseness, we should probably fix that first
vingu has quit [Quit: Leaving.]
vingu has joined #armlinux
nsaenz has quit [Remote host closed the connection]
<arnd>
so it may just work. I'm still on Debian bookworm here, which has binutils-2.40
<arnd>
I tried with 2.42 strip from my local collection of toolchains, and that does not create a sparse file. Interestingly a 2.28 strip does create a sparse file
nsaenz has joined #armlinux
Amit_T has joined #armlinux
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #armlinux
f_ has quit [Ping timeout: 246 seconds]
f_ has joined #armlinux
sihloo_ has joined #armlinux
sihloo has quit [Ping timeout: 272 seconds]
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #armlinux
a3f has quit [Write error: Connection reset by peer]
shoragan has quit [Read error: Connection reset by peer]
a3f has joined #armlinux
shoragan has joined #armlinux
mvaittin has quit [Ping timeout: 248 seconds]
heat has joined #armlinux
monstr has quit [Remote host closed the connection]
Peng_Fan has quit [Quit: Connection closed for inactivity]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #armlinux
siak has quit [Remote host closed the connection]
siak has joined #armlinux
f_ has quit [Ping timeout: 248 seconds]
f_ has joined #armlinux
nsaenz has quit [Remote host closed the connection]
rgallaispou has joined #armlinux
rgallaispou has quit [Quit: WeeChat 4.4.3]
headless has joined #armlinux
psydroid has quit [Read error: Connection reset by peer]