Your message dated Tue, 26 Feb 2013 11:53:06 +0100
with message-id <512c9412.6040...@debian.org>
and subject line Re: Bug#701687: gcc-4.7: Unable to link 32 bit prog on amd64
has caused the Debian Bug report #701687,
regarding gcc-4.7: Unable to link 32 bit prog on amd64
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
701687: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=701687
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: gcc-4.7
Version: 4.7.2-5
Severity: normal

Dear Maintainer,

I'm trying to build wine on my system.  One of the issues I am hitting is that
32 bit libtiff refuses to link.  libtiff4:i386 is installed:

jlquinn@cerberus:~/wine-unstable/wine-1.5.24$ file 
/usr/lib/i386-linux-gnu/libtiff.so.4.3.6 
/usr/lib/i386-linux-gnu/libtiff.so.4.3.6: ELF 32-bit LSB shared object, Intel 
80386, version 1 (SYSV), dynamically linked, 
BuildID[sha1]=0x05f5bfd4eb749f012f484a27e05cc510179ea8ac, stripped


However, the compile and link fails:


jlquinn@cerberus:~/wine-unstable/wine-1.5.24$ gcc -m32 -o conftest -g -O2 
-I/usr/include/freetype2     crap.c  -ltiff
/usr/bin/ld: warning: skipping incompatible 
//usr/lib/x86_64-linux-gnu/libtiff.so while searching for tiff
/usr/bin/ld: error: cannot find -ltiff
crap.c:8: error: undefined reference to 'TIFFClientOpen'
collect2: error: ld returned 1 exit status


If I give -v while compiling, I get the following.  It seems like multilib is
not setting up paths correctly:


jlquinn@cerberus:~/wine-unstable/wine-1.5.24$ gcc -v -m32 -o conftest -g -O2 
-I/usr/include/freetype2     crap.c -ltiff
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.7.2-5' 
--with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs 
--enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr 
--program-suffix=-4.7 --enable-shared --enable-linker-build-id 
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext 
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu 
--enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object 
--enable-plugin --enable-objc-gc --with-arch-32=i586 --with-tune=generic 
--enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu 
--target=x86_64-linux-gnu
Thread model: posix
gcc version 4.7.2 (Debian 4.7.2-5) 
COLLECT_GCC_OPTIONS='-v' '-m32' '-o' 'conftest' '-g' '-O2' '-I' 
'/usr/include/freetype2' '-mtune=generic' '-march=i586'
 /usr/lib/gcc/x86_64-linux-gnu/4.7/cc1 -quiet -v -I /usr/include/freetype2 
-imultilib 32 -imultiarch i386-linux-gnu crap.c -quiet -dumpbase crap.c -m32 
-mtune=generic -march=i586 -auxbase crap -g -O2 -version -o /tmp/ccAl6gLJ.s
GNU C (Debian 4.7.2-5) version 4.7.2 (x86_64-linux-gnu)
    compiled by GNU C version 4.7.2, GMP version 5.0.5, MPFR version 3.1.0-p10, 
MPC version 0.9
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory "/usr/local/include/i386-linux-gnu"
ignoring nonexistent directory 
"/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../x86_64-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/include/freetype2
 /usr/lib/gcc/x86_64-linux-gnu/4.7/include
 /usr/local/include
 /usr/lib/gcc/x86_64-linux-gnu/4.7/include-fixed
 /usr/include/i386-linux-gnu
 /usr/include
End of search list.
GNU C (Debian 4.7.2-5) version 4.7.2 (x86_64-linux-gnu)
    compiled by GNU C version 4.7.2, GMP version 5.0.5, MPFR version 3.1.0-p10, 
MPC version 0.9
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 7fa7c2a970be5e19ce72b2057c14800d
COLLECT_GCC_OPTIONS='-v' '-m32' '-o' 'conftest' '-g' '-O2' '-I' 
'/usr/include/freetype2' '-mtune=generic' '-march=i586'
 as -v -I /usr/include/freetype2 --32 -o /tmp/ccznM6CY.o /tmp/ccAl6gLJ.s
GNU assembler version 2.22 (x86_64-linux-gnu) using BFD version (GNU Binutils 
for Debian) 2.22
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/32/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../i386-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib32/:/lib/i386-linux-gnu/:/lib/../lib32/:/usr/lib/i386-linux-gnu/:/usr/lib/../lib32/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../i386-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../:/lib/i386-linux-gnu/:/lib/:/usr/lib/i386-linux-gnu/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-m32' '-o' 'conftest' '-g' '-O2' '-I' 
'/usr/include/freetype2' '-mtune=generic' '-march=i586'
 /usr/lib/gcc/x86_64-linux-gnu/4.7/collect2 --sysroot=/ --build-id 
--no-add-needed --eh-frame-hdr -m elf_i386 --hash-style=both -dynamic-linker 
/lib/ld-linux.so.2 -o conftest 
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../i386-linux-gnu/crt1.o 
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../i386-linux-gnu/crti.o 
/usr/lib/gcc/x86_64-linux-gnu/4.7/32/crtbegin.o 
-L/usr/lib/gcc/x86_64-linux-gnu/4.7/32 
-L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../i386-linux-gnu 
-L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib32 -L/lib/i386-linux-gnu 
-L/lib/../lib32 -L/usr/lib/i386-linux-gnu -L/usr/lib/../lib32 
-L/usr/lib/gcc/x86_64-linux-gnu/4.7 
-L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../i386-linux-gnu 
-L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../.. -L/lib/i386-linux-gnu 
-L/usr/lib/i386-linux-gnu /tmp/ccznM6CY.o -ltiff -lgcc --as-needed -lgcc_s 
--no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed 
/usr/lib/gcc/x86_64-linux-gnu/4.7/32/crtend.o 
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../i386-linux-gn
 u/crtn.o
/usr/bin/ld: warning: skipping incompatible 
//usr/lib/x86_64-linux-gnu/libtiff.so while searching for tiff
/usr/bin/ld: error: cannot find -ltiff
crap.c:8: error: undefined reference to 'TIFFClientOpen'
collect2: error: ld returned 1 exit status
jlquinn@cerberus:~/wine-unstable/wine-1.5.24$ 



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

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

Versions of packages gcc-4.7 depends on:
ii  binutils      2.22-7.1
ii  cpp-4.7       4.7.2-5
ii  gcc-4.7-base  4.7.2-5
ii  libc6         2.13-38
ii  libgcc1       1:4.7.2-5
ii  libgmp10      2:5.0.5+dfsg-2
ii  libgomp1      4.7.2-5
ii  libitm1       4.7.2-5
ii  libmpc2       0.9-4
ii  libmpfr4      3.1.0-5
ii  libquadmath0  4.7.2-5
ii  zlib1g        1:1.2.7.dfsg-13

Versions of packages gcc-4.7 recommends:
ii  libc6-dev  2.13-38

Versions of packages gcc-4.7 suggests:
ii  binutils-gold        2.22-7.1
ii  gcc-4.7-doc          4.7.2-2
pn  gcc-4.7-locales      <none>
ii  gcc-4.7-multilib     4.7.2-5
ii  libcloog-ppl0        0.15.11-4
pn  libgcc1-dbg          <none>
pn  libgomp1-dbg         <none>
pn  libitm1-dbg          <none>
pn  libmudflap0-4.7-dev  <none>
pn  libmudflap0-dbg      <none>
pn  libppl-c2            <none>
pn  libppl7              <none>
pn  libquadmath0-dbg     <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Am 26.02.2013 08:04, schrieb Jerry Quinn:
> Package: gcc-4.7
> Version: 4.7.2-5
> Severity: normal
> 
> Dear Maintainer,
> 
> I'm trying to build wine on my system.  One of the issues I am hitting is that
> 32 bit libtiff refuses to link.  libtiff4:i386 is installed:
> 
> jlquinn@cerberus:~/wine-unstable/wine-1.5.24$ file 
> /usr/lib/i386-linux-gnu/libtiff.so.4.3.6 
> /usr/lib/i386-linux-gnu/libtiff.so.4.3.6: ELF 32-bit LSB shared object, Intel 
> 80386, version 1 (SYSV), dynamically linked, 
> BuildID[sha1]=0x05f5bfd4eb749f012f484a27e05cc510179ea8ac, stripped
> 
> 
> However, the compile and link fails:
> 
> 
> jlquinn@cerberus:~/wine-unstable/wine-1.5.24$ gcc -m32 -o conftest -g -O2 
> -I/usr/include/freetype2     crap.c  -ltiff
> /usr/bin/ld: warning: skipping incompatible 
> //usr/lib/x86_64-linux-gnu/libtiff.so while searching for tiff
> /usr/bin/ld: error: cannot find -ltiff
> crap.c:8: error: undefined reference to 'TIFFClientOpen'
> collect2: error: ld returned 1 exit status
> 
> 
> If I give -v while compiling, I get the following.  It seems like multilib is
> not setting up paths correctly:

invalid. no -dev package for tiff installed, and probably no gcc-multilib.

--- End Message ---

Reply via email to