[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] mintlib release
Frank Naumann wrote:
1) gets() patch for TOS
Ok, commited.
Thank you !
5) Initial stack problems. There has been some changes about the
"initial stack", without a real comprehension about what exactly
happened... I thing this is very dangerous, and probably the most
important issue in the current MiNTLib...
That's very important. What's the current state of the stack
problematic? E.g. I don't looked closely on the initial problem. It's
better to go back to the previosu stack behaviour (only revert crt0.s or
are other files affected too)?
The biggest issue is that no one really understands what happens :-(
At first, MiKRO experienced crashes (before main ?) when running
programs using nearly all the available TPA memory. So he added a nice
message, and he increased the size of the preliminary stack.
Then Keith experienced problems of corruption of very long command lines
(more than 2Ko) on ar or ld. I seems that the MiNTLib startup code use
more or less the same memory area for the preliminary stack and the
parsing of the command line.
Keith and Alan reverted MiKRO's patch, and everything went OK again.
Memory management is critical, especially in a multitasking
non-protected environment... So it is probably better to do what you
suggest - reverting to the original preliminary stack (while keeping the
nice message ?).
--
Vincent Rivière