Displaying 20 results from an estimated 1000 matches similar to: "LLVM cross-compilation cmake issues"
2016 Feb 10
4
Guidance on cross compiling LLVM with mingw-w64 and cmake
I need to build libLLVM (individual static libraries are fine at the
moment) using mingw-w64 cross compilers, i686-w64-mingw32-gcc and
(separately) x86_64-w64-mingw32-gcc. I'd like this to work from both
Linux and Cygwin build environments. With autotools, this worked fine:
../configure --host=i686-w64-mingw32 and that's it (with mingw32-gcc-c++
installed on Fedora 23, also works fine on
2019 Mar 15
2
What's the status of Mach-O TAPI?
Adding Juergen to the thread.
On Fri, Mar 15, 2019, 12:20 PM Shoaib Meenai via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Ping.
>
>
>
> Would anyone be opposed to me trying to revive the in-tree Mach-O TAPI
> code?
>
>
>
> Thanks,
>
> Shoaib
>
>
>
> *From: *Shoaib Meenai <smeenai at fb.com>
> *Date: *Wednesday, March 6, 2019 at
2019 Apr 26
3
Total response file count limited to 21
Actually, sorry, my fix was for the case where you had other arguments beginning with @ that weren't response files, whereas yours has actual response files, so my patch won't help there. CCing Reid and Hans, who did a bunch of the implementation in this area.
From: llvm-dev <llvm-dev-bounces at lists.llvm.org> on behalf of Shoaib Meenai via llvm-dev <llvm-dev at
2019 Mar 07
2
What's the status of Mach-O TAPI?
Hi all,
It looks like Juergen landed the TextAPI libraries for Mach-O in https://reviews.llvm.org/D53945, and also had several follow-ups, but then it was deleted entirely by r347874. I'm not sure if the entire deletion was intentional, since the commit message only mentions reverting a certain series of patches; CC Hans. In any case, I'm wondering if there are plans to revive it, since
2020 Feb 28
7
Contributing LLD for Mach-O
Hi all,
We’re planning to contribute a new implementation of LLD for Mach-O, using the same design as the COFF and ELF ports. This design has proven to work very well for those ports, and we’re keen to explore it for Mach-O as well. Our work is based on an initial prototype created by Peter Collingbourne and Rui Ueyama.
Our initial commit is up for review at https://reviews.llvm.org/D75382.
2019 Feb 13
2
Accidental new top-level monorepo directory
https://reviews.llvm.org/rL353906 introduced (presumably accidentally) the "b" top-level directory to the monorepo. The files should be moved to their proper location, but I'm also wondering if there's any way to prevent accidental top-level additions like this.
Thanks,
Shoaib
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2020 Sep 30
5
[Release-testers] [11.0.0 Release] Release Candidate 5 is here
I’m happy to run them, although I’d appreciate a pointer to the appropriate documentation.
From: llvm-dev <llvm-dev-bounces at lists.llvm.org> on behalf of Tobias Hieta via llvm-dev <llvm-dev at lists.llvm.org>
Reply-To: Tobias Hieta <tobias at plexapp.com>
Date: Wednesday, September 30, 2020 at 11:15 AM
To: Hans Wennborg <hans at chromium.org>
Cc: llvm-dev <llvm-dev at
2017 Dec 01
2
CMake executable dependency woes
I discovered that I can hack around my particular problem by placing
set_property(TARGET clang PROPERTY INTERFACE_LINK_LIBRARIES)
at the end of tools/driver/CMakeLists.txt. I'd prefer to fix this properly though,
of course.
On 12/1/17, 4:18 PM, "llvm-dev on behalf of Shoaib Meenai via llvm-dev" <llvm-dev-bounces at lists.llvm.org on behalf of llvm-dev at lists.llvm.org>
2020 May 26
2
Emitting aligned nlist_64 structures for Mach-O in MC
I looked into this further. ld64 has a macho_nlist abstraction over the various underlying nlist structures [1]. On x86-64, the P::getP referenced in n_value will resolve to [2], which in turn goes to [3], which calls OSReadLittleInt64. On a little endian machine, OSReadLittleEndian just calls _OSReadInt64 [4], which in turn does a pointer arithmetic and cast and then dereferences the pointer [5].
2019 Dec 05
2
GC for defsym'd symbols in LLD
I have made some further investigation. My conclusion is that GNU ld does
not do better than lld. Making the --defsym behavior ideal is difficult in
the current framework.
GNU ld has some unintended behaviors.
ld.bfd a.o --defsym 'd=foo' --gc-sections -o a => GNU ld retains .text_foo
ld.bfd a.o --defsym 'd=foo+3' --gc-sections -o a => GNU ld drops .text_foo
ld.bfd a.o
2019 Mar 20
3
Building lld
Judging by this path:
needed by 'tools/lld/Common/VCSVersion.inc'
It looks to me like this is **not** a monorepo layout (if it were, lld
would not appear in the tools directory). Therefore the
LLVM_ENABLE_PROJECTS=lld is not even doing anything.
I don't know how to build without a monorepo these days, and I also don't
know what the most recent guidance setting up a monorepo is,
2019 May 03
3
Llvm-mca library.
Hi Sjoerd,
On Fri, May 3, 2019 at 8:19 AM Sjoerd Meijer via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
>
> I read that out-of-order cores are supported. How about in-order cores?
> Would it be easy/difficult to add support for that?
>
>
Cheers,
> Sjoerd.
>
>
I don't think that it would be difficult to support in-order superscalar
cores.
However, it would
2017 Nov 22
2
Combining install-distribution with binary stripping
Hi all,
I want to use the LLVM_DISTRIBUTION_COMPONENTS support to create an installed
toolchain image (via the install-distribution target). I'd also like the
installed binaries to be stripped.
If you're invoking a cmake install script directly, you can pass
-DCMAKE_INSTALL_DO_STRIP=1 to cmake to request stripping. The install-*
targets set up by LLVM's build system don't seem to
2019 Apr 26
2
Total response file count limited to 21
Hi,
I recently hit this on a project using a build system that relies heavily
on nested response files. We found we could only have 21 response files total
before getting errors related to the unexpanded response files. I tracked
it down to this code in llvm/lib/Support/CommandLine.cpp
// If we have too many response files, leave some unexpanded. This
avoids
// crashing on
2020 Sep 17
3
llvm cross compilation issue
I am trying to compile llvm using a toolchain file where I have
specified the target system and compilers as suggested at
https://cmake.org/cmake/help/latest/manual/cmake-toolchains.7.html#cross-compilation-tool
chain:
set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR arm)
set(CMAKE_C_COMPILER arm-unknown-linux-gnueabi-gcc)
set(CMAKE_CXX_COMPILER arm-unknown-linux-gnueabi-g++)
But the
2020 Feb 29
2
Contributing LLD for Mach-O
On 2020-02-28, James Y Knight via llvm-dev wrote:
>Nice!
>
>Your plan sounds great, and it'll be awesome to finally have a good MachO
>LLD available.
>
>On Fri, Feb 28, 2020 at 4:32 PM Shoaib Meenai via llvm-dev <
>llvm-dev at lists.llvm.org> wrote:
>
>> Hi all,
>>
>> We’re planning to contribute a new implementation of LLD for Mach-O, using
2017 Oct 24
2
llvm-rc option parsing
Hi all (CC llvm-rc contributors),
I've been attempting to cross-compile LLVM for Windows using clang-cl. LLVM's
build system embeds resource files for MSVC builds, so I was hoping to use
llvm-rc for that portion.
cmake invokes the resource compiler with arguments joined to their options
(e.g. `/D_WIN32`, `/fofoo.res`, etc.), which rc.exe supports, but llvm-rc
expects arguments to be
2020 Jan 16
2
Merge script for Git monorepo?
On 01/15/2020 05:03 PM, Reid Kleckner via llvm-dev wrote:
> Tom Stellard told me to use `git cherry-pick -x`, and if you look at the release branches, you can see it is used, although the old style is used as well. I'm not sure what script is being used there.
>
I recommend updating the merge.sh script to use `git cherry-pick -x`
and then deleting the merge-git.sh script.
-Tom
>
2020 May 18
2
Understanding LLD's SymbolTable's use of CachedHashStringRef
I was looking at the SymbolTable code in LLD COFF and ELF recently, and I’m confused by the use of CachedHashStringRef.
From what I understand, a CachedHashStringRef combines a StringRef with a computed hash. There’s no caching going on in the CachedHashStringRef itself; that is, if you construct CachedHashStringRef("foo"), and then construct a second
2020 Jan 16
2
Merge script for Git monorepo?
Now that we’re on the Git monorepo, is there an updated script for cherry-picking commits into the release branch? llvm/utils/release/merge.sh appears to still use SVN, and llvm/utils/release/merge-git.sh uses git-svn.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200116/5c791bd2/attachment.html>