Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

DJGPP query... (Developers)

posted by glennmcc Homepage E-mail, North Jackson, Ohio (USA), 13.10.2021, 21:47

> > I don't wonder about header/libs mess thats sooo typical to build
> anything
> > larger...
> >
> > But I also remember one mission critical thing to sucessfully compile
> > FFMPEG: I need to manually increase transfer buffer size for some DJGPP
> > compiler components: make.exe, ar.exe a rm.exe
> > stubedit.exe program.exe bufsize=xxk
> >
> > E:\DJGPP\BIN>STUBEDIT.EXE -v AR.EXE
> > -value- -field description-
> > 0x80000 (512k) Minimum amount of stack space (bytes/K/M)
> > 0x8000 (32k) Size of real-memory transfer buffer (bytes/K/M)
> > "" Base name of file to actually run (max 8 chars,
> ""=self)
> > "" Value to pass as file component of argv[0] (max 16
> chars,
> > ""=default)
> >
> > And also other binutils had issues with max relocations
> >
> > https://groups.google.com/g/comp.os.msdos.djgpp/c/LRjb_i-Cb_w
> >
> > No, life's not easy I don't wonder that anyone else don't compile
> mplayer
> > for DOS...
>
> Buffer is now 32K
>
> Still crashes :(
>
> Should the stack space also be increased ?
>
>
> COMSPEC=C:\COMMAND.COM
> OS=OPENDOS
> VER=7
> ARA=ON
> TZ=+0400
> PATH=H:\DJGPP\BIN;H:\DJGPP\BIN-OLD;C:\UXUTL;C:\;C:\OPENDOS
> PROMPT=$d $b $t$_[OPENDOS 7.01] $P$G
> TEMP=C:\TEMP
> OPENDOSCFG=C:\OPENDOS
> DJGPP=h:\djgpp\djgpp.env
>
> (GO32.EXE v1 is in BIN-OLD)
>
> stub.exe -v \djgpp\bin\make.exe
> -value- -field description-
> 0x80000 (512k) Minimum amount of stack space (bytes/K/M)
> 0x8000 (32k) Size of real-memory transfer buffer (bytes/K/M)
> "" Base name of file to actually run (max 8 chars, ""=self)
> "" Value to pass as file component of argv[0] (max 16 chars,
> ""=default)
> CWSDPMI.EXE Program to load to provide DPMI services (if needed)
>
> H:\DJGPP\BUILD\MPLAYER\MPLAYER>make
> Exiting due to signal SIGSEGV
> Page fault at eip=0002b22e, error=0004
> eax=00000001 ebx=00000030 ecx=000fec10 edx=000febe0 esi=000d9578
> edi=00000000
> ebp=000d9558 esp=000d9550 program=H:\DJGPP\BIN\MAKE.EXE
> cs: sel=00a7 base=00400000 limit=0011ffff
> ds: sel=00af base=00400000 limit=0011ffff
> es: sel=00af base=00400000 limit=0011ffff
> fs: sel=008f base=00018190 limit=0000ffff
> gs: sel=00bf base=00000000 limit=0010ffff
> ss: sel=00af base=00400000 limit=0011ffff
> App stack: [000daa50..0005aa50] Exceptn stack: [0005a96c..00058a2c]
>
> Call frame traceback EIPs:
> 0x0002b22e
> 0x0002b4c2
> 0x00025b5e
> 0x00026661
> 0x0001a8eb
> 0x00009f92
> 0x0000afe3
> 0x0000b290
> 0x000058a7
> 0x00005d93
> 0x00005e5a
> 0x0002329b
> 0x00023b4b
> 0x0001b49e
> 0x0001d266
> 0x0001d569
> 0x000159de
> 0x000343e4
____________________________________

And now on WinXP....

ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\glennmcc\Application Data
CLIENTNAME=Console
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=GLENNMCC-XP
ComSpec=C:\WINDOWS\system32\cmd.exe
djgpp=c:\djgpp\djgpp.env
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\glennmcc
LOGONSERVER=\\GLENNMCC-XP
NUMBER_OF_PROCESSORS=2
OS=Windows_NT
Path=c:\djgpp\bin;c:\djgpp\bin-old;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 11, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0f0b
ProgramFiles=C:\Program Files
PROMPT=$P$G
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\glennmcc\LOCALS~1\Temp
TMP=C:\DOCUME~1\glennmcc\LOCALS~1\Temp
USERDOMAIN=GLENNMCC-XP
USERNAME=glennmcc
USERPROFILE=C:\Documents and Settings\glennmcc
windir=C:\WINDOWS
ECHO is on

stub.exe -v \djgpp\bin\make.exe
-value- -field description-
0x80000 (512k) Minimum amount of stack space (bytes/K/M)
0x8000 (32k) Size of real-memory transfer buffer (bytes/K/M)
"" Base name of file to actually run (max 8 chars, ""=self)
"" Value to pass as file component of argv[0] (max 16 chars, ""=default)
CWSDPMI.EXE Program to load to provide DPMI services (if needed)

C:\DJGPP\BUILD\MPLAYER\MPLAYER\make
memblockpnxt: memory fouled
Exiting due to signal SIGABRT
Raised at eip=0003b3dc
eax=000d9460 ebx=00000120 ecx=00000000 edx=00000000 esi=000d9578 edi=00000000
ebp=000d9518 esp=000d9450 program=c:\djgpp\bin\MAKE.EXE
cs: sel=01a7 base=02900000 limit=0010ffff
ds: sel=01af base=02900000 limit=0010ffff
es: sel=01af base=02900000 limit=0010ffff
fs: sel=017f base=00008190 limit=0000ffff
gs: sel=01bf base=00000000 limit=0010ffff
ss: sel=01af base=02900000 limit=0010ffff
App stack: [000daa50..0005aa50] Exceptn stack: [0005a96c..00058a2c]

Call frame traceback EIPs:
0x0003b32b
0x0003b3dc
0x0002b250
0x0002b4c2
0x00025b5e
0x00026661
0x0001a8eb
0x00009f92
0x0000afe3
0x0000b290
0x000058a7
0x00005d93
0x00005e5a
0x0002329b
0x00023b4b
0x0001b49e
0x0001d266
0x0001d569
0x000159de
0x000343e4


___________________________


I just can't win, so, I'm done screwing with it.

---
--
http://glennmcc.org/

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 216 users online (0 registered, 216 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum