Mail Archives: djgpp-workers/1999/06/24/05:01:27
On Wed, 23 Jun 1999, Charles Sandmann wrote:
> We have a new malloc since the previous version - I would double check
> it for signed/unsigned address clean and/or replace it with the old version.
Thanks, I will try to look into this.
At least judging by the traceback that was produced by the latest port
of EGCS, it was built with the new malloc, but the problem is still
there. It is possible, however unlikely, that both the new and the
old malloc share some common bug wrt signed and unsigned, but it seems
more likely that the problem, if it's in the library, is in some other
place.
Another reason might be specific to GCC. Since the crashes happen
inside obstack, it might be a good idea to see whether obstack code
assumes that the addresses it gets from malloc are contiguous and/or
consistently increasing. If it does, then using the Unixy sbrk is
*the* solution.
Perhaps asking the EGCS maintainers about that would yield some useful
ideas.
- Raw text -