-
-
Notifications
You must be signed in to change notification settings - Fork 296
Closed
Labels
BugSomething isn't workingSomething isn't workingWontfixThis will not be worked on for some reasonThis will not be worked on for some reason
Description
Compiling in M2 a simple hello world prints lots of warnings:
hello_world.c3
module hello_world;
import std::io;
fn int main(String[] argv) {
io::printn("Hello world!");
return 0;
}
Executing: c3c compile hello_world.c3
.
Outputs:
warning: (arm64) could not find object file symbol for symbol _std.io.File.seek
warning: (arm64) could not find object file symbol for symbol _std.io.File.close
warning: (arm64) could not find object file symbol for symbol _std.io.File.read
warning: (arm64) could not find object file symbol for symbol _std.io.File.write
warning: (arm64) could not find object file symbol for symbol _std.io.File.read_byte
warning: (arm64) could not find object file symbol for symbol _.static_initialize.0
warning: (arm64) failed to insert symbol '_.panic_msg' in the debug map.
warning: (arm64) failed to insert symbol '_.file' in the debug map.
warning: (arm64) failed to insert symbol '_.func' in the debug map.
warning: (arm64) could not find object file symbol for symbol _.panic_msg.1
warning: (arm64) could not find object file symbol for symbol _.func.2
warning: (arm64) failed to insert symbol '_.fault' in the debug map.
warning: (arm64) failed to insert symbol '_.fault.3' in the debug map.
warning: (arm64) failed to insert symbol '_.fault.4' in the debug map.
warning: (arm64) failed to insert symbol '_.fault.5' in the debug map.
warning: (arm64) failed to insert symbol '_.fault.6' in the debug map.
warning: (arm64) failed to insert symbol '_.fault.7' in the debug map.
warning: (arm64) failed to insert symbol '_.fault.8' in the debug map.
warning: (arm64) failed to insert symbol '_.fault.9' in the debug map.
warning: (arm64) failed to insert symbol '_.fault.10' in the debug map.
warning: (arm64) failed to insert symbol '_.fault.11' in the debug map.
warning: (arm64) failed to insert symbol '_.fault.12' in the debug map.
warning: (arm64) failed to insert symbol '_.fault.13' in the debug map.
warning: (arm64) failed to insert symbol '_.fault.14' in the debug map.
warning: (arm64) failed to insert symbol '_.fault.15' in the debug map.
warning: (arm64) failed to insert symbol '_.fault.16' in the debug map.
warning: (arm64) failed to insert symbol '_.fault.17' in the debug map.
warning: (arm64) failed to insert symbol '_.fault.18' in the debug map.
warning: (arm64) failed to insert symbol '_.fault.19' in the debug map.
warning: (arm64) failed to insert symbol '_.fault.20' in the debug map.
warning: (arm64) failed to insert symbol '_.fault.21' in the debug map.
warning: (arm64) failed to insert symbol '_.fault.22' in the debug map.
warning: (arm64) failed to insert symbol '_.fault.23' in the debug map.
warning: (arm64) failed to insert symbol '_.fault.24' in the debug map.
warning: (arm64) failed to insert symbol '_.fault.25' in the debug map.
warning: (arm64) failed to insert symbol '_.fault.26' in the debug map.
warning: (arm64) failed to insert symbol '_.fault.27' in the debug map.
warning: (arm64) failed to insert symbol '_.fault.28' in the debug map.
warning: (arm64) failed to insert symbol '_.fault.29' in the debug map.
warning: (arm64) failed to insert symbol '_.fault.30' in the debug map.
warning: (arm64) could not find object file symbol for symbol _.panic_msg.31
warning: (arm64) could not find object file symbol for symbol _.func.32
warning: (arm64) could not find object file symbol for symbol _.func.33
warning: (arm64) could not find object file symbol for symbol _.func.34
warning: (arm64) could not find object file symbol for symbol _.panic_msg.35
warning: (arm64) could not find object file symbol for symbol _.func.36
warning: (arm64) could not find object file symbol for symbol _.func.37
warning: (arm64) could not find object file symbol for symbol _$sel.seek
warning: (arm64) could not find object file symbol for symbol _$sel.close
warning: (arm64) could not find object file symbol for symbol _$sel.read
warning: (arm64) could not find object file symbol for symbol _$sel.write
warning: (arm64) could not find object file symbol for symbol _$sel.read_byte
warning: (arm64) could not find object file symbol for symbol _$sel.flush
warning: (arm64) could not find object file symbol for symbol _$ct.dyn.std.io.File.seek
warning: (arm64) could not find object file symbol for symbol _$ct.dyn.std.io.File.write_byte
warning: (arm64) could not find object file symbol for symbol _$ct.dyn.std.io.File.close
warning: (arm64) could not find object file symbol for symbol _$ct.dyn.std.io.File.read
warning: (arm64) could not find object file symbol for symbol _$ct.dyn.std.io.File.write
warning: (arm64) could not find object file symbol for symbol _$ct.dyn.std.io.File.read_byte
warning: (arm64) could not find object file symbol for symbol _$ct.dyn.std.io.File.flush
Program linked to executable 'hello_world'.
Executing c3c compile hello_world.c3 --target macos-aarch64
as suggested in discord (https://discord.com/channels/650345951868747808/927010276128202762/1178961549390516244) does the same.
Metadata
Metadata
Assignees
Labels
BugSomething isn't workingSomething isn't workingWontfixThis will not be worked on for some reasonThis will not be worked on for some reason