Bug#747030: dragonegg-4.8: ICE on simple program with gcc-4.8 4.8.2-21

Vincent Lefevre vincent at vinc17.net
Sun May 4 21:13:29 UTC 2014


Package: dragonegg-4.8
Version: 3.3-2
Severity: grave
Justification: renders package unusable

ypig:~> cat ice.i
int d;
int main (void)
{
  return d;
}

ypig:~> /usr/bin/llvm-gcc-4.8 -c ice.i
 <var_decl 0x7f3bfa622260 d
    type <integer_type 0x7f3bfa6155e8 int public SI
        size <integer_cst 0x7f3bfa6180c0 constant 32>
        unit size <integer_cst 0x7f3bfa6180e0 constant 4>
        align 32 symtab 0 alias set 0 canonical type 0x7f3bfa6155e8 precision 32 min <integer_cst 0x7f3bfa618060 -2147483648> max <integer_cst 0x7f3bfa618080 2147483647>
        pointer_to_this <pointer_type 0x7f3bfa61d2a0>>
    asm_written used public static common SI file ice.i line 1 col 5 size <integer_cst 0x7f3bfa6180c0 32> unit size <integer_cst 0x7f3bfa6180e0 4>
    align 32 context <translation_unit_decl 0x7f3bfa72c000 D.1725>
    (mem/c:SI (symbol_ref:DI ("d") <var_decl 0x7f3bfa622260 d>) [0 d+0 S4 A32]) chain <function_decl 0x7f3bfa72a000 main>>
 <pointer_type 0x7f3c01b9f0e3*** 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
ice.i: In function ‘main’:
ice.i:4:3: internal compiler error: Segmentation fault
   return d;
   ^
gcc-4.8.real: internal compiler error: Segmentation fault (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.

In particular, this makes an autoconf-generated "configure" script
fail very early:

checking whether we are cross compiling... configure: error: in `/tmp/mpfrtests-vlefevre-6206/obj':
configure: error: cannot run C compiled programs.

(this test is not specific to MPFR, it's just an autoconf test).
This makes llvm-gcc unusable in practice.

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

Kernel: Linux 3.13-1-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.8 depends on:
ii  libc6       2.18-5
ii  libffi6     3.1~rc1+r3.0.13-12
ii  libgcc1     1:4.9.0-2
ii  libllvm3.3  1:3.3-16
ii  libstdc++6  4.9.0-2

Versions of packages dragonegg-4.8 recommends:
ii  g++-4.8  4.8.2-21
ii  gcc-4.8  4.8.2-21

dragonegg-4.8 suggests no packages.

-- no debconf information



More information about the Pkg-llvm-team mailing list