Bug#686231: dragonegg-4.6: internal compiler error: Segmentation fault with llvm-gcc

Vincent Lefevre vincent at vinc17.net
Thu Aug 30 11:08:28 UTC 2012


Package: dragonegg-4.6
Version: 3.1-2
Severity: important

I get the following ICE on the following program:

int f (unsigned int u)
{
  unsigned int c;
  __asm__ ("bsr %1,%0" : "=r" (c) : "rm" (u));
  return 0;
}

$ llvm-gcc -c test.i
*** WARNING *** there are active plugins, do not report this as a bug unless you can reproduce it without enabling any plugins.
Event                            | Plugins
PLUGIN_FINISH_UNIT               | dragonegg
PLUGIN_FINISH                    | dragonegg
PLUGIN_START_UNIT                | dragonegg
PLUGIN_ALL_IPA_PASSES_END        | dragonegg
test.i: In function ‘f’:
test.i:4:3: internal compiler error: Segmentation fault
[...]

This is due to the dragonegg plugin, because gcc-4.6 alone is fine
on this example.

Due to this bug, GNU MPFR cannot be built with llvm-gcc.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dragonegg-4.6 depends on:
ii  libc6       2.13-35
ii  libffi5     3.0.10-3
ii  libgcc1     1:4.7.1-7
ii  libstdc++6  4.7.1-7

Versions of packages dragonegg-4.6 recommends:
ii  g++-4.6  4.6.3-9
ii  gcc-4.6  4.6.3-9

dragonegg-4.6 suggests no packages.

-- no debconf information



More information about the Pkg-llvm-team mailing list