Your message dated Sun, 12 Jun 2011 09:47:19 +0000
with message-id <e1qvhgj-00007r...@franck.debian.org>
and subject line Bug#627131: fixed in clang 2.9-4
has caused the Debian Bug report #627131,
regarding clang in exp fails to link if only gcc-4.6 is installed
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.)


-- 
627131: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=627131
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: clang
Version: 2.9-1~exp1
Severity: serious
Tags: patch

Clang from experimental (maybe sid as well) fails to work if only
gcc-4.6 is installed:

|clang -o limi limi.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
|clang: error: linker command failed with exit code 1 (use -v to see invocation)

The patch attached fixes the issue by adding 4.6 into the seatch path. A
nicer patch could follow in a few days so we don't have the same problem
with 4.6.2 or 4.7 again :)

Sebastian
>From d647c10b5201fd593cdd748fd6c26554786b1427 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <sebast...@breakpoint.cc>
Date: Tue, 17 May 2011 22:50:10 +0200
Subject: [PATCH] clang: compile with gcc-4.6 as host

Signed-off-by: Sebastian Andrzej Siewior <sebast...@breakpoint.cc>
---
 tools/clang/lib/Driver/ToolChains.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/tools/clang/lib/Driver/ToolChains.cpp 
b/tools/clang/lib/Driver/ToolChains.cpp
index dc35a33..ca1942b 100644
--- a/tools/clang/lib/Driver/ToolChains.cpp
+++ b/tools/clang/lib/Driver/ToolChains.cpp
@@ -1449,7 +1449,8 @@ Linux::Linux(const HostInfo &Host, const llvm::Triple 
&Triple)
       GccTriple = "i586-suse-linux";
   }
 
-  const char* GccVersions[] = {"4.5.2", "4.5.1", "4.5", "4.4.5", "4.4.4",
+  const char* GccVersions[] = {"4.6", "4.6.1",
+                               "4.5.2", "4.5.1", "4.5", "4.4.5", "4.4.4",
                                "4.4.3", "4.4", "4.3.4", "4.3.3", "4.3.2",
                                "4.3", "4.2.4", "4.2.3", "4.2.2", "4.2.1",
                                "4.2"};
-- 
1.7.5.1


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

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-4.debian.tar.gz
  to main/c/clang/clang_2.9-4.debian.tar.gz
clang_2.9-4.dsc
  to main/c/clang/clang_2.9-4.dsc
clang_2.9-4_amd64.deb
  to main/c/clang/clang_2.9-4_amd64.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 627...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sylvestre Ledru <sylves...@debian.org> (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 ftpmas...@debian.org)


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

Format: 1.8
Date: Sun, 12 Jun 2011 11:14:49 +0200
Source: clang
Binary: clang
Architecture: source amd64
Version: 2.9-4
Distribution: unstable
Urgency: low
Maintainer: LLVM Packaging Team <pkg-llvm-t...@lists.alioth.debian.org>
Changed-By: Sylvestre Ledru <sylves...@debian.org>
Description: 
 clang      - Low-Level Virtual Machine (LLVM), C language family frontend
Closes: 627131 629861
Changes: 
 clang (2.9-4) unstable; urgency=low
 .
   * debian/patches/12-gcc-4.6.patch: Support of gcc 4.6 (Closes: #627131)
   * debian/control.in/clang, debian/control: Dependency switch from
     libstdc++6-4.5-dev to libstdc++6-4.6-dev
   * debian/patches/13-multiarch-newpath.patch: Multiarch support
     (Closes: #629861)
Checksums-Sha1: 
 239ef54e0526e8b5adf24ccc50b05fb25762c9a0 1557 clang_2.9-4.dsc
 cc970df79bf933e6a65882d706b6b8ce00d3deca 20832 clang_2.9-4.debian.tar.gz
 56edd72689493e8cab7176291fb992408077b0d8 4049498 clang_2.9-4_amd64.deb
Checksums-Sha256: 
 959b7ff10ba52b2be4b7aa9a16d0042959a08873a9dd65aae7677f7c8a5a5d36 1557 
clang_2.9-4.dsc
 bab1b5fc95b8d4604fe1c89556b59abe03d5316de21a5a8193fb455f963cd1f8 20832 
clang_2.9-4.debian.tar.gz
 714dd92cefdcfd1caa98dbaff785c9a590ad0d0b2cc750a3087f0dbec4a195bf 4049498 
clang_2.9-4_amd64.deb
Files: 
 305c2ecaa995f8f18c0cd7932ae9f692 1557 devel optional clang_2.9-4.dsc
 0160ab41249e1b830fe64d176ae5fbbb 20832 devel optional clang_2.9-4.debian.tar.gz
 9dc3d5e2bfd7419332135e4369730b8f 4049498 devel optional clang_2.9-4_amd64.deb

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

iEYEARECAAYFAk30ib4ACgkQiOXXM92JlhBBmwCfVXZLwlvCli/OoYaoxrgCfnO8
p9cAn3NwO/if12WwDmLMuGLPvbyiDhsL
=GEkw
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to