Displaying 20 results from an estimated 20000 matches similar to: "LLD status update and performance chart"
2012 Sep 27
1
[LLVMdev] CLang/LLVM SVN for today no longer works on OS X 10.7.4
Here you go:
http://www.cornwarning.com/xfer/jccolor.o (from the jpeg library...)
jccolor.o:
Mach header
magic cputype cpusubtype caps filetype ncmds sizeofcmds flags
MH_MAGIC_64 X86_64 ALL 0x00 OBJECT 4 432
SUBSECTIONS_VIA_SYMBOLS
Load command 0
cmd LC_SEGMENT_64
cmdsize 312
segname
vmaddr 0x0000000000000000
vmsize 0x0000000000000900
2012 Sep 26
0
[LLVMdev] CLang/LLVM SVN for today no longer works on OS X 10.7.4
Hi Kent,
My guess is you are getting some new bit of info in your object files and your ranlib(1) is older and doesn't know about it. If you can send me the .o file or the output of otool(1) with the -hlv options on your object file I can take a look.
Kev
P.S. you can find out the version of ranlib(1) you have by running strings(1) on it and grep(1)'ing for the string
2012 Sep 26
3
[LLVMdev] CLang/LLVM SVN for today no longer works on OS X 10.7.4
Ran into this today -- rebuilt the SVN Trunk for this morning of
LLVM+CLANG. Now every time my builds try and make a library from .o
files, ranlib complains about 'malformed object' files.
This is with OS X 10.7.4, and the binary tools from XCode 4.4.1
ld -v
@(#)PROGRAM:ld PROJECT:ld64-127.2
llvm version 3.0svn, from Apple Clang 3.0 (build 211.12)
ranlib doesn't tell you what
2017 Jun 06
2
LLD support for ld64 mach-o linker synthesised symbols
Hi Rui,
The motivation would be primarily that LLVM/Clang/LLD are community projects such that if I or someone in the community added support for e.g. symbol aliases, then it could be reviewed and potentially merged. ld64 on the other hand does not have a community process for patch submission and code review that I am aware of so its unlikely that if someone from the community came up with a
2010 Apr 29
3
[LLVMdev] Mach-O LTO and local relocations
I am wondering how the following issue was handled for
libLTO? We have a working patch to implement the FSF gcc
LTO on darwin which now passes all of the liblto testsuite
but are seeing linker issues with larger programs like
aermod...
as -arch x86_64 -force_cpusubtype_ALL -o aermod.o aermod.s
/usr/bin/ld -dynamic -arch x86_64 -macosx_version_min 10.6.3 -weak_reference_mismatches
2014 Dec 03
3
[LLVMdev] Making llvm-objdump more like GNU objdump
OK. Let's try a specific example: At least for ELF files, GNU
objdump prints operand values in hex. AFAIK, hex is not just the
default, but the only choice. On the other hand, llvm-objdump prints
operand values in decimal and ignores the --print-imm-hex option for
ELF.
How about a patch to print operands in hex for ELF? Good place to start?
On Mon, Dec 1, 2014 at 5:49 PM, Kevin Enderby
2017 Jun 06
4
LLD support for ld64 mach-o linker synthesised symbols
Hi Folks,
I have a question regarding LLD support for ld64 mach-o linker synthesised symbols. I did a quick search of the LLD source and I can not find support for them so before I start trying to use lld I thought I would ask.
I have found a couple of cases where they are essential. i.e. where there is no other way to get the required information, such as getting the address of the mach-o
2010 Apr 30
1
[LLVMdev] Mach-O LTO and local relocations
Nick,
Steven believes that aermod certainly could have more than 255 sections. Is there
a particular approach that would be recommended for working around such a problem?
Short of reducing the actual number of sections?
It is suggested that this is why -ffunction-sections doesn't work on darwin
and that one possible solution is to embed an 'ar' format section in the .gnu.lto
2017 Jun 07
3
LLD support for ld64 mach-o linker synthesised symbols
On Tue, Jun 6, 2017 at 11:14 PM, Michael Clark via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> OK. I see that the Mach-O linker is not even built when LLD is enabled in
> Release_40, only the PE/COFF and ELF linkers are built.
>
> From looking at reviews it appears that Clang was able to be linked with
> LLD on Darwin about 2 years ago, so Mach-O support seems to have
2018 Jun 04
4
Mach-O support in lld: what are the known issues?
Hello all,
I'm trying to better understand the state of Mach-O support in lld.
The lld docs state that "the linker supports ELF (Unix), PE/COFF (Windows),
Mach-O (macOS) and WebAssembly in descending order of completeness." [1]
True to that statement, I found an email on this list from Jan 2018 stating
that "MachO support in lld is not really ready for real world usage. It was
2012 Jan 14
3
[LLVMdev] Off Topic: Building ld
Thanks for your response, that's kinda what I've gathered over the years. I was hoping that the Xcode project would have "just worked".
I'll keep piece-mealing it together, and hope that it works.
I'll try to post a radar.
Joe
Joe Abbey
Director of S/W Development
Arxan Technologies, Inc.
1305 Cumberland Ave, Ste 215
West Lafayette, IN 47906
W: 765-889-4756 x2
C:
2018 Jun 05
2
Mach-O support in lld: what are the known issues?
I'd be interested in the existence of a high-quality, open-source, portable
linker for apple platforms, but not enough to help make that happen.
If I _was_ gonna work on something related to that, I'd probably be
inclined to instead add any required features to allow an ELF linker to
target a notional darwin-elf target, and to have clang emit darwin-elf
object files, and then write a
2016 Dec 14
2
LLD status update and performance chart
On Tue, Dec 13, 2016 at 10:59 PM, Sean Silva via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
>
> Yes. Rui has bent over backwards every time a real user has come to us and
> said "we need X". The historical precedent here is that LLD is open to many
> kinds of changes, but not on theoretical grounds.
>
> Admittedly this leads to a somewhat conservative design
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
2018 Jan 08
0
Fwd: LLD (macOS) usage?
I believe what's happening here is that clang translates the -fuse-ld=lld into calling the ld.lld executable, which is actually the ELF LLD linker, not the Mach-O one. On 6.0, the Mach-O linker symlink is called ld64.lld instead (and clang has been changed to call out to that name) to disambiguate the two. For 5.0, I'm not sure how best to force the Mach-O linker (I'm not familiar with
2010 Apr 30
0
[LLVMdev] Mach-O LTO and local relocations
This is probably a problem with having too many sections. There are a few places where mach-o has a limit on the number of sections. For instance the n_sect field of the nlist record is one byte. So any symbol in a section past the 255th section wraps around and shows up with the wrong n_sect number.
-Nick
On Apr 29, 2010, at 6:19 AM, Jack Howarth wrote:
> I am wondering how the
2014 Aug 06
4
[LLVMdev] Looking for ideas on how to make llvm-objdump handle both arm and thumb disassembly from the same object file
Hello Tim, Rafael, Renato and llvmdev,
I’m working to get llvm-objdump handle both arm and thumb disassembly from the same object file similarly to how darwin’s otool(1) works. And I’m looking for implementing direction. I spoke to Jim Grosbach about some ideas and he suggested I send out and email about some of the possibilities. Since none of the ones I could think of are pretty he thought
2014 Dec 02
2
[LLVMdev] Making llvm-objdump more like GNU objdump
At least for now, I don’t expect it to become all that unwieldy. Any behavioral differences should be easily separable into different classes and source files. If as things progress it becomes obvious that there’s really not much of anything in common other than the general nature of the tools, it’s easy to split them apart.
-Jim
> On Dec 1, 2014, at 5:20 PM, Steve King <steve at
2017 Sep 07
2
[ThinLTO] static library failure with object files with the same name
Hi Johan,
ld64 only calls functions from llvm/include/llvm-c/lto.h (defined
in llvm/tools/lto/lto.cpp)
For instance ThinLTOCodeGenerator::addModule is called
through thinlto_codegen_add_module().
Apple hasn't released the code for ld64 in Xcode 9 yet, did you check if it
is fixed in Xcode 9?
(I think I remember fixing it in ld64 but I'm not totally sure...).
>From what I can see
2017 Sep 06
3
[ThinLTO] static library failure with object files with the same name
On Wed, Sep 6, 2017 at 1:10 PM, Johan Engelen via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> On Tue, Sep 5, 2017 at 11:34 PM, Davide Italiano <dccitaliano at gmail.com>
> wrote:
>>
>> On Tue, Sep 5, 2017 at 2:09 PM, Teresa Johnson <tejohnson at google.com>
>> wrote:
>> >
>> > Hi Johan,
>> >
>> > Right, per the bug