Re: Arch Linux ldc package can't use asan

2018-01-09 Thread Johan Engelen via Digitalmars-d
On Tuesday, 9 January 2018 at 20:43:05 UTC, Wild wrote: On Tuesday, 9 January 2018 at 18:28:46 UTC, Johan Engelen wrote: Extra info: LDC should also recognize the libclang_rt.asan and libclang_rt.fuzzer libraries if they are in the same path where LDC would try to find the libldc copies. So

Re: Arch Linux ldc package can't use asan

2018-01-09 Thread Wild via Digitalmars-d
On Tuesday, 9 January 2018 at 20:43:05 UTC, Wild wrote: On Arch these files are stored in "/usr/lib/clang/5.0.1/lib/linux/", and the archlinux package tool doesn't like symlinks that point outside of the package. So a patch would be my only choice. So my solution is: sed -i

Re: Arch Linux ldc package can't use asan

2018-01-09 Thread Wild via Digitalmars-d
On Tuesday, 9 January 2018 at 18:28:46 UTC, Johan Engelen wrote: Extra info: LDC should also recognize the libclang_rt.asan and libclang_rt.fuzzer libraries if they are in the same path where LDC would try to find the libldc copies. So the symlink is not even necessary in that case. -Johan

Re: Arch Linux ldc package can't use asan

2018-01-09 Thread Johan Engelen via Digitalmars-d
On Tuesday, 9 January 2018 at 17:54:11 UTC, kinke wrote: On Tuesday, 9 January 2018 at 15:27:56 UTC, Wild wrote: On Tuesday, 9 January 2018 at 15:19:37 UTC, Atila Neves wrote: I don't know who's the current maintainer of the Arch Linux D packages. ldc1.7.0 from the Arch repositories doesn't

Re: Arch Linux ldc package can't use asan

2018-01-09 Thread Wild via Digitalmars-d
On Tuesday, 9 January 2018 at 17:54:11 UTC, kinke wrote: Thanks. The official package ships with a renamed copy of the LLVM compiler-rt library (matching the LLVM version LDC was built with), libldc_rt.asan-x86_64.a. If a copy is out of the question, a dependency on the package containing that

Re: Arch Linux ldc package can't use asan

2018-01-09 Thread kinke via Digitalmars-d
On Tuesday, 9 January 2018 at 15:27:56 UTC, Wild wrote: On Tuesday, 9 January 2018 at 15:19:37 UTC, Atila Neves wrote: I don't know who's the current maintainer of the Arch Linux D packages. ldc1.7.0 from the Arch repositories doesn't work with -fsanitize=address right now, it fails to link. I

Re: Arch Linux ldc package can't use asan

2018-01-09 Thread Cym13 via Digitalmars-d
On Tuesday, 9 January 2018 at 15:27:56 UTC, Wild wrote: On Tuesday, 9 January 2018 at 15:19:37 UTC, Atila Neves wrote: I don't know who's the current maintainer of the Arch Linux D packages. ldc1.7.0 from the Arch repositories doesn't work with -fsanitize=address right now, it fails to link. I

Re: Arch Linux ldc package can't use asan

2018-01-09 Thread Wild via Digitalmars-d
On Tuesday, 9 January 2018 at 15:19:37 UTC, Atila Neves wrote: I don't know who's the current maintainer of the Arch Linux D packages. ldc1.7.0 from the Arch repositories doesn't work with -fsanitize=address right now, it fails to link. I originally filed an ldc bug here: I will look into

Arch Linux ldc package can't use asan

2018-01-09 Thread Atila Neves via Digitalmars-d
I don't know who's the current maintainer of the Arch Linux D packages. ldc1.7.0 from the Arch repositories doesn't work with -fsanitize=address right now, it fails to link. I originally filed an ldc bug here: https://github.com/ldc-developers/ldc/issues/2488 But it turns out that the