Commit Graph

696 Commits

Author SHA1 Message Date
Sylvestre Ledru
816b488b26 Enable ld gold for kfreebsd-amd64 and kfreebsd-i386 Many thanks to Svante Signell for the two updates 2019-02-07 17:17:47 +01:00
Sylvestre Ledru
2630cd44ad Continue in case of error 2019-01-11 08:40:12 +01:00
Sylvestre Ledru
4d0a1e4e44 add some debug info 2019-01-10 22:54:33 +01:00
Sylvestre Ledru
aeccafe799 Failed with "fakeroot: nested operation not yet supported"
Revert "run strip using fakeroot to avoid some issues like: chown: changing ownership of 'debian/.debhelper/clang-8/dbgsym-root/usr/lib/debug/.build-id/98/91e0beba57ee5ec69fd03c519f19351e353875.debug': Operation not permitted"

This reverts commit f490b5b1ec.
2019-01-02 18:07:31 +01:00
Sylvestre Ledru
f490b5b1ec run strip using fakeroot to avoid some issues like: chown: changing ownership of 'debian/.debhelper/clang-8/dbgsym-root/usr/lib/debug/.build-id/98/91e0beba57ee5ec69fd03c519f19351e353875.debug': Operation not permitted 2019-01-02 11:26:32 +01:00
Sylvestre Ledru
6cebc97091 ignoring these files shounld'nt be needed anymore 2019-01-02 11:26:32 +01:00
Sylvestre Ledru
9725c78e34 Rebase of the patch 2018-12-26 19:04:43 +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
Sylvestre Ledru
f72c848baa Pass -Wl,--build-id to get dbgsym packages (Closes: #916975) 2018-12-21 08:25:28 +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
d6e4a307b0 fix the declaration 2018-12-16 15:55:55 +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
ee6846e207 missing declaration 2018-12-13 09:47:44 +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
7600774a23 disable llvm-strip for now 2018-12-08 01:18:13 -05: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
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
db50715aa8 also ignore libclangTidyModernizeModule.a 2018-11-21 22:40:43 +01:00
Sylvestre Ledru
af56187b7d workaround the build issues on armhf 2018-11-16 22:45:51 +01:00
Sylvestre Ledru
4625379dd4 when the lld manpage have been moved, move it back 2018-11-16 10:32:21 +01:00
Sylvestre Ledru
ac7fd96f94 prepare the deactivation of stage2 2018-11-11 21:38:57 +01:00
Sylvestre Ledru
0fc78cdf4c fix a typo in PRE_PROCESS 2018-11-11 20:45:54 +01:00
Sylvestre Ledru
7c261d5b43 rename the build target 2018-11-11 20:44:29 +01:00
Sylvestre Ledru
1ec882965b Disable gold for sparc* (Closes: #913260) 2018-11-08 20:50:48 +01:00
Sylvestre Ledru
755623734b * Try to fix the bootstrap FTBFS :
- on armel by forcing the link to -latomic
2018-11-03 08:29:05 +01:00
Sylvestre Ledru
48c1000a8c Remove the dump of cmake error file (too confusing) 2018-10-23 08:21:16 +02:00
Sylvestre Ledru
e01818d213 tail instead of fail 2018-10-22 14:40:45 +02:00
Sylvestre Ledru
83615cab57 Merge remote-tracking branch 'origin/7' into 7-bootstrap 2018-10-21 18:34:32 +02:00
Sylvestre Ledru
498563ae78 declare these variables for all platform (fails on mips) 2018-10-21 18:33:25 +02:00
Sylvestre Ledru
6f631cda3c When the cmake configure of the stage2 is failing, dump the cmake error log 2018-10-19 11:26:52 +02:00
Sylvestre Ledru
8e3d8912ea Merge remote-tracking branch 'origin/6.0' into 7 2018-10-18 16:45:57 +02:00
Samuel Thibault
ec06d9e4e1 * Apply hurd fixes (Closes: #908847).
- hurd-lib_Support_Unix_Path.inc.diff
    - hurd-pathmax.diff
    - hurd-tools_llvm-shlib_CMakeLists.txt.diff
2018-10-18 16:43:20 +02:00
Sylvestre Ledru
de1d02b284 Merge remote-tracking branch 'origin/7' into 7-bootstrap 2018-10-16 22:47:27 +02:00
Gianfranco Costamagna
e57a28c14a Try to fix mips and mipsel FTBFS with approach number two in bug #877567 2018-10-16 10:57:04 +02:00
Sylvestre Ledru
d6eab310cb fix the clang-query install path 2018-10-11 12:03:06 +02:00