Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: make crashing with SIGABRT error

25 views
Skip to first unread message

Eli Zaretskii (eliz@gnu.org) [via djgpp@delorie.com]

unread,
Jun 5, 2022, 11:20:06 AM6/5/22
to dj...@delorie.com
> From: "Patryk Matusiak (waterm...@outlook.com) [via dj...@delorie.com]" <dj...@delorie.com>
> Date: Sun, 5 Jun 2022 15:12:45 +0000
>
> 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)

If that's the DJGPP port of GNU Make, then it is quite possible that
you see incompatibilities between DJGGP and Watcom.

Why are you using DJGPP Make to build a Watcom library? doesn't Watcom
come with its own Make? Alternatively, why not use the DJGPP compiler
to build Allegro?

Eli Zaretskii (eliz@gnu.org) [via djgpp@delorie.com]

unread,
Jun 5, 2022, 11:27:02 AM6/5/22
to dj...@delorie.com
> From: "Patryk Matusiak (waterm...@outlook.com) [via dj...@delorie.com]" <dj...@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?

Eli Zaretskii (eliz@gnu.org) [via djgpp@delorie.com]

unread,
Jun 5, 2022, 11:43:42 AM6/5/22
to dj...@delorie.com
> From: "Patryk Matusiak (waterm...@outlook.com) [via dj...@delorie.com]" <dj...@delorie.com>
> Date: Sun, 5 Jun 2022 15:30:33 +0000
>
>
> I'm building with DJGPP GCC
> Make is version 4.3 and gcc is 9.3.0

FWIW, I build with GCC 3.4 and Make 4.1, but I don't build Allegro.

Juan Manuel Guerrero (juan.guerrero@gmx.de) [via djgpp@delorie.com]

unread,
Jun 7, 2022, 5:57:23 PM6/7/22
to dj...@delorie.com
Am Sun, 5 Jun 2022 15:12:45 +0000
schrieb "Patryk Matusiak (waterm...@outlook.com) [via
dj...@delorie.com]" <dj...@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

0 new messages