Tiny Core Base > Alpha Releases

Tiny Core 12.0 Alpha 2 Testing

<< < (6/8) > >>

Juanito:

--- Quote from: Juanito on January 18, 2021, 12:46:23 PM ---lua depends on readline and so will need recompiling as will netsurf.

--- End quote ---

updated lua posted - netsurf is statically linked, it was gtk2 that needed recompiling for the updated libffi.

jazzbiker:

--- Quote from: Juanito on January 19, 2021, 03:03:51 AM ---netsurf is statically linked, it was gtk2 that needed recompiling for the updated libffi.

--- End quote ---

Hi, Juanito!

ldd really reports, that netsurf-gtk binary is statically linked, but in this case it will not need any dependencies, which is not true. In fact I think binary inside extension tree was compressed with some software  before squashing the extension tree.
I've compiled netsurf 3.10 (current is 3.9) according to the reciept in /src and got the netsurf-gtk binary twice bigger than in the current netsurf.tcz, but resulting .tcz size was nearly the same.
I've already sent the PM to @neonix and asked him to update the extension. I've asked him not to use intermediate compession, because it don't reduces the resulting .tcz size.

Rich:
Hi jazzbiker
I see no commands that would indicate use of intermediate compression being used:
http://tinycorelinux.net/11.x/x86/tcz/src/netsurf/netsurf.tcz.build-dep
http://tinycorelinux.net/11.x/x86_64/tcz/src/netsurf/netsurf.tcz.build-dep

There are 3 make commands listed. One for framebuffer, one for GTK2, and one for GTK3. The versions in TC10 and TC11
were the GTK2 versions. Is it possible your size increase was because you ran more than one of the make commands?
The only executable in your destination should be  usr/local/bin/netsurf-gtk.
If you also see  usr/local/bin/netsurf-gtk3  or  usr/local/bin/netsurf-framebuffer  you ran too many make commands.

I also don't see any  strip  commands, unless those are in the  make  file.

jazzbiker:
Hi, Rich!

No, I made only TARGET=GTK2. By the way makefile rejected TARGET=GTK, probably is version 3.10 refinement.
Sorry, I don't understand how netsurf-gtk binary can be statically linked. Doesn't it really need no dependencies? That was my main surprise and this accompanied with the less size make me think, that it is compressed with some additional (self-extracting in memory?) software. Of course, I may be wrong, I'm just guessing. But  I can not imagine that it is statically linked with gtk2, really. In this case it must be much bigger and doesn't needs the .dep file at all. Sorry, if I am misunderstanding the meaning of "static linking". But when I made the 3.10 version according to the build reciept, ldd reported me the long list of .so dependencies, as usual. I was building under TC11 so libffi.6 was present in netsurf-gtk2 dependencies. I used sstrip.
I'm sorry I'm distracting You from TinyCore release, because of my unnecessary curiosity. Maybe @neonix knows better and will answer my questions.

Juanito:

--- Quote ---If, on the other hand, the wireguard kernel module is part of TCL12 base system, then  wireguard-KERNEL.tcz  should be removed from  wireguard-tools.tcz.dep.
--- End quote ---

wireguard-tools copied over and deps adjusted

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version