Advertisement
Guest User

Untitled

a guest
Apr 24th, 2015
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.50 KB | None | 0 0
  1. i686-elf-as -o .obj/x86/start.o arch/x86/start.S
  2. 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
  3. warning: ignoring specified output filename because multiple outputs were requested
  4. 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
  5. warning: ignoring specified output filename because multiple outputs were requested
  6. arch/x86/../x86_common/io.rs:28:1: 31:2 warning: function is never used: `outw`, #[warn(dead_code)] on by default
  7. arch/x86/../x86_common/io.rs:28 pub unsafe fn outw(port: u16, val: u16)
  8. arch/x86/../x86_common/io.rs:29 {
  9. arch/x86/../x86_common/io.rs:30 asm!("outb %ax, %dx" : : "{dx}"(port), "{al}"(val));
  10. arch/x86/../x86_common/io.rs:31 }
  11. arch/x86/../x86_common/io.rs:34:1: 39:2 warning: function is never used: `inw`, #[warn(dead_code)] on by default
  12. arch/x86/../x86_common/io.rs:34 pub unsafe fn inw(port: u16) -> u16
  13. arch/x86/../x86_common/io.rs:35 {
  14. arch/x86/../x86_common/io.rs:36 let ret : u16;
  15. arch/x86/../x86_common/io.rs:37 asm!("inb %dx, %ax" : "={ax}"(ret) : "{dx}"(port));
  16. arch/x86/../x86_common/io.rs:38 return ret;
  17. arch/x86/../x86_common/io.rs:39 }
  18. arch/x86/../x86_common/io.rs:42:1: 45:2 warning: function is never used: `outl`, #[warn(dead_code)] on by default
  19. arch/x86/../x86_common/io.rs:42 pub unsafe fn outl(port: u16, val: u32)
  20. arch/x86/../x86_common/io.rs:43 {
  21. arch/x86/../x86_common/io.rs:44 asm!("outb %eax, %dx" : : "{dx}"(port), "{al}"(val));
  22. arch/x86/../x86_common/io.rs:45 }
  23. arch/x86/../x86_common/io.rs:48:1: 53:2 warning: function is never used: `inl`, #[warn(dead_code)] on by default
  24. arch/x86/../x86_common/io.rs:48 pub unsafe fn inl(port: u16) -> u32
  25. arch/x86/../x86_common/io.rs:49 {
  26. arch/x86/../x86_common/io.rs:50 let ret : u32;
  27. arch/x86/../x86_common/io.rs:51 asm!("inb %dx, %eax" : "={ax}"(ret) : "{dx}"(port));
  28. arch/x86/../x86_common/io.rs:52 return ret;
  29. arch/x86/../x86_common/io.rs:53 }
  30. 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
  31. .obj/x86/kernel.o: In function `fmt::Write::write_fmt::Adapter$LT$$u27$a$C$$u20$T$GT$.Write::write_fmt::h13381255431653765047':
  32. main.0.rs:(.text._ZN3fmt5Write9write_fmt36Adapter$LT$$u27$a$C$$u20$T$GT$.Write9write_fmt21h13381255431653765047E+0x5e): undefined reference to `fmt::write::h3af07a53a54be8d6axJ'
  33. .obj/x86/kernel.o: In function `logging::Writer::get::h32805a7341294006kia':
  34. main.0.rs:(.text._ZN7logging6Writer3get20h32805a7341294006kiaE+0x86): undefined reference to `fmt::write::h3af07a53a54be8d6axJ'
  35. main.0.rs:(.text._ZN7logging6Writer3get20h32805a7341294006kiaE+0xeb): undefined reference to `fmt::write::h3af07a53a54be8d6axJ'
  36. .obj/x86/kernel.o: In function `fmt::_$RF$$u27$a$u20$T.Display::fmt::h7039935077849634954':
  37. main.0.rs:(.text._ZN3fmt25_$RF$$u27$a$u20$T.Display3fmt20h7039935077849634954E+0x2f): undefined reference to `fmt::str.Display::fmt::h149b366e11438a49O0J'
  38. .obj/x86/kernel.o: In function `kmain':
  39. main.0.rs:(.text.kmain+0x43): undefined reference to `fmt::num::i32.fmt..Display::fmt::h9d264b938cf38f02AqI'
  40. main.0.rs:(.text.kmain+0x94): undefined reference to `fmt::write::h3af07a53a54be8d6axJ'
  41. main.0.rs:(.text.kmain+0xea): undefined reference to `fmt::write::h3af07a53a54be8d6axJ'
  42. main.0.rs:(.text.kmain+0x159): undefined reference to `fmt::write::h3af07a53a54be8d6axJ'
  43. make: *** [../kernel.x86.bin] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement