Displaying 20 results from an estimated 100 matches similar to: "Further problems with rubyt2 on MacOS X (intel)"
2013 Mar 21
0
[LLVMdev] (Not) instrumenting global string literals that end up in .cstrings on Mac
Alexander,
On Darwin the "__cstring" section (really section with type S_CSTRING_LITERAL) is defined to contain zero terminate strings of bytes that the linker can merge and re-order. If you want pad bytes before and after the string, you need to put the strings in a different section (e.g. __TEXT, __const).
But, CF/NSString literals will be problematic. The compiler emits a static
2009 Nov 20
1
R 2.10 'memory leak'? on OS X
Dear R users,
I am running R 2.10.0 on OS X 10.5.8.
I had been running 2.10 successfully for about a week (and have used
previous R versions for 2+ years on the same computer) until 2 days ago it
failed to start up for me. Now when I try to start R, the application tries
to initiate for several minutes then crashes. Looking at the activity
monitor, my memory usage goes from having about 1.6Gb
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"];
2009 Nov 26
1
compiling on snow leopard: Cocoa errors?!?!?!
Dear R-gurus,
I'm trying to compile R on my new mac. It's snow leopard. So far I've seemed to be doing pretty well. I've looked at
http://cran.r-project.org/bin/macosx/tools/
http://r.research.att.com/exp/
http://r.research.att.com/building.html
http://r.research.att.com/tools/
All of which have been very helpful. Looking at the threads I've got around some X11 issues
2009 Nov 20
2
R 2.10 memory leak on OS X
Dear R users,
I am running R 2.10.0 on OS X 10.5.8.
I had been running 2.10 successfully for about a week (and have used
previous R versions for 2+ years on the same computer) until 2 days ago it
failed to start up for me. Now when I try to start R, the application tries
to initiate for several minutes then crashes. Looking at the activity
monitor, my memory usage goes from having about 1.6Gb
2007 Jan 23
2
[LLVMdev] Semi-random crashes seemingly related to Arguments
I've been having somewhat semi-random crashes that seem to be related
to my use of Argument objects, usually when I then try to use them for
processing, for examples in a CallInst.
Do I need to copy or wrap the Argument if I want to use it as a
Value? Or can I just use the reference that I am getting (multiple
times)? I think there is probably something very fundamental about
the
2013 Jul 22
0
[LLVMdev] Libclang get class name from DeclRefExpr
Hi guys,
I am trying to extract the class name of a parameter to a method call
in objective-C. The code I am parsing is:
- (void)testAddConcreteDataModel:(DFDemoDataModelOne*)helpmeh {
[self.dataModels addObject:helpmeh];
}
And the result I need is the type of class of helpmeh, which is
"DFDemoDataModelOne".
So far I have the following code, which outputs:
2012 Oct 02
1
[LLVMdev] Error prone default memory capturing convention of blocks.
Hi guys,
I've been using blocks for a while and found that current behavior is error prone. So I am going to propose to you the better one.
Motivation:
1) The __weak variables in blocks are very common pattern. So having any implicit default behavior makes thing worse.
2) Some stupid mistakes like:
__weak typeof (self) theSelf = self;
...^ {
theSelf.blabla = ..
....
[self blabla];
2011 Apr 21
1
[LLVMdev] A problem from XCode 4 - help sought tracking it down
Sorry if this isn't the right place; but I'm facing an XCode 4 (LLVM 2.0
to Apple, I heard it's LLVM 2.9 under the hood) issue that may involve
LLVM, and maybe some people on this list could help me short-circuit the
source.
I have a code pattern that, when used in XCode 4 in Objective C++ files,
causes the whole IDE to go crash. It is a stripped sample to highlight
the issue.
In
2007 Jan 23
0
[LLVMdev] Semi-random crashes seemingly related to Arguments
On Mon, 22 Jan 2007, Marcel Weiher wrote:
> I've been having somewhat semi-random crashes that seem to be related
> to my use of Argument objects, usually when I then try to use them for
> processing, for examples in a CallInst.
Your code looks pretty reasonable to me. The only thing to be aware of is
that varargs functions will have fewer Argument nodes than calls to the
2007 Jan 22
2
[LLVMdev] addPassesToEmit(Whole)File changes?
Hi folks,
just installed the new llvm 1.9 build and noticed that my code no
longer worked. It seems something has changed with
addPassesToEmitFile(). First, the arguments to that method changed so
that it no longer takes a PassManager, but only a
FunctionPassManager. Instead there is a addPassesToEmitWholeFile()
method, but that is marked as optional, and when I change my code to
2013 Mar 21
2
[LLVMdev] (Not) instrumenting global string literals that end up in .cstrings on Mac
(forgot to CC llvmdev)
On Thu, Mar 21, 2013 at 5:54 PM, Alexander Potapenko <glider at google.com> wrote:
> Hey Anna, Nick, Ted,
>
> We've the following problem with string literals under ASan on Mac.
> Some global string constants end up being put into the .cstring
> section, for which the following rules apply:
> - the strings can't contain zeroes in their
2007 Jan 16
3
Help upgrading to 1.1.3 (MD5 sum issues, album art corrupts files)
Hello all,
I recently upgraded the libFLAC used in my application Max (http://
sbooth.org/Max/) to 1.1.3 and added preliminary support for album
art. During the upgrade I evidently made some coding mistakes with
interesting results. I've combed everything over and can't quite see
the problems. I've become somewhat frustrated because my code didn't
really change
2013 May 08
1
[LLVMdev] [lld] contentHash in the Reader ?
On 5/8/2013 2:45 PM, Nick Kledzik wrote:
>
> I'd rather we use a crypto hash so we don't have to compare content at all.
> The crypto hashes work well if the atom content is const data (e.g. c-string or other literals), since you just point the hash function at the range of bytes in the constant data. Where it gets messier is if you are trying to coalesce non-leaf functions or
2014 Sep 30
4
[LLVMdev] Barking Up The Wrong Tree?
Hi Reid,
Thanks for the reply. Comments inline below.
Regards,
Eric
On 9/29/14, 5:51 PM, Reid Kleckner wrote:
> I think any port will involve some changes, but it's really hard to
> say which porting approach will be the least painless beforehand.
> Aside from _MSC_VER incompatibilities messing up portability headers,
> I think any changes you make to support clang on Windows
2006 Sep 27
11
Installation success, execution failed
Hello, after I wasn''t able to install wxruby via gem (404) I
downloaded the file from rubyforge and installed it on my intel mac.
No failure the so I tried to start the minimal.rb with ruby -r/r?/
ubegems <path>...
This didn''t work so I tried to do it in irb but the same error occured:
irb(main):001:0> require ''rubygems''
=> true
2007 Jan 22
0
[LLVMdev] addPassesToEmit(Whole)File changes?
Hi folks,
just installed the new llvm 1.9 build and noticed that my code no
longer worked. It seems something has changed with
addPassesToEmitFile(). First, the arguments to that method changed so
that it no longer takes a PassManager, but only a
FunctionPassManager. Instead there is a addPassesToEmitWholeFile()
method, but that is marked as optional, and when I change my code to
2004 Nov 18
0
R bug ?? (PR#7378)
--Apple-Mail-1-74005136
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=SHIFT_JIS;
format=flowed
Sometime, R generates following warning message.
To restore, I must press command+.
> edit(tolerance)
2004-11-18 11:07:27.003 R[420] *** NSTimer discarding exception=20
'NSInvalidArgumentException' (reason '*** -[NSTextView=20
2005 Dec 16
1
AppleScript commands don't execute until mouse over console window (PR#8405)
Full_Name: Jonathan Paisley
Version: 2.2.0
OS: Mac OS X 10.4.3
Submission from: (NULL) (81.178.69.159)
I am sending commands to R via AppleScript (specifically, from SubEthaEdit to
instruct it to source the file I'm currently editing). R doesn't respond tothe
AppleScript until I move the mouse over R's console window.
The following patch to the Mac GUI (against current svn trunk)
2011 Jun 20
0
[LLVMdev] C struct as function argument
Hello Michael,
> The module dump suggests everything is right, i can see in the function call the struct with the values 10 and 25, but the function is only received the 10 for the x field, nothing for the y field. Am I missing something?
You're missing the Platform ABI. I assume you're on x86-64, then your
struct (according to the ABI) should be passed in a single 64 bit
register as