Bug#838131: [gnome-photos] Does not work on Intel Core 2 Duo CPU T6600 (64 bit)

2016-09-17 Thread Jason Crain
On 2016-09-17, Nils Asmussen  wrote:
> after upgrading to the Version 3.21.92-1, I always get an error stating
> "illegal instruction":
> 
> bash$ gnome-photos
> Illegal instruction
> 
> The relevant assembly instruction is "rdtscp".
> I checked this by substituting it by "nop"s:
> With a hexeditor I replaced "0F 01 F9" by "90 90 90". As a result I got
> the gnome-photos main screen flashing on my screen for a short time. (I
> didn't see anything of gnome-photos before.)
> 
> I conclude that changing the compiler flags to support older cpus would
> fix the problem.

>From gnome-photos' configure.ac:
> AC_MSG_CHECKING([for fast counters with rdtscp])
> AC_RUN_IFELSE([AC_LANG_SOURCE([[
> #include 
> int main (int argc, char *argv[]) { int cpu; __builtin_ia32_rdtscp (); 
> return 0; }]])],
>   [have_rdtscp=yes],
>   [have_rdtscp=no])
>   AC_MSG_RESULT([$have_rdtscp])
>   AS_IF([test "$have_rdtscp" = "yes"],
>   [CFLAGS="$CFLAGS -DEGG_HAVE_RDTSCP"])

It looks like they've recently added something called EggCounter which
which compile-time conditionally uses rdtscp.



Bug#838131: [gnome-photos] Does not work on Intel Core 2 Duo CPU T6600 (64 bit)

2016-09-17 Thread Nils Asmussen
Package: gnome-photos
Version: 3.21.92-1
Severity: normal

--- Please enter the report below this line. ---

Dear maintainer,

after upgrading to the Version 3.21.92-1, I always get an error stating
"illegal instruction":

bash$ gnome-photos
Illegal instruction

The relevant assembly instruction is "rdtscp".
I checked this by substituting it by "nop"s:
With a hexeditor I replaced "0F 01 F9" by "90 90 90". As a result I got
the gnome-photos main screen flashing on my screen for a short time. (I
didn't see anything of gnome-photos before.)

I conclude that changing the compiler flags to support older cpus would
fix the problem.

Cheers,
Nils Asmussen

--- System information. ---
Architecture: amd64
Kernel:   Linux 4.6.0-1-amd64

Debian Release: stretch/sid
  500 unstablerepos.fds-team.de 
  500 unstabledl.winehq.org 
  500 testing ftp.de.debian.org 

--- Package information. ---
Depends (Version) | Installed
=-+-=
dconf-gsettings-backend   | 0.26.0-1
 OR gsettings-backend | 
libatk1.0-0   (>= 1.12.4) | 
libbabl-0.1-0 (>= 0.1.12) | 
libc6   (>= 2.11) | 
libcairo-gobject2 (>= 1.10.0) | 
libcairo2 (>= 1.14.0) | 
libgdata22(>= 0.15.0) | 
libgdk-pixbuf2.0-0(>= 2.25.2) | 
libgegl-0.3-0  (>= 0.3.6) | 
libgexiv2-2(>= 0.6.1) | 
libgfbgraph-0.2-0  (>= 0.2.2) | 
libglib2.0-0  (>= 2.44.0) | 
libgnome-desktop-3-12(>= 3.17.92) | 
libgoa-1.0-0b (>= 3.7.90) | 
libgrilo-0.3-0 (>= 0.3.0) | 
libgtk-3-0   (>= 3.19.12) | 
libjpeg62-turbo(>= 1.3.1) | 
libjson-glib-1.0-0(>= 0.12.0) | 
libpango-1.0-0(>= 1.20.0) | 
libpangocairo-1.0-0   (>= 1.14.0) | 
libpng16-16  (>= 1.6.2-1) | 
librest-0.7-0(>= 0.7) | 
libsoup2.4-1   (>= 2.4.0) | 
libtracker-control-1.0-0  (>= 0.17.4) | 
libtracker-sparql-1.0-0   (>= 0.12.0) | 
libxml2   (>= 2.6.27) | 
tracker   | 
gnome-online-miners   | 


Recommends (Version) | Installed
-+-===
dleyna-renderer  | 0.4.0-1
grilo-plugins-0.3| 0.3.2-1


Package's Suggests field is empty.