Commit Graph

2435 Commits

Author SHA1 Message Date
Sylvestre Ledru
c77a496667 Also install clang-7-dbgsym libclang1-7-dbgsym in autopkgtest to verify that debug symbols are present 2018-12-22 21:23:44 +01:00
Sylvestre Ledru
26ea04bc08 Build with -g1 also on 64bit architectures (thanks to Adrian too) 2018-12-21 20:50:56 +01:00
Sylvestre Ledru
a7324bb040 add the changelog 2018-12-21 20:50:25 +01:00
Sylvestre Ledru
5acdfc0423 Revert "Revert "Enable -DENABLE_LINKER_BUILD_ID:BOOL=ON as, unlike gcc, isn't enabled by default in clang. Once more, thanks to Rebecca Palmer (Closes: #916975)""
This reverts commit 90e5dc22a4.
2018-12-21 20:49:26 +01:00
Sylvestre Ledru
f7a60160d2 Merge branch '7' of salsa.debian.org:pkg-llvm-team/llvm-toolchain into 7 2018-12-21 20:49:04 +01:00
Sylvestre Ledru
5a91592546 Merge branch '7' into '7'
Fix -dbgsym creation

See merge request pkg-llvm-team/llvm-toolchain!28
2018-12-21 19:48:29 +00:00
Sylvestre Ledru
90e5dc22a4 Revert "Enable -DENABLE_LINKER_BUILD_ID:BOOL=ON as, unlike gcc, isn't enabled by default in clang. Once more, thanks to Rebecca Palmer (Closes: #916975)"
This reverts commit b9b61aeece.
2018-12-21 20:48:06 +01:00
Sylvestre Ledru
b9b61aeece Enable -DENABLE_LINKER_BUILD_ID:BOOL=ON as, unlike gcc, isn't enabled by default in clang. Once more, thanks to Rebecca Palmer (Closes: #916975) 2018-12-21 17:37:19 +01:00
Adrian Bunk
f0f0ba2c6c Fix -dbgsym creation
- build with -g1 also on 64bit architectures
  - should be -g, but this causes buildd disk space issues
- enable BuildID so that clang built binaries can be in -dbgsym
- override_dh_strip: limit all workarounds to binutils < 2.31.1-11
2018-12-20 21:55:42 +02:00
Sylvestre Ledru
4574aab59e Enable more tests, just don't fail on them 2018-12-17 11:04:41 +01:00
Sylvestre Ledru
4c72333341 remove a temp file 2018-12-17 11:01:30 +01:00
Sylvestre Ledru
a5f39e48a8 Merge branch '7' of salsa.debian.org:pkg-llvm-team/llvm-toolchain into 7 2018-12-16 15:56:03 +01:00
Sylvestre Ledru
d6e4a307b0 fix the declaration 2018-12-16 15:55:55 +01:00
Sylvestre Ledru
c3dd861c37 Remove the dbg workaround. Hopefully, the new version of binutils will fix it (Closes: #913946) 2018-12-16 13:16:04 +01:00
Sylvestre Ledru
3c89d34e4c remove the -fno-addrsig workaround 2018-12-16 13:14:04 +01:00
Sylvestre Ledru
7dd264c6f6 keep the strip workaround only for old version of bin utils 2018-12-16 13:12:58 +01:00
Sylvestre Ledru
eab48da666 New release 2018-12-16 13:09:41 +01:00
Sylvestre Ledru
afc5bd71f2 verify that llvm-config doesn't export -W 2018-12-13 15:35:42 +01:00
Sylvestre Ledru
ee6846e207 missing declaration 2018-12-13 09:47:44 +01:00
Sylvestre Ledru
8ed2c3d96c The goal is to provide correct debug packages.
Workaround https://sourceware.org/bugzilla/show_bug.cgi?id=23788
2018-12-12 21:13:02 +01:00
Sylvestre Ledru
a1a2358ee4 * Improved the debian/patches/series presentation by creating categories
* Improve the separation between *FLAGS for gcc and clang.
  This is done for -fno-addrsig as it doesn't exit for gcc
  This can be done with the BOOTSTRAP_CMAKE_CXX_FLAGS option
2018-12-12 21:09:37 +01:00
Sylvestre Ledru
08afca5bde improve the separation between *FLAGS for gcc and clang 2018-12-12 21:00:37 +01:00
Sylvestre Ledru
8e911fd30c Force the link to atomic also for i386 as it fails on Debian jessie too 2018-12-11 16:54:35 +01:00
Sylvestre Ledru
1dfde1e31f try to send flags only to the bootstrap phase 2018-12-10 20:26:29 +01:00
Sylvestre Ledru
772552aa5c move the code coverage decl above 2018-12-10 20:25:25 +01:00
Sylvestre Ledru
e54f11d312 fix tab 2018-12-10 20:24:04 +01:00
Sylvestre Ledru
fd33d6731c force the +x on bin/* 2018-12-10 18:58:44 +01:00
Sylvestre Ledru
d2b29624d3 Try to workaround the debug issues by adding -fno-addrsig to the *FLAGS One more time, thanks to Rebecca Palmer (Closes: #913946) 2018-12-10 16:09:36 +01:00
Sylvestre Ledru
d441237cac on old version of strip, try to ignore the error by using llvm-strip 2018-12-10 11:43:47 +01:00
Sylvestre Ledru
f68900ea94 remove wrong comment 2018-12-10 11:10:24 +01:00
Sylvestre Ledru
0d01c45662 Improve the debian/patches/series presentation 2018-12-10 04:40:42 -05:00
Sylvestre Ledru
ef83976295 Merge branch '7' of salsa.debian.org:pkg-llvm-team/llvm-toolchain into 7 2018-12-10 04:25:37 -05:00
Sylvestre Ledru
bc40deabb5 fix llvm-config 2018-12-10 04:11:35 -05:00
Sylvestre Ledru
bb5a83a8e3 remove patches applied upstream 2018-12-08 07:49:57 +01:00
Sylvestre Ledru
beb4146166 * New testing release
* disable the llvm-strip as it created too big llvm lib
2018-12-08 07:35:27 +01:00
Sylvestre Ledru
7600774a23 disable llvm-strip for now 2018-12-08 01:18:13 -05:00
John Paul Adrian Glaubitz
7f04c63d2b Add patch to optimize double parameter calling setup on powerpcspe 2018-12-05 09:34:41 +01:00
John Paul Adrian Glaubitz
ec6cc889c7 Add patch to fix register spilling on powerpcspe 2018-12-05 09:30:25 +01:00
John Paul Adrian Glaubitz
cab6074481 Add patch to add powerpcspe support to clang 2018-12-05 09:29:59 +01:00
Sylvestre Ledru
3044b81424 use ld_lib_path everywhere 2018-12-04 21:45:12 -05:00
Sylvestre Ledru
f35c43f15e LD_LIB_PATH is also necessary 2018-12-04 07:15:01 -05:00
Sylvestre Ledru
5cd64bf153 Change the i386 base line to avoid using sse2 extension This is more important now that llvm is built with clang instead of gcc. Thanks to Fanael Linithien for the patch (Closes: #914770, #894840) 2018-12-01 11:18:58 +01:00
Sylvestre Ledru
198dceaf97 Change the i386 base line to avoid using sse2 extension This is more important now that llvm is built with clang instead of gcc. Thanks to Fanael Linithien for the patch (Closes: #914770, #894840) 2018-11-29 09:53:35 +01:00
Sylvestre Ledru
1e84d55013 Merge branch '7+baseline' into '7'
Fix Clang baseline violation

See merge request pkg-llvm-team/llvm-toolchain!26
2018-11-29 08:23:59 +00:00
Fanael Linithien
62fe8d7620 Fix Clang baseline violation
Upstream Clang on i386 defaults to -march=pentium4, which violates the current
i386 baseline, so change it to default to the current baseline.
2018-11-29 03:23:11 +01:00
Sylvestre Ledru
3deb991f17 bring back the removal of the dir 2018-11-26 16:17:57 +01:00
Sylvestre Ledru
6bcd0a96b2 * Use llvm-strip instead of binutils strip.
Two reasons:
    - with clang stage2, the dbg packages were not generated
    - strip fails on stretch and other ubuntu on some archives
  For this, I had to silent the --enable-deterministic-archives
  option (https://bugs.llvm.org/show_bug.cgi?id=39789).
  Thanks to Rebecca Palmer for the idea
  (Closes: #913946)
2018-11-26 16:12:17 +01:00
Sylvestre Ledru
af6035d0d7 add a trailing whitespace... 2018-11-25 18:27:05 +01:00
Sylvestre Ledru
7aee38111d fix the patch 2018-11-25 17:07:39 +01:00
Sylvestre Ledru
40d927e090 Bring back mips-rdhwr.diff as it isn't in rc2 2018-11-25 17:01:04 +01:00