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, 20:00

> 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

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

 

Complete thread:

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