<frinnst>
=======> ERROR: Building '/usr/ports/pkg/shaderc#2021.2-1.pkg.tar.gz' failed.
<cruxbot>
[contrib.git/3.6]: [notify] crypto++: 8.5.0 -> 8.6.0 security update CVE-2021-40530 plaintext recovery attack on OpenPGP ciphertexts encrypted with ElGamal. Only certain combinations of sender and receiver software are exposed. We found that GPG (via Libgcrypt) and Crypto++ are affected when acting as sender, while Go is not. https://ibm.github.io/system-security-research-updates/2021/07/20/insecurity-elgamal-pt1#faq
groovy2shoes has quit [Ping timeout: 260 seconds]
groovy2shoes has joined #crux
ivandi has quit [Quit: WeeChat 3.3]
ivandi has joined #crux
<cruxbot>
[contrib.git/3.6]: shaderc: add regeneratd glslc man page
dusk_ has joined #crux
groovy3shoes has joined #crux
groovy2shoes has quit [Ping timeout: 260 seconds]
CrashTestDummy2 has joined #crux
CrashTestDummy has quit [Ping timeout: 265 seconds]
<cruxbot>
[opt.git/3.6]: vulkan-validation-layers: build as shared not static
<cruxbot>
[compat-32.git/3.6]: vulkan-validation-layers-32: build as shared not static
<stenur>
drez: i have no idea, but ressources are limited, and not too long ago quite some software packages required patches for musl. And musl did/does not cover it all, it goes for size not feature-richessness.
<stenur>
Also not for speed; though some problems are solved brilliantly as far as i can tell. (And some of those they may even have developed themselves, that is to say.)
<stenur>
Also i dunno CRUX has lots of scandinavian roots, and maybe UTF-8 was an issue for some.
<stenur>
And .. then. A GNU Libc based _can_ indeed be not that much larger than a musl one. But for static compilation (i would say). sshd, postfix qmgr are not that much larger, and for the rest i had to look what libraries are effectively all linked in, compared to my AlpineLinux VM.
<stenur>
And finally i do not even know whether musl supports all the symbol versioning and other compatibility shims that GNU libc has, at all.
<stenur>
Here for example i still run binaries from installation time, Mar 24 2019. Two glibc updates and one kernel version jump are crossed by those, but it just works.
<stenur>
(In defiance of dynamic linking)
ppetrov^^ has joined #crux
ppetrov^ has quit [Ping timeout: 250 seconds]
deltahotel has joined #crux
deltahotel has quit [Client Quit]
deltahotel has joined #crux
deus_ex has joined #crux
pedja has quit [Ping timeout: 252 seconds]
deltahotel has quit [Read error: Connection reset by peer]
<cruxbot>
[opt.git/3.6]: rust: fix source sum somehow got corupted on second download
<ppetrov^^>
so, the libs should be in the end, i guess
<tilman>
ppetrov^^: for static linkage the order of arguments matters, yes. static libraries are *not* included in the final link when there are no consumers of the symbols provided by those libraries. mentioning foo.o and bar.o first means the linker will remember which symbols it still needs to resolve
<tilman>
that's the default behavior anyway
<ppetrov^^>
the thing is, this fixed compilation of dynamically linked executable on debian, as well
<cruxbot>
[contrib.git/3.6]: gtk-layer-shell: initial commit, version 0.6.0
<cruxbot>
[contrib.git/3.6]: lfs: initial commit, version 1.0.0
<ppetrov^^>
compiling dynamic binary with the default order in the Makefile worked fine on CRUX, fine on Slackware but not on Debian
<ppetrov^^>
no idea why
deus_ex is now known as pedja
daftaupe has joined #crux
<tilman>
ppetrov^^: if you put "libfoo.a" in the linker call, then libfoo will *always* be linked statically. it may still link other libraries (especially libc, or libstdc++) dynamically though
<tilman>
ppetrov^^: use "readelf -a myexecutable | grep NEEDED" or "ldd myexecutable" to see which libraries it will load dynamically
<tilman>
ppetrov^^: if you use "-lfoo", then libfoo may be linked dynamically or statically. depends on the use of the linker switch -Wl,-static , on the presence of libfoo.so and libfoo.a and on the use of linker flags -L (i.e. where to look for libraries)
<ppetrov^^>
thank you
<ppetrov^^>
do I need -Wl if I build static binary?
<ppetrov^^>
sorry for the stupid question..
<tilman>
-Wl just means "pass the next option string to the linker"
<tilman>
i think you want -static -static-libgcc -static-libstdc++ -Wl,-static *before* any of the -lfoo options