Skip to content

gcc -O1 causes Memory fault #7

@jserv

Description

@jserv

F9 Microkernel is known to crash if being built with gcc -O1 (or higher order):

--------------------------------------
F9 microkernel is ready!
Press '?' to print KDB menu
Memory fault
-------KTABLES------

KT: fpage_table
bitmap:10000000, data:200013e4, num: 256 size: 16
    0: XXXXXXXXXXXXXXX--X---XX-X---XX-X--X--------X-XX---XX---------XX-
   64: --XXX-XXX--X---X--X-X-------XXXXX-------XXXX----XX-XXXXXX---X-XX
  128: --------X---XXXX--X-------------X-------X---XXXX--X-----X-------
  192: -X---X-XX---XXXXX--------X------X---XXXXXXX--XXX---------XXXXX-X

commit 551b9f0 disables optimization as workaround.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions