Re: Program that segfaults with -Ofast

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05.01.2018 14:09, Mason wrote:

I just don't see read_kickstart_version() anywhere in the source code.
Are you using https://github.com/midwan/amiberry.git ?
Precisely what commit are you using => b791d1d0acb7? 97f180ec9fef? other?

What do you have at main.cpp:line195 and memory.cpp:line1151 ?

main.cpp 195:        read_kickstart_version(p);
memory.cpp 1151:     read_kickstart(z, mem, sizeof mem, 0, 0);

What about memory.cpp:line581 and memory.cpp:line584 ?


581:  if (!memcmp(buffer, "KICK", 4)) {
584:    } else if (memcmp ((uae_char*)buffer, "AMIROMTYPE1", 11) != 0) {


I don't see anything relevant there.
I'm starting to think I'm not looking at the correct source code :-)
I don't think O3 messes line numbering that bad.



First of all, it's awesome that you try to help!

Second, have a look at the dev-branch, which is the branch this is happening on.

--
chs





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux