Re: programs crash when run through rosetta
Re: programs crash when run through rosetta
- Subject: Re: programs crash when run through rosetta
- From: Joe Miller <email@hidden>
- Date: Sat, 30 Dec 2006 17:23:01 -0800 (PST)
Hi all,
Thanks for the quick and many responses.
I did try debugging the problem through gdb (following
the debugging techniques posted at the apple website),
and found that it was indeed crashing on the first STL
statement executed from a dynamic library. The crash
log didn't help much as far as I could discern. The
original crash was at a gettimeofday_wrapper symbol.
However, I couldn't locate the function in any of my
code (though admitted I just realized I didn't look at
the symbol tables in any of the dynamic libraries).
Other crashes happened at no-name addresses.
I figured the exception handling was a far fetched
idea, but I haven't explored the xerces code too much
to see all it's ins and outs and wanted to throw out
the idea to see if the symptoms matched.
I also realize my original email didn't contain to
many specifics and for that I do apologize. I didn't
want to scare folks away with a huge email. I have a
lot of my investigation at work, including a very
short program, gdb logs, crash logs, etc. I'll include
important sections of these in a posting as soon as I
get back to work on wednesday, for those still
interested in this problem.
I really appreciate all the help and advice.
Thanks.
-joe
--- Eric Albert <email@hidden> wrote:
> On Dec 29, 2006, at 1:01 PM, Shawn Erickson wrote:
>
> > On Dec 29, 2006, at 12:44 PM, Joe Miller wrote:
> >
> >> Hi All,
> >>
> >> I'm not a exactly sure where a good place to post
> this
> >> problem is, but I need to start somewhere. As you
> read
> >> the problem below if you know of more appropriate
> >> places to seek advice please let me know.
> >>
> >> Here's my issue. I'm trying to port a system of
> >> programs to work on the intel mac, unfortunately
> a
> >> number of them are crashing.
> > ...
> >> I built the program on OSX 10.2.8 using
> >> g++ 3.1.
> > ...
> >> I found that I do NOT have a problem using g++
> 4.0
> >> on OSX 10.4. But for now I've been tasked to
> getting
> >> this working with the earlier version.
> >
> > Apple only supports building for Intel Macs using
> gcc 4.0.
>
> That's for Intel binaries. PowerPC binaries running
> in Rosetta can
> be built with any version of gcc or CodeWarrior
> which can build
> binaries for Mac OS X.
>
> Joe, I'd expect this to work. If it doesn't work,
> I'd suggest
> debugging it using the instructions from the Rosetta
> appendix of the
> Universal Binary Programming Guidelines, which you
> can find on
> developer.apple.com.
>
> -Eric
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden