GNOME Bugzilla – Bug 771995
SIGILL on Intel Core 2 Duo caused by __builtin_ia32_rdtscp in egg_get_current_cpu_rdtscp()
Last modified: 2016-10-03 14:01:16 UTC
We should disable rdtscp by default because it is not portable across all x86_64 architectures. It is only present in various Core i[357] CPUs. Otherwise it crashes during start-up. See https://bugzilla.redhat.com/show_bug.cgi?id=1379166 We can use the GB_ENABLE_RDTSCP macro from gnome-builder instead of our own hand-rolled M4.
Created attachment 336288 [details] [review] egg-counter: Fix documentation typo
Created attachment 336289 [details] [review] build: Define _GNU_SOURCE when using the Linux kernel for sched_getcpu
Created attachment 336290 [details] [review] build: Disable rdtscp by default
*** Bug 772323 has been marked as a duplicate of this bug. ***
Is there a build package to download or do I have to build one to test these patches?
(In reply to Phil Reilly from comment #5) > Is there a build package to download or do I have to build one to test these > patches? ...on an Arch system.
I've applied the patches, and they appear to do the job on my end. gnome-photos is no longer crashing.
Phil Reilly, see: https://wiki.archlinux.org/index.php/Patching_in_ABS#Applying_patches Remember to also add the patches to the source array, and re-generate checksums with makepkg -g >>PKGBUILD You'll need to install abs and edit /etc/abs.conf to enable the testing repos in abs.
(In reply to Aaron Paden from comment #7) > I've applied the patches, and they appear to do the job on my end. > gnome-photos is no longer crashing. Great Job!
(In reply to Aaron Paden from comment #7) > I've applied the patches, and they appear to do the job on my end. > gnome-photos is no longer crashing. Thanks for trying them out.
This will be part of the next tarball release in the GNOME 3.22.x series.