Watcom ASM + C puzzle, variable has conflicting addresses (Developers)
> Open Watcom Linker Version 1.9> Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
> Created on: 26/01/01 07:10:22
It's actually a OW Wasm v1.9 bug: cmdline option -ml should be a substitute for assembly directive ".model large", but it's implemented inaccurately. With both alternatives, DGROUP is defined and segment _DATA is a member of DGROUP, but the fixup generation for access of an item in _DATA differs:
- .model large: fixups get a "DGROUP frame" (good)
- cmdline option -ml: fixups get a "SEGMENT _DATA" frame (bad)
This bug can be cured for cmdline option -ml by adding an "ASSUME DS:DGROUP" line.
Btw, this bug has been fixed in OW Wasm v2.0.
---
MS-DOS forever!
Complete thread:
- Watcom ASM + C puzzle, variable has conflicting addresses - bencollver, 31.12.2025, 23:25 (Developers)
![Open in board view [Board]](img/board_d.gif)
![Open in mix view [Mix]](img/mix_d.gif)
- Watcom ASM + C puzzle, variable has conflicting addresses - jadoxa, 01.01.2026, 02:06
- Watcom ASM + C puzzle, variable has conflicting addresses - Rugxulo, 01.01.2026, 03:44
- Watcom ASM + C puzzle, variable has conflicting addresses - Japheth, 01.01.2026, 09:01
- Watcom ASM + C puzzle, variable has conflicting addresses - bencollver, 01.01.2026, 16:35
- Watcom ASM + C puzzle, variable has conflicting addresses - Japheth, 01.01.2026, 18:57
- Watcom ASM + C puzzle, variable has conflicting addresses - bencollver, 01.01.2026, 21:07
- Watcom ASM + C puzzle, variable has conflicting addresses - Japheth, 01.01.2026, 18:57
- Watcom ASM + C puzzle, variable has conflicting addresses - bencollver, 01.01.2026, 16:35
- Watcom ASM + C puzzle, variable has conflicting addresses - boeckmann, 01.01.2026, 21:09
- Watcom ASM + C puzzle, variable has conflicting addresses - bencollver, 01.01.2026, 21:32
- Watcom ASM + C puzzle, variable has conflicting addresses - Japheth, 01.01.2026, 21:51
- Watcom ASM + C puzzle, variable has conflicting addresses - boeckmann, 01.01.2026, 21:56
- Watcom ASM + C puzzle, variable has conflicting addresses - boeckmann, 01.01.2026, 21:58
- Watcom ASM + C puzzle, variable has conflicting addresses - bencollver, 01.01.2026, 22:54
- Watcom ASM + C puzzle, variable has conflicting addresses - boeckmann, 01.01.2026, 23:26
- Watcom ASM + C puzzle, variable has conflicting addresses - bencollver, 02.01.2026, 17:42
- Watcom ASM + C puzzle, variable has conflicting addresses - bencollver, 03.01.2026, 18:09
- Watcom ASM + C puzzle, variable has conflicting addresses - ecm, 03.01.2026, 21:23
- Watcom ASM + C puzzle, variable has conflicting addresses - bencollver, 16.01.2026, 04:44
- Watcom ASM + C puzzle, variable has conflicting addresses - bencollver, 03.01.2026, 18:09
- Watcom ASM + C puzzle, variable has conflicting addresses - Japheth, 04.01.2026, 05:21
- Watcom ASM + C puzzle, variable has conflicting addresses - rr, 04.01.2026, 11:40
- Watcom ASM + C puzzle, variable has conflicting addresses - bencollver, 04.01.2026, 15:31
- Watcom ASM + C puzzle, variable has conflicting addresses - Japheth, 04.01.2026, 16:21
- Watcom ASM + C puzzle, variable has conflicting addresses - bencollver, 04.01.2026, 15:31
- Watcom ASM + C puzzle, variable has conflicting addresses - rr, 04.01.2026, 11:40
- Watcom ASM + C puzzle, variable has conflicting addresses - bencollver, 02.01.2026, 17:42
- Watcom ASM + C puzzle, variable has conflicting addresses - boeckmann, 01.01.2026, 23:26
- Watcom ASM + C puzzle, variable has conflicting addresses - bencollver, 01.01.2026, 22:54
- Watcom ASM + C puzzle, variable has conflicting addresses - boeckmann, 01.01.2026, 21:58
- Watcom ASM + C puzzle, variable has conflicting addresses - bencollver, 01.01.2026, 21:32
- Watcom ASM + C puzzle, variable has conflicting addresses - samwdpckr, 02.01.2026, 08:50
- Watcom ASM + C puzzle, variable has conflicting addresses - bretjohn, 08.01.2026, 21:53
- Watcom ASM + C puzzle, variable has conflicting addresses - jadoxa, 01.01.2026, 02:06
Mix view