Bug#768360: iceweasel: crashes with Illegal instruction at startup

Mike Hommey mh at glandium.org
Mon Nov 10 23:17:59 UTC 2014


On Tue, Nov 11, 2014 at 12:06:30AM +0100, Ondrej Zary wrote:
> (gdb) print JSC::MacroAssemblerX86Common::s_sseCheckState
> $1 = JSC::MacroAssemblerX86Common::HasSSE3

Aha! At least now it's clear what part is doing wrong.

Can you compile and run the following code, and give its output?

#include <stdio.h>

int main() {
  int flags_edx = 0;
  int flags_ecx = 0;
  asm (
       "movl $0x1, %%eax;"
       "pushl %%ebx;"
       "cpuid;"
       "popl %%ebx;"
       : "=c" (flags_ecx), "=d" (flags_edx)
       :
       : "%eax"
       );
  printf("%04x %04x\n", flags_ecx, flags_edx);
  return 0;
}

Thanks

Mike



More information about the pkg-mozilla-maintainers mailing list