https://bugs.kde.org/show_bug.cgi?id=389473
--- Comment #38 from Tam HANNA ---
Hello,
and here is the build script I used:
echo "Now working on CMAKE"
sudo apt-get remove cmake
wget http://www.cmake.org/files/v3.11/cmake-3.11.0.tar.gz
tar -xvzf cmake-3.11.0.tar.gz
cd cmake-3.11.0/
./configure
https://bugs.kde.org/show_bug.cgi?id=389473
Tam HANNA changed:
What|Removed |Added
Resolution|FIXED |---
Status|RESOLVED
https://bugs.kde.org/show_bug.cgi?id=389473
--- Comment #36 from Sergio Martins ---
This is now be fixed in latest 1.4 and master branches.
If your LLVM is static (*.a files instead of .so) you'll need to build clazy
with -DLINK_TO_LLVM=OFF , if that doesn't work for you then there's no other
s
https://bugs.kde.org/show_bug.cgi?id=389473
Sergio Martins changed:
What|Removed |Added
Latest Commit||https://commits.kde.org/cla
https://bugs.kde.org/show_bug.cgi?id=389473
--- Comment #34 from Tam HANNA ---
Hello,
and here is the verbose output:
tamhan@TAMHAN14:~/clazyspace$ clazy main.cpp -v
clang version 6.0.1 (https://github.com/llvm-mirror/clang.git
2f27999df400d17b33cdd412fdd606a88208dfcc)
(https://github.com/llvm-m
https://bugs.kde.org/show_bug.cgi?id=389473
Tam HANNA changed:
What|Removed |Added
Resolution|FIXED |---
Status|RESOLVED
https://bugs.kde.org/show_bug.cgi?id=389473
Sergio Martins changed:
What|Removed |Added
Status|CONFIRMED |RESOLVED
Resolution|---
https://bugs.kde.org/show_bug.cgi?id=389473
--- Comment #31 from Tam HANNA ---
Hello Sergio,
sorry for being away so long, and thank you for your help so far - I was held
up by another customer. Now, I got back to the problem.
Now, I tried this:
tamhan@TAMHAN14:~/clazyspace$ export
LD_LIBRARY_
https://bugs.kde.org/show_bug.cgi?id=389473
--- Comment #30 from Sergio Martins ---
Before invoking clazy, it seems to be a runtime problem now
--
You are receiving this mail because:
You are watching all bug changes.
https://bugs.kde.org/show_bug.cgi?id=389473
--- Comment #29 from Tam HANNA ---
Hello Sergio,
thank you so much for your swift response, and sorry for being slow - I was
overworked.
But you now you catch me out of my league. Should I modify the compile, or
simply sent the environment variable be
https://bugs.kde.org/show_bug.cgi?id=389473
--- Comment #28 from Sergio Martins ---
That's almost perfect, I would just suggest that you install clazy to LLVM's
prefix, instead of /data/prefix/clang-6.0/. Seems to be /usr/local/
Now, when running clazy it just needs to find it's ClangLazy.so lib
https://bugs.kde.org/show_bug.cgi?id=389473
--- Comment #27 from Tam HANNA ---
Created attachment 111807
--> https://bugs.kde.org/attachment.cgi?id=111807&action=edit
Second LLVM build attempt
--
You are receiving this mail because:
You are watching all bug changes.
https://bugs.kde.org/show_bug.cgi?id=389473
--- Comment #26 from Tam HANNA ---
Hello Sergio,
thank you so much. Sadly, this still does not do it. Now I used the following
configuration:
cd build
cmake -DLLVM_TARGETS_TO_BUILD=X86 -DBUILD_SHARED_LIBS=ON
-DCMAKE_BUILD_TYPE=Release ..
make -j 10
Sa
https://bugs.kde.org/show_bug.cgi?id=389473
--- Comment #25 from Sergio Martins ---
Hi, This last attachment still shows that clang is built statically:
Clang libraries:/usr/local/lib/libclangFrontend.a;
note the .a file, instead of .so.
Using -DBUILD_SHARED_LIBS=ON should make both llvm an
https://bugs.kde.org/show_bug.cgi?id=389473
--- Comment #24 from Tam HANNA ---
Created attachment 111805
--> https://bugs.kde.org/attachment.cgi?id=111805&action=edit
LLVM build one
--
You are receiving this mail because:
You are watching all bug changes.
https://bugs.kde.org/show_bug.cgi?id=389473
--- Comment #23 from Tam HANNA ---
Hello,
first, I tried this:
. . .
cd build
cmake -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_BUILD_LLVM_DYLIB=ON
-DCMAKE_BUILD_TYPE=Release ..
make -j 10
. . .
To get the build result in the file llvmbuildllvmdylib.txt
And
https://bugs.kde.org/show_bug.cgi?id=389473
--- Comment #22 from Tam HANNA ---
Hello Sergio,
just to let you know - I am now running two compiles as per the following
instructions:
BUILD_SHARED_LIBS:BOOL
Flag indicating if each LLVM component (e.g. Support) is built as a shared
library (ON)
https://bugs.kde.org/show_bug.cgi?id=389473
--- Comment #21 from Tam HANNA ---
Hello Sergio,
thank you so much for your swift reply and the continuous willingness to help
me.
This is the build sequence I use:
echo "Now working on LLVM"
git clone https://github.com/llvm-mirror/llvm.git
cd llvm/
g
https://bugs.kde.org/show_bug.cgi?id=389473
--- Comment #20 from Sergio Martins ---
Interesting, looks like your LLVM is dynamic, but your clang is static:
LLVM libraries: -lLLVMLTO -lLLVMPasses -lLLVMObjCARCOpts -lLLVMSymbolize
-lLLVMDebugInfoPDB -lLLVMDebugInfoDWARF -lLLVMFuzzMutate -lLLVMTab
https://bugs.kde.org/show_bug.cgi?id=389473
--- Comment #19 from Tam HANNA ---
Hello,
thank you so much for your swift reply.
I tried both compile variants and got the same error. The compile process log
is attached as a Attachment!
Tam
--
You are receiving this mail because:
You are watching
https://bugs.kde.org/show_bug.cgi?id=389473
--- Comment #18 from Tam HANNA ---
Created attachment 111778
--> https://bugs.kde.org/attachment.cgi?id=111778&action=edit
Compile process output
--
You are receiving this mail because:
You are watching all bug changes.
https://bugs.kde.org/show_bug.cgi?id=389473
--- Comment #17 from Sergio Martins ---
That error is when using the static one, what's the actual error when using
-DBUILD_SHARED_LIBS=ON ?
Also please paste the cmake output when building clazy itself with the
dynamically linked llvm
--
You are rec
https://bugs.kde.org/show_bug.cgi?id=389473
--- Comment #16 from Tam HANNA ---
Hello,
thank you so much for talking back. Sadly, the program still fails:
tamhan@TAMHAN14:~/clazyspace/clazy$ clazy main.cpp
: CommandLine Error: Option 'static-func-full-module-prefix' registered more
than once!
fa
https://bugs.kde.org/show_bug.cgi?id=389473
--- Comment #15 from Sergio Martins ---
I've tested clazy with llvm 5.0, 6.0 and 7.0 build from source and it's working
fine when using shared libraries, my llvm cmake line is:
cmake -DCMAKE_INSTALL_PREFIX=/data/prefix/clang-7.0 -DLLVM_INCLUDE_EXAMPLES
https://bugs.kde.org/show_bug.cgi?id=389473
Sergio Martins changed:
What|Removed |Added
Status|UNCONFIRMED |CONFIRMED
Ever confirmed|0
https://bugs.kde.org/show_bug.cgi?id=389473
--- Comment #14 from Tam HANNA ---
Hello,
sadly no change to the error. It now looks like this:
tamhan@TAMHAN14:~/Desktop/deadstuff/2018Jan/HeiseClazy/QtTypeGun2$ clazy
main.cpp
: CommandLine Error: Option 'static-func-full-module-prefix' registered mor
https://bugs.kde.org/show_bug.cgi?id=389473
--- Comment #13 from Tam HANNA ---
Hello,
just started fighting Git to get the correct version. This makes me miss
SourceSafe and CVS/SVN. But I will report in again...
--
You are receiving this mail because:
You are watching all bug changes.
https://bugs.kde.org/show_bug.cgi?id=389473
--- Comment #12 from Jeff Trull ---
IMO an acceptable resolution would be to add an LLVM version check ("clazy has
only been tested with versions X, Y, or Z") etc.
--
You are receiving this mail because:
You are watching all bug changes.
https://bugs.kde.org/show_bug.cgi?id=389473
--- Comment #11 from Sergio Martins ---
Sure, I'm using clang 5.0.1.
Try to stick to released versions of clang, as sometimes stuff breaks with
latest release
--
You are receiving this mail because:
You are watching all bug changes.
https://bugs.kde.org/show_bug.cgi?id=389473
--- Comment #10 from Tam HANNA ---
Hello Folks,
do you think that using an older version of CLANG would work?
I am on an AMD octacore workstation, so recompiling code is not a big issue for
me.
Tam
--
You are receiving this mail because:
You are wat
https://bugs.kde.org/show_bug.cgi?id=389473
--- Comment #9 from Jeff Trull ---
Rebuilding clang with -DBUILD_SHARED_LIBS=ON and then rebuilding clazy results
in a slightly different error message:
: CommandLine Error: Option 'help-list' registered more than once!
fatal error: error in backend: i
https://bugs.kde.org/show_bug.cgi?id=389473
--- Comment #8 from Sergio Martins ---
Can you try compiling clang/llvm with -DBUILD_SHARED_LIBS=ON ?
--
You are receiving this mail because:
You are watching all bug changes.
https://bugs.kde.org/show_bug.cgi?id=389473
--- Comment #7 from Tam HANNA ---
Forgot to add that changing the cmake command for clazy does not help:
tamhan@TAMHAN14:~/clazyspace/clazy$ cmake -DCMAKE_BUILD_TYPE=Release
-DCLAZY_BUILD_WITH_CLANG=true
Looking for std::regex support...
old-style-conne
https://bugs.kde.org/show_bug.cgi?id=389473
Tam HANNA changed:
What|Removed |Added
CC||tam...@tamoggemon.com
--- Comment #6 from Tam HANNA
https://bugs.kde.org/show_bug.cgi?id=389473
--- Comment #5 from Jeff Trull ---
Perhaps it is a simple matter of testing the libTooling version in CMake, since
the API is unstable (assuming you are expecting a particular LLVM release)...
--
You are receiving this mail because:
You are watching a
https://bugs.kde.org/show_bug.cgi?id=389473
--- Comment #4 from Jeff Trull ---
cmake -DLLVM_ROOT=/home/jet/oss/llvm/build
where /home/jet/oss/llvm is svn head as of a week ago.
On Sunday, January 28, 2018 9:05 AM, Sergio Martins
wrote:
https://bugs.kde.org/show_bug.cgi?id=389473
--- C
https://bugs.kde.org/show_bug.cgi?id=389473
--- Comment #3 from Sergio Martins ---
which cmake configure line ?
--
You are receiving this mail because:
You are watching all bug changes.
https://bugs.kde.org/show_bug.cgi?id=389473
--- Comment #2 from Jeff Trull ---
This is a full source build...
--
You are receiving this mail because:
You are watching all bug changes.
https://bugs.kde.org/show_bug.cgi?id=389473
Sergio Martins changed:
What|Removed |Added
Assignee|unassigned-b...@kde.org |smart...@kde.org
--- Comment #1 from Sergio Ma
39 matches
Mail list logo