[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#535313: ia32 transition: need to reinstall libc6-dev-i386 for gcc -m32 to work again



Package: libc6-dev-i386
Version: 2.9-18
Severity: important


I upgraded today, went through the ia32 transition, but gcc -m32 was left
broken:
$ gcc -m32 xc
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.3.3/../../../libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.3.3/../../../libc.a when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
$ gcc-4.4 -m32 x.c
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.0/../../../libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.0/../../../libc.a when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
/usr/bin/ld: cannot find -lc

Problem is that the files didn't move to /usr/lib32:
debsums: can't open libc6-dev-i386 file /usr/lib32/libpthread.so (No such file or directory)

apt-get install --reinstall lib6-dev-i386 has fixed the problem.

I think that this shouldn't have been necessary, and simply upgrading the
package the first time should have moved/installed files to the correct place.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'transitional'), (500, 'stable'), (400, 'unstable-i386'), (400, 'transitional-i386'), (400, 'stable-i386'), (1, 'experimental-i386'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libc6-dev-i386 depends on:
ii  libc6-dev                     2.9-18     GNU C Library: Development Librari
ii  libc6-i386                    2.9-18     GNU C Library: 32-bit shared libra

Versions of packages libc6-dev-i386 recommends:
ii  gcc-multilib                  4:4.3.3-9  The GNU C compiler (multilib files

libc6-dev-i386 suggests no packages.

-- no debconf information



Reply to: