<Guest67>
Hello Crux community i have a problem with librsvg i can't update it i get the following error: https://zerobin.net/?87cb39984dbf4904#2fcDOMg6T+CIL1il0q18m+4w12tCRRspnoGUaLkhRAM=
<_moth_>
maybe the problem is with gcc
<_moth_>
try installing clang and try again
Guest67 has quit [Quit: Ping timeout (120 seconds)]
Guest67 has joined #crux
<Guest67>
I installed clang and tried to update libsrvg but it keeps giving me the same error.
pedja has joined #crux
Guest67 has quit [Quit: Client closed]
SiFuh_ has quit [Ping timeout: 240 seconds]
SiFuh has joined #crux
<_moth_>
Guest67: what version of rust?
Romster has quit [Ping timeout: 272 seconds]
Romster has joined #crux
Guest67 has joined #crux
<Guest67>
I found the solution, apparently the rust-bin package packaged by the crux maintainers is "corrupt" any command used immediately sends illegal instruction.
<Guest67>
i downgraded to an old version of rust-bin and can now compile librsvg. i think it will be necessary to recompile and repackage rust-bin.
<stenur>
Guest67: could be a miscompilation; have you tried it with -O1 instead of -O2?
<stenur>
The sheer number of compiler quirks one can see in the BSDs for individual programs is always stunning.
<stenur>
I mean, you know, these BSDs are free for over a quarter of a century, why do the compiler guys (especially those backed by billions of dollars) not simply try this out before they release a new version?
<Guest67>
always compile librsvg with -O2 and never had a problem and I have recompiled it several times with the same configuration. I don't think that's the problem.
<stenur>
In addition i mean ... shit this is a whole lotta shit work.
<stenur>
Would be something for Google Summer of Code, "hey guys, add a regression test mode which simply disables all quirks at your fingertip"
<SiFuh>
Heh, BSDs are awesome
<stenur>
Many projects have such quirks of course.
<stenur>
But special on the BSDs is the Makefile framework, and you can often see such commits fly by where on file level or application level several compiler flags are adjusted, optimization is disabled etc.
<stenur>
Mostly NetBSD with gcc though. But not only.
<stenur>
Guest67: heh; if there is an illegal instruction then maybe this time?
<stenur>
Or some hand-written assembler code assumes CPU stuff that is not there.
<stenur>
(Haven't seen your thing sorry.) Since you are -march'ing generic it would be mysterious if auto-generated code would bail so otherwise.
<stenur>
And i am out for cycling :-))
<Guest67>
I don't really know what happened but I noticed that when I ran cargo --version illegal instruction appeared so I suspected that rust was the culprit.
<SiFuh>
Did you try to reinstall the same rust-bin? Maybe it installed corrupted
<SiFuh>
Not sure about rust-bin. Never used it. I always used rust
<Guest67>
Yeah I reinstalled it 2 times and the same thing and even tried a previous version 1.58.1 with the same result.
<SiFuh>
I see
<Guest67>
The only unaffected versions are 1.56 and 1.57.