Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- i686-elf-as -o .obj/x86/start.o arch/x86/start.S
- rustc -O --cfg arch__x86 --target=arch/x86/target.json -o .obj/x86/libcore.rlib --crate-type=lib --emit=link,dep-info ../libcore/lib.rs
- warning: ignoring specified output filename because multiple outputs were requested
- rustc -O --cfg arch__x86 --target=arch/x86/target.json -o .obj/x86/kernel.o --emit=obj,dep-info main.rs --extern core=.obj/x86/libcore.rlib
- warning: ignoring specified output filename because multiple outputs were requested
- arch/x86/../x86_common/io.rs:28:1: 31:2 warning: function is never used: `outw`, #[warn(dead_code)] on by default
- arch/x86/../x86_common/io.rs:28 pub unsafe fn outw(port: u16, val: u16)
- arch/x86/../x86_common/io.rs:29 {
- arch/x86/../x86_common/io.rs:30 asm!("outb %ax, %dx" : : "{dx}"(port), "{al}"(val));
- arch/x86/../x86_common/io.rs:31 }
- arch/x86/../x86_common/io.rs:34:1: 39:2 warning: function is never used: `inw`, #[warn(dead_code)] on by default
- arch/x86/../x86_common/io.rs:34 pub unsafe fn inw(port: u16) -> u16
- arch/x86/../x86_common/io.rs:35 {
- arch/x86/../x86_common/io.rs:36 let ret : u16;
- arch/x86/../x86_common/io.rs:37 asm!("inb %dx, %ax" : "={ax}"(ret) : "{dx}"(port));
- arch/x86/../x86_common/io.rs:38 return ret;
- arch/x86/../x86_common/io.rs:39 }
- arch/x86/../x86_common/io.rs:42:1: 45:2 warning: function is never used: `outl`, #[warn(dead_code)] on by default
- arch/x86/../x86_common/io.rs:42 pub unsafe fn outl(port: u16, val: u32)
- arch/x86/../x86_common/io.rs:43 {
- arch/x86/../x86_common/io.rs:44 asm!("outb %eax, %dx" : : "{dx}"(port), "{al}"(val));
- arch/x86/../x86_common/io.rs:45 }
- arch/x86/../x86_common/io.rs:48:1: 53:2 warning: function is never used: `inl`, #[warn(dead_code)] on by default
- arch/x86/../x86_common/io.rs:48 pub unsafe fn inl(port: u16) -> u32
- arch/x86/../x86_common/io.rs:49 {
- arch/x86/../x86_common/io.rs:50 let ret : u32;
- arch/x86/../x86_common/io.rs:51 asm!("inb %dx, %eax" : "={ax}"(ret) : "{dx}"(port));
- arch/x86/../x86_common/io.rs:52 return ret;
- arch/x86/../x86_common/io.rs:53 }
- i686-elf-ld -o ../kernel.x86.bin -T arch/x86/link.ld -Map .obj/x86/map.txt --gc-sections -z max-page-size=0x1000 .obj/x86/start.o .obj/x86/kernel.o .obj/x86/libcore.rlib
- .obj/x86/kernel.o: In function `fmt::Write::write_fmt::Adapter$LT$$u27$a$C$$u20$T$GT$.Write::write_fmt::h13381255431653765047':
- main.0.rs:(.text._ZN3fmt5Write9write_fmt36Adapter$LT$$u27$a$C$$u20$T$GT$.Write9write_fmt21h13381255431653765047E+0x5e): undefined reference to `fmt::write::h3af07a53a54be8d6axJ'
- .obj/x86/kernel.o: In function `logging::Writer::get::h32805a7341294006kia':
- main.0.rs:(.text._ZN7logging6Writer3get20h32805a7341294006kiaE+0x86): undefined reference to `fmt::write::h3af07a53a54be8d6axJ'
- main.0.rs:(.text._ZN7logging6Writer3get20h32805a7341294006kiaE+0xeb): undefined reference to `fmt::write::h3af07a53a54be8d6axJ'
- .obj/x86/kernel.o: In function `fmt::_$RF$$u27$a$u20$T.Display::fmt::h7039935077849634954':
- main.0.rs:(.text._ZN3fmt25_$RF$$u27$a$u20$T.Display3fmt20h7039935077849634954E+0x2f): undefined reference to `fmt::str.Display::fmt::h149b366e11438a49O0J'
- .obj/x86/kernel.o: In function `kmain':
- main.0.rs:(.text.kmain+0x43): undefined reference to `fmt::num::i32.fmt..Display::fmt::h9d264b938cf38f02AqI'
- main.0.rs:(.text.kmain+0x94): undefined reference to `fmt::write::h3af07a53a54be8d6axJ'
- main.0.rs:(.text.kmain+0xea): undefined reference to `fmt::write::h3af07a53a54be8d6axJ'
- main.0.rs:(.text.kmain+0x159): undefined reference to `fmt::write::h3af07a53a54be8d6axJ'
- make: *** [../kernel.x86.bin] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement