Your message dated Sun, 19 Jun 2011 00:47:18 +0000
with message-id <[email protected]>
and subject line Bug#629861: fixed in clang 2.9-6
has caused the Debian Bug report #629861,
regarding clang 2.9 can’t link any programs on Ubuntu oneiric: cannot find 
crtbegin.o, -lgcc, -lgcc_s
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 [email protected]
immediately.)


-- 
629861: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=629861
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: clang
Version: 2.9-2

https://bugs.launchpad.net/ubuntu/+source/clang/+bug/792146

clang in Ubuntu oneiric doesn’t look for crtbegin.o, libgcc.so, or 
libgcc_s.so in the right place, so it can’t link any programs.

$ echo 'int main() {return 0;}' > foo.c

$ clang foo.c
/usr/bin/ld.bfd.real: cannot find crtbegin.o: No such file or directory
/usr/bin/ld.bfd.real: cannot find -lgcc
/usr/bin/ld.bfd.real: cannot find -lgcc_s
clang: error: linker command failed with exit code 1 (use -v to see invocation)

‘clang -v’ output is on the Launchpad bug.

Based on strace, it’s looking in /usr/{lib,lib64}/{4.5.2,4.5.1,4.5,…,4.2}, 
/, /../../../../lib64, /lib64, /usr/lib64, and /../../.. .  It seems to 
know nothing of the multiarch path where these actually live: 
/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5 .

(Shouldn’t these paths be set and verified at configure time instead of 
“magically” detected at runtime by looking at /etc/debian_version and 
/etc/lsb-release(!) and guessing from a list of possible versions of gcc?)

Anders



--- End Message ---
--- Begin Message ---
Source: clang
Source-Version: 2.9-6

We believe that the bug you reported is fixed in the latest version of
clang, which is due to be installed in the Debian FTP archive:

clang_2.9-6.debian.tar.gz
  to main/c/clang/clang_2.9-6.debian.tar.gz
clang_2.9-6.dsc
  to main/c/clang/clang_2.9-6.dsc
clang_2.9-6_i386.deb
  to main/c/clang/clang_2.9-6_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sylvestre Ledru <[email protected]> (supplier of updated clang package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 18 Jun 2011 19:15:39 +0200
Source: clang
Binary: clang
Architecture: source i386
Version: 2.9-6
Distribution: unstable
Urgency: low
Maintainer: LLVM Packaging Team <[email protected]>
Changed-By: Sylvestre Ledru <[email protected]>
Description: 
 clang      - Low-Level Virtual Machine (LLVM), C language family frontend
Closes: 629861
Changes: 
 clang (2.9-6) unstable; urgency=low
 .
   * debian/patches/14-multiarchi386.diff: Specific case for x86 multi arch
     (Closes: #629861)
   * debian/patches/15-64_triple.patch: Fix the 64 bits detection of the gcc
     libs
Checksums-Sha1: 
 27a9d965fa4a34e9f3c36d80cc5ed38e3ec267fd 1518 clang_2.9-6.dsc
 6881910a792fe9e9c595c70982c47515dbed1c93 15906 clang_2.9-6.debian.tar.gz
 5ad6bb602e4489f50a1d3320e28f516a8bd0c8f9 4286106 clang_2.9-6_i386.deb
Checksums-Sha256: 
 03c1646fb343eb3c29acff53affd6d7788737ae223a56fb489c772e1e82df5b3 1518 
clang_2.9-6.dsc
 811da0bd7ab89e5ffd25b0024238ebdba303dea09e551d8520db32281dab831d 15906 
clang_2.9-6.debian.tar.gz
 b0e462cb7ff50eaab600cbbf31e859bd933035db5150c685d2f5ce9961d94a95 4286106 
clang_2.9-6_i386.deb
Files: 
 00ee789d6ef0298ca785c2c1feb8910a 1518 devel optional clang_2.9-6.dsc
 ea52c136f94b7ea3d07a5d342ef68697 15906 devel optional clang_2.9-6.debian.tar.gz
 850b0e38f3fcd67da11249d6b54865c2 4286106 devel optional clang_2.9-6_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk39Qy8ACgkQiOXXM92JlhCiPACfbR0VpSiB6FTZAFaTk0ewHcDa
ZQ4An3xOaovqvAd68vpECZueow/9H0fk
=0Ola
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to