Re: [cfe-users] Problem with installing clang-3.8.0

2020-06-11 Thread Matthew Fernandez via cfe-users
Hi,

Clang 3.8 is not available in the Ubuntu 20.04 repositories [0], so I guess you 
must have added a PPA or other source to get this. It would seem your source 
that is providing clang-3.8 does not also provide all its dependencies.

Thanks,
Matt

  [0]: 
https://packages.ubuntu.com/search?keywords=clang-3.8&searchon=names&suite=all§ion=all

> On May 26, 2020, at 23:02, Kwiatek, Michal (Nokia - PL/Wroclaw) via cfe-users 
>  wrote:
> 
> Hi,
> I have troubles with installing clang 3.8.0
> I am able to install versions such as 6.0 or 10 but I cannot install 3.8.0
> When I write: `sudo apt-get install clang-3.8.0` I get following message 
> (screen included)
> 
> 
> Os version: Ubuntu 20.04
>  08-02-28.png>___
> cfe-users mailing list
> cfe-users@lists.llvm.org 
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users 
> 
___
cfe-users mailing list
cfe-users@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users


[cfe-users] A Problem When Cross Compiling for RISC-V in Clang

2020-06-11 Thread 张尹 via cfe-users
Hello everybody,

I met a problem when cross compiling for RISC-V in Clang.


'''
/home/test# /home/git/rvv-llvm/build/bin/clang++ 
--target=riscv64-unknown-linux-gnu --sysroot=/home/RISCV/sysroot/ -I 
/home/RISCV/riscv64-unknown-linux-gnu/include/c++/9.2.0/ -I 
/home/RISCV/riscv64-unknown-linux-gnu/include/c++/9.2.0/riscv64-unknown-linux-gnu/
 -L /home/RISCV/lib/gcc/riscv64-unknown-linux-gnu/9.2.0/ test.cpp
/home/RISCV/bin/riscv64-unknown-linux-gnu-ld: cannot find crtbegin.o: No such 
file or directory
clang-11: error: linker command failed with exit code 1 (use -v to see 
invocation)
'''


The file "crtbegin.o" is actually in the directory added by the -L option.


'''
/home/RISCV# find . -name "crtbegin.o"
./lib/gcc/riscv64-unknown-linux-gnu/9.2.0/crtbegin.o
'''


I finally add a soft link of the file to finish compiling. But do you know why 
ld cannot find it?

sincerely,
Yin


___
cfe-users mailing list
cfe-users@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users