Displaying 20 results from an estimated 400 matches similar to: "[LLVMdev] CMake does not propagate flags to build"
2015 Jul 20
3
[LLVMdev] CMake does not propagate flags to build
Hey Pete,
I also tried CMAKE_CXX_FLAGS_RELEASE
with the same effect.
On Mon, Jul 20, 2015, at 09:34 AM, Pete Cooper wrote:
> Hi Adrian
>
> I’m not sure if the CMAKE_CXX_FLAGS is used in LLVM. We have our own
> flags for different configurations. I don’t remember if our ones inherit
> from CMAKE_CXX_FLAGS or override it completely. Anyway, they are:
> - CMAKE_CXX_FLAGS_DEBUG
2015 Jul 20
3
[LLVMdev] CMake does not propagate flags to build
I regularly use '-DCMAKE_CXX_FLAGS' when configuring CLang/LLVM to distinguish my builds (Alpha/Beta/Final) or to build custom versions, usually by adding additional '-D' flags, but I discovered I had to add the ':STRING' qualifier to it when invoking 'cmake'. With 'gmake' this is equivalent to '--with-extra-options="whatever flags":
2015 Jul 20
2
[LLVMdev] CMake does not propagate flags to build
This is just for compiler-rt. The reason for having
-fno-omit-frame-pointer is that tools like
https://perf.wiki.kernel.org/index.php/Main_Page would work on ASAN
binaries.
Adrian
On Mon, Jul 20, 2015, at 02:23 PM, adek at adek.io wrote:
> Hey,
>
> Thanks for ideas. I tried them on, but none of them succeeded.
>
> If I remove this line:
>
2016 Mar 26
2
DW_TAG_member extends beyond the bounds error on Linux
Hi,
While dogfooding our lldb based IDE on Linux, I am seeing a lot of variable
evaluation errors related to DW_TAG_member which prevents us from release
the IDE. Can anyone help to confirm if they are known issues? If not, any
information you need to troubleshoot this issue?
Here is one example:
(lldb) fr v
*error: biggrep_master_server_async 0x10b9a91a: DW_TAG_member '_M_pod_data'
2016 Mar 27
1
DW_TAG_member extends beyond the bounds error on Linux
Thanks David. I meant to send to lldb maillist, but glad to hear response
here.
Our binary is built from gcc:
String dump of section '.comment':
[ 1] GCC: (GNU) 4.9.x-google 20150123 (prerelease)
Is there any similar flags we should use? By doing "strings -a [binary] |
grep -i gcc", I found the following flags being used:
GNU C++ 4.9.x-google 20150123 (prerelease)
2016 Mar 27
0
DW_TAG_member extends beyond the bounds error on Linux
If you're going to use clang built binaries with lldb, you'll want to pass
-fstandalone-debug - this is the default on platforms where lldb is the
primary debugger (Darwin and freebsd)
Not sure if that is the problem you are seeing, but will be a problem
sooner or later
On Mar 26, 2016 4:16 PM, "Jeffrey Tan via llvm-dev" <llvm-dev at lists.llvm.org>
wrote:
> Hi,
>
2018 Apr 03
2
trivial input provokes failed assertion in Parser.h:322
While attempting to reduce a ubsan-specific bug, I stumbled upon the following.
[I would have filed a bug report, but don't have an account, and so
requested one per https://bugs.llvm.org/ about 7 hours ago -- but
still no response, so am sending this instead. ]
Using clang built from latest master of about 5 hours ago:
$ echo struct a typename a | clang -x c++ -
<stdin>:1:19: error:
2018 Apr 03
0
trivial input provokes failed assertion in Parser.h:322
Adding cfe-dev, since this is a clang issue.
From: llvm-dev <llvm-dev-bounces at lists.llvm.org> on behalf of Jim Meyering via llvm-dev <llvm-dev at lists.llvm.org>
Reply-To: Jim Meyering <jim at meyering.net>
Date: Monday, April 2, 2018 at 8:40 PM
To: "llvm-dev at lists.llvm.org" <llvm-dev at lists.llvm.org>
Subject: [llvm-dev] trivial input provokes failed
2016 Mar 27
0
DW_TAG_member extends beyond the bounds error on Linux
On Sat, Mar 26, 2016 at 11:31 PM, Jeffrey Tan <jeffrey.fudan at gmail.com>
wrote:
> Thanks David. I meant to send to lldb maillist, but glad to hear response
> here.
>
> Our binary is built from gcc:
> String dump of section '.comment':
> [ 1] GCC: (GNU) 4.9.x-google 20150123 (prerelease)
>
> Is there any similar flags we should use?
>
If it's
2018 Apr 03
1
[cfe-dev] trivial input provokes failed assertion in Parser.h:322
I believe https://reviews.llvm.org/D44449 <https://reviews.llvm.org/D44449> should fix this issue.
Thanks,
Volodymyr
> On Apr 2, 2018, at 22:51, Shoaib Meenai via cfe-dev <cfe-dev at lists.llvm.org> wrote:
>
> Adding cfe-dev, since this is a clang issue.
>
> From: llvm-dev <llvm-dev-bounces at lists.llvm.org <mailto:llvm-dev-bounces at lists.llvm.org>>
2017 Mar 05
3
Error in Windows build from release_40 branch
Hi,
I'm trying to do a build and install on Windows 10 with Visual Studio
2015 Community Edition for the X86 and ARM targets, from the current
release_40 branch. While compilation completes without error, the
INSTALL target fails with the following error:
54> CMake Error at
projects/compiler-rt/lib/builtins/cmake_install.cmake:34 (file):
54> file INSTALL cannot find
54>
2010 Mar 23
2
Transform data set
Dear R Experts,
I am having some trouble creating a variable in R. I have data on
self-placement of voters, their placement of parties, and which party
they feel closest to. The data is structured like this:
Party_Close lrplaceself lrplaceParty1 lrplaceParty2 ...
party1 2 4 5
party2 5 6 4
party1 6 2 1
etc...
I want to format the data set so it looks like this:
Party_Close
2019 Sep 17
2
Building LLVM with LLVM with no dependence on GCC
Hi folks!
I'm trying to get rid of any dependency on libgcc*, but without success so
far. The following commands were executed on a freshliy installed and updated
Ubuntu 16.04 LTS:
=== snip ===
sudo apt-get install build-essential libffi-dev cmake # see aptget.txt for packages installed
sudo mv /usr/local /usr/local.orig
git clone https://github.com/llvm/llvm-project.git
cd llvm-project; git
2016 Mar 03
3
Building with LLVM_PARALLEL_XXX_JOBS
I had only a quick view on the blog-texts.
It might be that a CLANG generated with LTO/PGO speeds up the build.
Can you confirm this?
Can you confirm binutils-gold speed up the build?
Has LLVM an own linker?
Can be used? Speedup the build?
Yesterday night I loooked through available CMAKE/LLVM variables...
### GOLD
# CMAKE_LINKER:FILEPATH=/usr/bin/ld
#
2016 Feb 25
2
Building with LLVM_PARALLEL_XXX_JOBS
Hi,
I switched from "configure and make" to "cmake" build-system and
wanted to speedup my build.
In my build-script I use...
CMAKE_JOBS="1"
##CMAKE_JOBS=$(($(getconf _NPROCESSORS_ONLN)+1))
JOBS_CMAKE_OPTS="-DLLVM_PARALLEL_COMPILE_JOBS=$CMAKE_JOBS
-DLLVM_PARALLEL_LINK_JOBS=$CMAKE_JOBS"
[1] says in "LLVM-specific variables" section...
***
2016 Dec 19
1
How to create Debian packages for release 3.9.0
Hello,
Le 12/12/2016 à 18:29, Hans Wennborg a écrit :
> +Sylvestre who knows about these things.
>
> On Thu, Dec 8, 2016 at 2:24 AM, Kris van Rens via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
>> L.S.,
>>
>> I'm currently in the process of creating Debian packages for
>> clang/llvm release 3.9.0. For this I'm using the steps as explained on
2019 Sep 20
2
Building LLVM with LLVM with no dependence on GCC
Thus wrote David Demelier via llvm-dev:
> Also you will need to add more options to the components. See for example:
>
> LIBCXX_CXX_ABI=libcxxabi
> LIBCXX_USE_COMPILER_RT=On
> LIBCXXABI_USE_LLVM_UNWINDER=On
> LIBCXXABI_USE_COMPILER_RT=On
> LIBCXX_HAS_GCC_S_LIB=Off
> LIBUNWIND_USE_COMPILER_RT=On
>
> And as mentioned above
>
> CLANG_DEFAULT_CXX_STDLIB=libc++
2018 Dec 07
2
Compiling for baremetal ARMv4 on Ubuntu Linux
Hello,
on the problems cross-building compiler-rt: Tried to follow
https://llvm.org/docs/HowToCrossCompileBuiltinsOnArm.html which lead to
this cmake:
cmake -G "Ninja" ../llvm/projects/compiler-rt/
-DCOMPILER_RT_BUILD_BUILTINS=ON -DCOMPILER_RT_BUILD_SANITIZERS=OFF
-DCOMPILER_RT_BUILD_XRAY=OFF -DCOMPILER_RT_BUILD_LIBFUZZER=OFF
-DCOMPILER_RT_BUILD_PROFILE=OFF
2018 Dec 04
2
Compiling for baremetal ARMv4 on Ubuntu Linux
I am currently trying to compile a pretty simple program to work on an
experimental board. It contains an (FPGA-version of) an ARMv4 processor.
So basically, I try this (on my Ubuntu 18.04.1 LTS):
clang -v --target=arm-none-eabi -c barehello.c -o barehelloCLANG.o
clang -v --target=arm-none-eabi -c io.c -o io.o
clang -v --target=arm-none-eabi barehelloCLANG.o io.o -o
helloCLANGstatic -static
2016 Mar 17
2
Building with LLVM_PARALLEL_XXX_JOBS
On Mon, Mar 14, 2016 at 5:30 PM, Chris Bieneman <cbieneman at apple.com> wrote:
[ brutal-snip ]
...
> [ TODO#S: Before doing a 2nd build (and in a 3rd run using more
> optimized binaries) ]
>
> How do I anable LTO via CMAKE?
>
>
> LLVM_ENALBLE_LTO=On
>
[ v4 of my build-script attached ]
Hi Chris,
thanks for the response!
That seems to work (see below).
$ cd