Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.acorn.programmer > #551
| Date | 2011-07-12 21:15 +0100 |
|---|---|
| From | Matthew Phillips <spam2011m@yahoo.co.uk> |
| Newsgroups | comp.sys.acorn.programmer |
| Subject | Re: Problem with longjmp on A9 |
| Message-ID | <e663ccf151.Matthew@sinenomine.freeserve.co.uk> (permalink) |
| References | <ac6ff5ef51.Matthew@sinenomine.freeserve.co.uk> <a0470ef151.martin@bach.planiverse.com> <5c3080f151.pittdj+@iyonix.home> |
In message <5c3080f151.pittdj+@iyonix.home> on 12 Jul 2011 David Pitt wrote: > In message <a0470ef151.martin@bach.planiverse.com> > Martin Wuerthner <spamtrap@mw-software.com> wrote: > > > In message <ac6ff5ef51.Matthew@sinenomine.freeserve.co.uk> > > Matthew Phillips <spam2011m@yahoo.co.uk> wrote: > > [snip] > > >> I'm not very familiar with the A9: would it be possible (or indeed > >> advisable) > >> to softload a different version of the Shared C Library? > > > Yes, that should be possible. It was not an option in 2006 because > > there was no such version available for public distribution (the > > softload CLib for the Iyonix could not be used), but it should be easy > > enough nowadays to build a suitable CLib from the ROOL sources. > > I tried my luck on the A9home using the 32bit build of the 32bit CLib > 5.56, as supplied in the EndUser directory of the ROOL Tools, the one > in Modules.500 that is. Using a test from Matthew the longjmp then > landed in the right place. Or more to the point, landed with the registers intact. The longjmp was going to the correct place, but with a register corrupted. My test only exercised printf, fopen, fprintf and fclose, so it's not very rigorous as far as detecting whether it is safe to run that version of the Shared C Library on the A9. You'd really need to load it and then run a selection of C-based applications to give it a good test. I don't know anything about how the Shared C Library interacts with the rest of the OS, so I wouldn't like to suggest what things might go wrong if it does prove to be incompatible. It would be very interesting if the fix was as simple as loading this version though. Do please let us know what you find. -- Matthew Phillips Durham
Back to comp.sys.acorn.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread
Problem with longjmp on A9 Matthew Phillips <spam2011m@yahoo.co.uk> - 2011-07-09 07:31 +0100
Re: Problem with longjmp on A9 wpb <willblatchley@yahoo.com> - 2011-07-10 21:20 -0700
Re: Problem with longjmp on A9 David Pitt <pittdj@pittdj.co.uk> - 2011-07-11 07:28 +0100
Re: Problem with longjmp on A9 Martin Wuerthner <spamtrap@mw-software.com> - 2011-07-11 11:39 +0200
Re: Problem with longjmp on A9 David Pitt <pittdj@pittdj.co.uk> - 2011-07-12 07:23 +0100
Re: Problem with longjmp on A9 Matthew Phillips <spam2011m@yahoo.co.uk> - 2011-07-12 21:15 +0100
csiph-web