20 November 2014, 21:06 | #1 |
Beyond Mutton
Join Date: Mar 2011
Location: North West, UK
Age: 52
Posts: 347
|
VASM fatal error..
Ive been getting along quite well with Vasm for a couple of days now,
just setup my first linking file and all is working as expected. Then I suddenly get this when adding a little more code. Code:
Assembling, Compiling, and Linking dh0\mydemo.exe fatal error 8: cannot resolve section <mycode>, maximum number of passes reached aborting... vasmm68k_mot -x -maxerrors=50 -m68000 -opt-brajmp -Fhunk -align -phxass "source \main.s" -o "source\main.o" -I"%VBCC%/targets/m68k-amigaos/ndk/include_i" -I"Sou rce" -quiet failed: No error Press any key to continue . . . I remove a few lines of code and it assembles and links again, do I need to increase a buffer size or something like that. Looks like something might be overflowing. Code:
move.l d1,d0 add.l #(80*256),d0 move d0,CopperScreen3+6 swap d0 move d0,CopperScreen3+2 ; move.l d1,d0 ; add.l #(120*256),d0 ; move d0,CopperScreen4+6 ; swap d0 ; move d0,CopperScreen4+2 Thanks Last edited by jimmy2x2x; 20 November 2014 at 21:13. |
21 November 2014, 10:23 | #2 | |||
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,519
|
Quote:
Quote:
I didn't see this problem in recent vasm versions, but in the past it was triggered by agressive branch optimisations. Using the -phxass option, which includes -opt-allbra, and -opt-brajmp, certainly increases the likelyhood of such a situation. Can you assemble without -phxass and -opt-brajmp? The last option should never be needed in sane sources anyway. Quote:
When there are still problems, even with the latest release, then try to analyse the problem with the -debug option and send me the output, or better the original source, by mail. Last edited by phx; 21 November 2014 at 10:48. Reason: the latest official release is 1.7a, not 1.7b |
|||
21 November 2014, 10:27 | #3 |
Beyond Mutton
Join Date: Mar 2011
Location: North West, UK
Age: 52
Posts: 347
|
Will do, thank you for your support.
I am moving house over the weekend and will likely be without internet for a short while. As soon as I am settled, I will follow your advice and suggestions. Thanks again, I really love using vasm! |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
fatal noise doesn't boot | turrican3 | support.Games | 8 | 03 August 2014 22:07 |
Fatal Impact | frikilokooo | News | 4 | 23 June 2012 20:16 |
Fatal Noise | viddi | Games images which need to be WHDified | 6 | 24 August 2008 23:29 |
Fatal Heritage | fiath | request.Old Rare Games | 0 | 18 February 2003 00:02 |
TOSEC page fatal error | andreas | Amiga scene | 8 | 16 January 2003 15:40 |
|
|