Bug#745709: gcc-4.8: gcc-4.8 lacks dependency on libgcc-4.8-dev
Package: gcc-4.8
Version: 4.8.2-20
Severity: normal
Without libgcc-4.8-dev, gcc-4.8 cannot link. So it should have
dependency on libgcc-4.8-dev.
$ cat a.c
int main(void)
{
return 0;
}
$ gcc a.c
/usr/bin/ld: cannot find crtbegin.o: No such file or directory
/usr/bin/ld: cannot find -lgcc
/usr/bin/ld: cannot find -lgcc_s
collect2: error: ld returned 1 exit status
# apt-get install libgcc-4.8-dev
...
$ gcc a.c
$
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.14.0 (SMP w/4 CPU cores)
Locale: LANG=ja_JP.eucJP, LC_CTYPE=ja_JP.eucJP (charmap=EUC-JP)
Shell: /bin/sh linked to /bin/dash
Versions of packages gcc-4.8 depends on:
ii binutils 2.24.51.20140411-2
ii cpp-4.8 4.8.2-20
ii gcc-4.8-base 4.8.2-20
ii libc6 2.18-4
ii libcloog-isl4 0.18.2-1
ii libgmp10 2:6.0.0+dfsg-2
ii libisl10 0.12.2-1
ii libmpc3 1.0.1-1
ii libmpfr4 3.1.2-1
ii zlib1g 1:1.2.8.dfsg-1
Versions of packages gcc-4.8 recommends:
ii libc6-dev 2.18-4
Versions of packages gcc-4.8 suggests:
ii binutils [binutils-gold] 2.24.51.20140411-2
pn gcc-4.8-doc <none>
pn gcc-4.8-locales <none>
pn gcc-4.8-multilib <none>
pn libasan0-dbg <none>
pn libatomic1-dbg <none>
pn libbacktrace1-dbg <none>
pn libgcc1-dbg <none>
pn libgomp1-dbg <none>
pn libitm1-dbg <none>
pn libquadmath0-dbg <none>
pn libtsan0-dbg <none>
-- no debconf information
Reply to: