-
Notifications
You must be signed in to change notification settings - Fork 92
linker-flavor required #111
Comments
We recently got a pr for intermezzOS/book#166, maybe give what it changed there a try? I had been meaning to do this but have not yet had the time, and am likely not for a few weeks :( |
I have tested a couple of combinations, none leading to success so far. My environment:
"linker-flavor": "gcc"
"linker-flavor": "ld"
"linker": "ld", "linker-flavor": "ld"Compilation works:
The VM starts and displays the following error:
"linker": "ld", "linker-flavor": "gcc"
I don't know what else to try now ;-) |
@phil-opp have you run into this stuff? |
For me the issue is not fixed after #112. It seems that the sections, namely .boot and .text don't make it into the binary:
|
@steveej Whoops! My kernel is linked correctly after using the new target.json syntax, so I foolishly assumed that intermezzOS would be as well. I'm passing slightly different flags, though... |
I noticed that intermezzOS doesn't compile anymore due to this commit that makes xargo require the "linker-flavor" argument in the x86_64-unknown-intermezzos-gnu.json file.
Once added the line
"linker-flavor": "ld",
it started compiling, but I was still getting errors, that led me to add another line"linker": "ld",
.Now it compiles just fine, but when I try to
make run
grub returns this error:Can anyone help me? :)
The text was updated successfully, but these errors were encountered: