Jan Palus

Results 34 comments of Jan Palus

I think I might be experiencing same issue, it happens always on `armv7`, sometimes on `armv6`. `gdb` suggests it's unaligned address here: https://github.com/rui314/mold/blob/b26e1a3c328b27cd1f573f6804d3281d40cb11e5/filetype.h#L43-L44

@rui314 with mold 1.3.0 and fix for #545 testsuite passes for me on both armv6 (ARM) and armv7 (THUMB). Also made plenty of builds of various open source projects so...

@marxin what is `uname -m` evaluated to during build? Isn't this a mismatch between `uname -m` being `aarch64` and toolchain being `armv7`?

My point is test framework seems to assume `MACHINE` (defaults to `uname -m`) matches toolchain and also some tests are conditional based on `MACHINE`: https://github.com/rui314/mold/blob/7f7d10cc896e0c7513d09723d5ca3d8346bdea49/test/elf/exception.sh#L39-L42 That's why I pass `MACHINE`...

Can confirm issue happens for me as well both on armv6 and armv7. Segfaulting binary: [mold_test.zip](https://github.com/rui314/mold/files/8938755/mold_test.zip). Works fine on aarch64 though.

I have the same issue on ARM32 and can't really tell who should fix it. It appears that `gcc` does not pass `/lib` and `/usr/lib` down to linker on purpose...

`diff-so-fancy` appears to be way more efficient, with same input on Raspberry Pi 2: ```sh .. User time (seconds): 0.52 System time (seconds): 0.06 Percent of CPU this job got:...

Nope no need for syntax highlighting in that case, actually I don't care about syntax highlighting in diffs all that much in general. I'm aware of note regarding performance with...

Just an idea but perhaps as intermediate solution new option could be introduced with threshold for within-line diff computation? For lines with length lower than threshold delta would use exact...

Some other idea for an optimization though I not really sure whether it makes any sense or whether it is doable :). It comes from an observation that a lot...