1000!
|
Quote:
Isn't -8(a5) the 't' variable? |
I'm not great at reading 68k assembler, but think it's the a0 value after this statement:
add.l d0,a0 |
Quote:
In any case, debug information is not done right or incorrectly interpreted on the debugger side. |
Quote:
move.l (a0),-8(a5)where the value is stored on the stack using the A5 frame pointer. |
Quote:
|
Quote:
Code:
00000214 <_main>: |
Git pull/make update/make all breaks today on newlib
Code:
make[7]: Entering directory '/home/alex/t/amiga-gcc/build-Linux/newlib/libm020/newlib/libc' |
Quote:
Code:
make clean-prefix |
Quote:
|
Quote:
|
That’s a bit hand wavy. Can you elaborate? Does it not compile? Does it not link? Does it not run? Does it run but crash?
In either case please show more details. I have been compiling large projects like Dopus5 and ScummVM and all my initial problems with the compiler have been ironed out by Bebbo diligently. The last big things I’m hoping for are better debugging and LTO :) |
Quote:
Not taking anything away from this updated version of GCC which is one the best things to come to classic Amiga development in recent years :D |
I've managed to get Milkytracker running, which is a fairly large C++ project. I've also managed to get Robin Hood demo running together with arczi/arti.
The optimization in GCC6 needs to be tweaked though, a lot of the time, lowering to -O0/-O1 can get stuff running, while -O2 and higher does weird things. I've managed to get Milkytracker stable on -O3 by working together with Bebbo to iron out the bugs. So don't expect stuff to magically happen without working together with Bebbo to figure out what's going wrong. Arczi and Bebbo are currently looking into why anything above -O1 fails on the Robin Hood demo, afaik. |
Quote:
Thanks |
Another thing to try is -O2 but with -fbbb=-
This enables the default GCC optimisations but disables the new bebbo optimisations. If it works with the above but fails with -O2, there is a good chance you have discovered a bug in the bebbo optimisations. If that is the case, you can then narrow it down by enabling/disabling each bebbo optimisation with -fbbb=abcefilmprsz until you discover which letter is causing the issue. |
Quote:
|
...or upload your stuff to github and crowdsource the debugging ;)
|
Quote:
- build all files in folder X - copy all .o files into folder A - build all files with -fbbb=- in folder X - copy all .o files int folder B now link and test in folder X. With -fbbb=- it should run if not try a different -O* option until files in folders X and B do work now do a binary search: 1. copy half of the files from A to X 2. link and test 3. if ok repeat at 1. for the remaining files in A 4. if not replace the last copied files with files from B 5. go to 1 and check only the last copied files at the end you have one file which causes the trouble. now try the different letters to search which one is the bad guy start with omitting 'e' then 'r' from the list of letters. once found the offending letter, create asm files and compare these - maybe that's my job then^^ sometimes I'm still amazed at what my optimizers can do. not bad at all for random hacking :spin and use the latest version: gcc version 6.4.1b 20190106170304 |
Quote:
+1 Amigans need to get out of the “keep it to myself” mentality, especially when it’s about open source code with licenses that explicitly states the source and its changes need to be shared if an executable is published. |
All times are GMT +2. The time now is 15:14. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.