Package: gcc-5
Version: 5.3.1-5
Severity: normal

How to reproduce:

$ touch main.ldscript
$ cat >main.txt
main.ldscript
$ gcc @main.txt
main.ldscript: file not recognized: File truncated
collect2: error: ld returned 1 exit status
$ ls $TMPDIR/cc*

This probably isn't the usual way one uses gcc so it's hard to notice, but it
happens every time ghc (that's not a typo) builds something with profiling on.
I had thousands of these files in my $TMPDIR.

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

Kernel: Linux 4.4.0-rc6-lis64+ (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages gcc-5 depends on:
ii  binutils      2.25.90.20160101-1
ii  cpp-5         5.3.1-5
ii  gcc-5-base    5.3.1-5
ii  libc6         2.21-6
ii  libcc1-0      5.3.1-5
ii  libgcc-5-dev  5.3.1-5
ii  libgcc1       1:5.3.1-5
ii  libgmp10      2:6.1.0+dfsg-2
ii  libisl15      0.15-3
ii  libmpc3       1.0.3-1
ii  libmpfr4      3.1.3-2
ii  libstdc++6    5.3.1-5
ii  zlib1g        1:1.2.8.dfsg-2+b1

Versions of packages gcc-5 recommends:
ii  libc6-dev  2.21-6

Versions of packages gcc-5 suggests:
ii  gcc-5-doc         5.2.0-1
pn  gcc-5-locales     <none>
ii  gcc-5-multilib    5.3.1-5
pn  libasan2-dbg      <none>
pn  libatomic1-dbg    <none>
pn  libcilkrts5-dbg   <none>
ii  libgcc1-dbg       1:5.3.1-5
pn  libgomp1-dbg      <none>
pn  libitm1-dbg       <none>
pn  liblsan0-dbg      <none>
pn  libmpx0-dbg       <none>
pn  libquadmath0-dbg  <none>
pn  libtsan0-dbg      <none>
pn  libubsan0-dbg     <none>

-- no debconf information

-- 
Tomáš Janoušek, a.k.a. Pivník, a.k.a. Liskni_si, http://work.lisk.in/

Reply via email to