search for: libobjc2

Displaying 7 results from an estimated 7 matches for "libobjc2".

Did you mean: libobjc
2016 Sep 26
4
objc object file generated for gnustep runtime for ELF target is too big
Dear community, I'm using gnustep runtime -fobjc-runtime=gnustep with gnustep-libobjc2 (https://github.com/gnustep/libobjc2) and Cocotron/Chameleon. For following source file #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> int main(void) {         NSString *str = [NSString stringWithCString:"TEST"];    ...
2015 Apr 21
2
[LLVMdev] question about alignment of structures on the stack (arm 32)
...#39;s odd ). Sorry I didn't clearly described my environment. I'm using MachO loader (https://github.com/LubosD/darling/). I'm trying to make it work on ARM. The scenario is to load MachO binary (e.g. compiled in xCode) that binary is invoking function from ELF library which implements libobjc2 and CoreFoundation.  in MachO on the ARM stack is 4-bytes aligned. Code produced for ELF expects 8-bytes alignment. So in 50% cases when call made from MachO to ELF stack pointer register contains not a 8-bytes aligned address. Even in case of trivial call NSLog(@"Test string") from Mach...
2014 Mar 17
2
[LLVMdev] Treatment of TType encoding in EHT entries
Hi, I ran into a crash using Objective-C with llvm/clang on ARM-Linux. The crash happens while unwinding the stack from pthread_exit as soon as the first call frame is reached that belongs to a function that uses the personality routine from libobjc2. This function is in a shared library (libgnustepbase), and here's the start of its entry in the execption table: GCC_except_table20: .Lexception20: .byte 255 @ @LPStart Encoding = omit .byte 0 @ @TType Encoding = absptr...
2015 Sep 29
2
Building clang in llvm-3.7 on Linux with RT support enabled
> Unfortunately you’ll need to either modify the LLVM build system to build it, or you’ll need to build it yourself by hand. We don’t currently support building the blocks runtime. Thanks! I'm working on a modified build now. Out of curiosity: is cmake still the preferred way to build on Linux? You mentioned that the doc is out-of-date, so I thought perhaps there might be a newer way to
2015 Apr 20
2
[LLVMdev] question about alignment of structures on the stack (arm 32)
Dear community, I faced with code which was generated by llvm, assembly instructions of that code is relying on 8-bytes alignment for structures on the stack. The part of Objective C code is following: -(void)getCharacters:(unichar *)unicode {     NSRange range;     range.location = 0;     range.length = [self length];     printf("%p, %p\n", &range.location, &range.length); And
2015 Apr 23
2
[LLVMdev] question about alignment of structures on the stack (arm 32)
...om > CC: llvmdev at cs.uiuc.edu > >> I'm using MachO loader (https://github.com/LubosD/darling/). I'm trying to make it work on ARM. >> The scenario is to load MachO binary (e.g. compiled in xCode) that binary is invoking function from >> ELF library which implements libobjc2 and CoreFoundation. >> >> in MachO on the ARM stack is 4-bytes aligned. Code produced for ELF expects 8-bytes alignment. >> So in 50% cases when call made from MachO to ELF stack pointer register contains not a 8-bytes aligned address. > > Ah, that could do it. I see that LL...
2017 Jun 30
3
Building llvm with clang and lld on arm and the llvm arm backend relocation on position independent code
At a guess that looks like your llvm and lld checkouts are not quite in synch. It will be worth updating llvm and lld to top of trunk. I've rebased the consolidated patch https://reviews.llvm.org/D34634 this morning, it might be worth trying that if you are seeing problems. Peter On 29 June 2017 at 22:09, Alessandro Pistocchi <apukfreelance at gmail.com> wrote: > Hi, I tried