Created attachment 541210 [details]
git appears to build properly on my Raspberry Pi 3 and works well enough to clone a repository, but when I go to commit changes, it segfaults.
Since it's building properly but not running properly, I'm not entirely sure what info you need from my system. I've included the output from emerge --info, but including a build log for something that builds without error seems pointless.
My usual CFLAGS for this system (cribbed from https://wiki.gentoo.org/wiki/Raspberry_Pi_3_64_bit_Install#CFLAGS) are "-march=armv8-a+crc -mtune=cortex-a53 -O2 -pipe". I've trimmed it back to just "-O2 -pipe" and rebuilt git...looks like it's running properly now.
(Referring back to the link, I don't think CFLAGS included -ftree-vectorize when I set up this Raspberry Pi.)
-march=native appears to work properly, too. This would suggest that the recommended CFLAGS for the Raspberry Pi 3 might not be correct.
Is this still an issue with recent git releases?
Just checked the chroot that supplies my RPis...git is at 2.21.0-r2 currently, and I've not noticed any problems with it.
Thanks. Let's close this one then.