Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 662260 - dev-vcs/git-2.16.4 segfaults on commit
Summary: dev-vcs/git-2.16.4 segfaults on commit
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM64 Linux
: Normal normal (vote)
Assignee: Robin Johnson
Depends on:
Reported: 2018-07-27 15:12 UTC by Scott Alfter
Modified: 2019-04-29 15:31 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---

emerge --info (file_662260.txt,4.66 KB, text/plain)
2018-07-27 15:12 UTC, Scott Alfter

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Alfter 2018-07-27 15:12:29 UTC
Created attachment 541210 [details]
emerge --info

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.
Comment 1 Scott Alfter 2018-07-27 15:13:50 UTC
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.
Comment 2 Scott Alfter 2018-08-24 14:34:41 UTC
My usual CFLAGS for this system (cribbed from 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.)
Comment 3 Scott Alfter 2018-08-24 14:57:40 UTC
-march=native appears to work properly, too.  This would suggest that the recommended CFLAGS for the Raspberry Pi 3 might not be correct.
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2019-04-29 08:12:58 UTC
Is this still an issue with recent git releases?
Comment 5 Scott Alfter 2019-04-29 15:26:44 UTC
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.
Comment 6 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2019-04-29 15:31:39 UTC
Thanks. Let's close this one then.