• Re: make crashing with SIGABRT error

    From [via djgpp@delorie.com]" @21:1/5 to All on Sun Jun 5 18:26:39 2022
    From: "Patryk Matusiak (watermelonpl@outlook.com) [via djgpp@delorie.com]" <djgpp@delorie.com>
    Date: Sun, 5 Jun 2022 15:23:08 +0000

    That's what allegro building manual told to do (build with DJGPP)
    And yes, make, GCC all comes from DJGPP

    So you are building with DJGPP GCC, not with Watcom? Or what am I
    missing?

    And which versions of Make and GCC?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From [via djgpp@delorie.com]" @21:1/5 to All on Tue Jun 7 23:57:03 2022
    Am Sun, 5 Jun 2022 15:12:45 +0000
    schrieb "Patryk Matusiak (watermelonpl@outlook.com) [via
    djgpp@delorie.com]" <djgpp@delorie.com>:

    How to fix make crashing with SIGABRT error on every platform I try
    to build something on? (Now, I'm trying on Windows XP Professional
    SP3 x86 and trying to build allegro lib to use with Watcom C)

    [snip]

    The size of the stack trace seems to indicate that make is in a
    deep recursive call of functions. Unter certain conditions still
    unclear to me, this may lead to a punctual corruption of certain
    tables used by the nmalloc system because local variables that
    should be stored on stack are placed in the nmalloc tables. Later
    if a realloc() or a free() is issued, this table corruption is
    detected by the nmalloc system rising the SIGABRT. I do not have
    neither the time nor the knowledge to fix this issue, so I have
    decided to replace the make port by a new one that uses the old
    malloc system used in djdev203.
    If you are still interested, you can download it as:
    http://ftp.delorie.com/pub/djgpp/current/v2gnu/mak43br2.zip
    and give it a try to see if this does really solve the issue.

    I have compiled Allegro 4.2.2 in 2007-09-08 and uploaded the produced
    zip files to ftp.delorie.com. I do not remember what version of the
    DJGPP toolchain I have used in those days, but as far as I remember
    Allegro 4.2.2 was the last version with DOS/DJGPP support at all.
    If a current version can be compiler with DJGPP or Watcom C is unclear
    to me. I assume that a major porting effort will be required.

    Regards,
    Juan M. Guerrero

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)