You are not logged in.
I am trying to upgrade discord from the AUR and it depends on libc++. I keep getting this error when trying tombuild the packge
I am getting the following error when trying to build.
Building C object CMakeFiles/cmTC_05128.dir/testCCompiler.c.o
/usr/bin/clang -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -o CMakeFiles/cmTC_05128.dir/testCCompiler.c.o -c /home/rican-linux/.cache/pacaur/libc++/src/build/CMakeFiles/CMakeTmp/testCCompiler.c
clang-6.0: error: unknown argument: '-fno-plt'
Is this an issue I should report uptream?
Last edited by rican-linux (2017-09-06 23:40:31)
Offline
clang-6.0: error: unknown argument: '-fno-plt'
There is no clang-6.0 (either in the repos, in the AUR, or for that matter, in existence as far as I can tell). The latest version of clang is 4.0.1.
What is happening there? What package owns /usr/bin/clang? and what is the output of `clang --version`?
Edit: also, doesn't glibc already provide libc++? Is dischord trying to build its own copy of it for some reason?
All the best,
-HG
Last edited by HalosGhost (2017-09-06 20:34:10)
Offline
Clang doesn't support '-fno-plt' option. Official clang archlinux package take care of this. Install clang from repo.
Offline
Clang doesn't support '-fno-plt' option. Official clang archlinux package take care of this. Install clang from repo.
You are right I had clang-svn llvm-svn and lib-llvn-svn from the AUR. I switched them out for the Offical repo packages and all is well. Thanks!
Offline