Your message dated Fri, 15 Mar 2013 17:48:01 +0000
with message-id <[email protected]>
and subject line Bug#701587: fixed in clang 1:3.2-1~exp8
has caused the Debian Bug report #701587,
regarding clang: FTBFS on powerpcspe
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.)
--
701587: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=701587
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: clang
Version: 1:3.0-6.1
Severity: wishlist
Tags: patch sid
User: [email protected]
Usertags: powerpcspe
Hi,
clang FTBFS on powerpcspe[1] like this:
[...]
if powerpc-linux-gnuspe-g++ -I/«PKGBUILDDIR»/build-clang/include
-I/«PKGBUILDDIR»/build-clang/tools/clang/lib/Lex
-I/«PKGBUILDDIR»/llvm-3.0.src/include -I/«PKGBUILDDIR»/tools/clang/lib/Lex
-DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS -I/«PKGBUILDDIR»/tools/clang/lib/Lex/../../include
-I/«PKGBUILDDIR»/build-clang/tools/clang/lib/Lex/../../include
-DCLANG_VENDOR='"Debian "' -maltivec -g -O2 -fomit-frame-pointer
-fno-exceptions -fno-rtti -fPIC -Woverloaded-virtual -Wcast-qual
-fno-strict-aliasing -pedantic -Wno-long-long -Wall -W -Wno-unused-parameter
-Wwrite-strings -c -MMD -MP -MF
"/«PKGBUILDDIR»/build-clang/tools/clang/lib/Lex/Release/HeaderMap.d.tmp" -MT
"/«PKGBUILDDIR»/build-clang/tools/clang/lib/Lex/Release/HeaderMap.o" -MT
"/«PKGBUILDDIR»/build-clang/tools/clang/lib/Lex/Release/HeaderMap.d"
/«PKGBUILDDIR»/tools/clang/lib/Lex/HeaderMap.cpp -o
/«PKGBUILDDIR»/build-clang/tools/clang/lib/Lex/Release/HeaderMap
.o ; \
then /bin/mv -f
"/«PKGBUILDDIR»/build-clang/tools/clang/lib/Lex/Release/HeaderMap.d.tmp"
"/«PKGBUILDDIR»/build-clang/tools/clang/lib/Lex/Release/HeaderMap.d"; else
/bin/rm
"/«PKGBUILDDIR»/build-clang/tools/clang/lib/Lex/Release/HeaderMap.d.tmp"; exit
1; fi
/«PKGBUILDDIR»/tools/clang/lib/Lex/HeaderMap.cpp:1:0: error: AltiVec and E500
instructions cannot coexist
[...]
The attached patch fixes this by considering the triplet powerpc-linux-gnuspe
and omitting -maltivec in case of powerpcspe.
Thanks,
Roland
[1] http://wiki.debian.org/PowerPCSPEPort
-- System Information:
Debian Release: 7.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.7.0 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash
--- clang-3.0.orig/tools/clang/lib/Driver/ToolChains.cpp
+++ clang-3.0/tools/clang/lib/Driver/ToolChains.cpp
@@ -1682,6 +1682,7 @@ Linux::GCCInstallationDetector::GCCInsta
static const char *const PPCLibDirs[] = { "/lib32", "/lib" };
static const char *const PPCTriples[] = {
"powerpc-linux-gnu",
+ "powerpc-linux-gnuspe",
"powerpc-unknown-linux-gnu"
};
LibDirs.append(PPCLibDirs, PPCLibDirs + llvm::array_lengthof(PPCLibDirs));
@@ -1786,6 +1787,8 @@ static std::string getMultiarchTriple(co
return "x86_64-unknown-linux-gnu";
return TargetTriple.str();
case llvm::Triple::ppc:
+ if (llvm::sys::fs::exists(SysRoot + "/lib/powerpc-linux-gnuspe"))
+ return "powerpc-linux-gnuspe";
if (llvm::sys::fs::exists(SysRoot + "/lib/powerpc-linux-gnu"))
return "powerpc-linux-gnu";
return TargetTriple.str();
--- clang-3.0.orig/tools/clang/lib/Lex/Makefile
+++ clang-3.0/tools/clang/lib/Lex/Makefile
@@ -17,8 +17,10 @@ include $(CLANG_LEVEL)/../../Makefile.co
LIBRARYNAME := clangLex
ifeq ($(ARCH),PowerPC)
+ifneq ($(shell dpkg-architecture -qDEB_HOST_ARCH),powerpcspe)
CXX.Flags += -maltivec
endif
+endif
include $(CLANG_LEVEL)/Makefile
--- End Message ---
--- Begin Message ---
Source: clang
Source-Version: 1:3.2-1~exp8
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.
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: Mon, 04 Mar 2013 19:40:55 +0100
Source: clang
Binary: clang clang-3.2 clang-3.2-doc libclang1 libclang1-dbg libclang-dev
libclang-common-dev compiler-rt
Architecture: source all amd64
Version: 1:3.2-1~exp8
Distribution: experimental
Urgency: low
Maintainer: LLVM Packaging Team <[email protected]>
Changed-By: Sylvestre Ledru <[email protected]>
Description:
clang - C, C++ and Objective-C compiler (LLVM based)
clang-3.2 - C, C++ and Objective-C compiler (LLVM based)
clang-3.2-doc - C, C++ and Objective-C compiler (LLVM based) - Documentation
compiler-rt - Runtime C library - LLVM based
libclang-common-dev - clang library - Common development package
libclang-dev - clang library - Development package
libclang1 - clang library
libclang1-dbg - clang library
Closes: 698352 700751 701587
Changes:
clang (1:3.2-1~exp8) experimental; urgency=low
.
* Limit the dependency of clang-3.2 on compiler-rt to amd64 & i386
(Closes: #700751)
* Detect the vendor (Debian or Ubuntu) and update the configuration
* Update of the watch file. Thanks to Bart Martens
* Port to powerpcspe. Thanks to Roland Stigge (Closes: #701587)
See: 31-powerpcspe.diff
* Fix the path detection of scan-build (Closes: #698352)
See: 32-scan-build-path.diff
* Use binutils-gold to link
Checksums-Sha1:
6ce72355d2242f040d03a6b14371c933ca109f2e 2172 clang_3.2-1~exp8.dsc
abb07f4e3b5406ddf9026a647f5e9442f1dda849 19992 clang_3.2-1~exp8.debian.tar.gz
5fff25d91eebdbf7078b171c262daca0e06bfac8 9804 clang_3.2-1~exp8_all.deb
c7bfa9679c0c6354756b54d624bee33fdeba1a88 10070220
clang-3.2_3.2-1~exp8_amd64.deb
af7f0c0730b9eff19495026b8171d2bbd1401cc4 380220
clang-3.2-doc_3.2-1~exp8_all.deb
f494143f49aec760ca8d50ccdeba5b967ab55aa6 4203204 libclang1_3.2-1~exp8_amd64.deb
af8615072898022f7bb1ea7e62591ce7c39d5dc0 80136550
libclang1-dbg_3.2-1~exp8_amd64.deb
7e58fa69984cff943284d812729ccd5d4bbc86fa 10501542
libclang-dev_3.2-1~exp8_amd64.deb
840c2f3e05a8887fe6cc3a6876d1c72c5c8beeaf 303220
libclang-common-dev_3.2-1~exp8_amd64.deb
e909f9f7e43fe3f7bb83cd42fd5d96c91e0e5cfc 315030
compiler-rt_3.2-1~exp8_amd64.deb
Checksums-Sha256:
18ee77cf63736908dc4369e65c32f17da26af806c1a6b97862fa83f232e50b07 2172
clang_3.2-1~exp8.dsc
5f0c85c07351f4c9340cd38b2b58e91f788f15c09b106de6724583392e3c25c7 19992
clang_3.2-1~exp8.debian.tar.gz
7b053d6e13d09569f4c4347f3628e6fc1ea50ce10999b2af6a129eaa876c5b96 9804
clang_3.2-1~exp8_all.deb
e40cef35735ed1b1a7fcc5a58ad3c7e838a4ac4f8264fac07eb5a4b1e0f1dd9d 10070220
clang-3.2_3.2-1~exp8_amd64.deb
e0e56d665f6e950e7b0706dae4ffa151a1bbaeb634862e0d5a6a6ea86f3facc7 380220
clang-3.2-doc_3.2-1~exp8_all.deb
14a69019d12f9c0eb9fa15fd25faff692cdb9bed679fd9359fdb4616dad0440b 4203204
libclang1_3.2-1~exp8_amd64.deb
56c83f19df594aa66b47a5b5d53c0594c1c3270a882d4a725d881c1aa769c097 80136550
libclang1-dbg_3.2-1~exp8_amd64.deb
952e335c6a04b19787a5a1411efbe9b0360832a97b5586e7907c9140ce8eea20 10501542
libclang-dev_3.2-1~exp8_amd64.deb
27d6e361db75feb7f929d8e5a3334e07c7e203f3d39d184275d699836ce82b69 303220
libclang-common-dev_3.2-1~exp8_amd64.deb
0ef14c467b1eab44ede909539c004be53be6611c0cbb939d640e2a3a2ccda3d9 315030
compiler-rt_3.2-1~exp8_amd64.deb
Files:
dbecc75b8f6dcf1751450d12d27e50f8 2172 devel optional clang_3.2-1~exp8.dsc
02ce92f3f744c166bfac637a78490b48 19992 devel optional
clang_3.2-1~exp8.debian.tar.gz
b624088d7cf39688377ef829d6d244e1 9804 devel optional clang_3.2-1~exp8_all.deb
0369a175d857ccb1f484f6abd5873e7e 10070220 devel optional
clang-3.2_3.2-1~exp8_amd64.deb
e6f47d091159d4f51050d20644aecaac 380220 doc optional
clang-3.2-doc_3.2-1~exp8_all.deb
11e533a80501b2c5642e321622c3d08d 4203204 devel optional
libclang1_3.2-1~exp8_amd64.deb
d4632f9496f668bfa31fef6988ba1ef2 80136550 debug extra
libclang1-dbg_3.2-1~exp8_amd64.deb
097344b0396f4238656ac2968ffad14c 10501542 libdevel optional
libclang-dev_3.2-1~exp8_amd64.deb
9f5f92d720ee822d03127e2e0b7c2891 303220 libdevel optional
libclang-common-dev_3.2-1~exp8_amd64.deb
04be344829d9cf652bea6553cf6c1f11 315030 libdevel optional
compiler-rt_3.2-1~exp8_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlFDWqwACgkQiOXXM92JlhDteQCdF5eX/9GsqsRkn94hEdB75+Co
KAkAn31OnSvCLYP6kkNJwhzQRl+8c+Ll
=vmY4
-----END PGP SIGNATURE-----
--- End Message ---