Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
C
cookbook
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 11
    • Issues 11
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 3
    • Merge Requests 3
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • redox-os
  • cookbook
  • Issues
  • #102

Closed
Open
Opened Nov 15, 2017 by Jeremy Soller@jackpot51Owner

Failure when trying to cook rust

Created by: AgustinCB

It's not a very helpful message:

[ 15%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Watchdog.cpp.o
/mnt/data/redox_playground/redox/cookbook/recipes/rust/llvm-source/lib/Support/Path.cpp: In function 'llvm::sys::fs::file_magic llvm::sys::fs::identify_magic(llvm::StringRef)':
/mnt/data/redox_playground/redox/cookbook/recipes/rust/llvm-source/lib/Support/Path.cpp:1120:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
       if (Magic[1] == 0x01)
       ^~
/mnt/data/redox_playground/redox/cookbook/recipes/rust/llvm-source/lib/Support/Path.cpp:1123:5: note: here
     case 0x90: // PA-RISC Windows
     ^~~~
In file included from /mnt/data/redox_playground/redox/cookbook/recipes/rust/llvm-source/lib/Support/Program.cpp:65:0:
/mnt/data/redox_playground/redox/cookbook/recipes/rust/llvm-source/lib/Support/Unix/Program.inc:147:13: warning: 'void llvm::TimeOutHandler(int)' defined but not used [-Wunused-function]
 static void TimeOutHandler(int Sig) {
             ^~~~~~~~~~~~~~
In file included from /mnt/data/redox_playground/redox/cookbook/recipes/rust/llvm-source/lib/Support/Path.cpp:1174:0:
/mnt/data/redox_playground/redox/cookbook/recipes/rust/llvm-source/lib/Support/Unix/Path.inc: At global scope:
/mnt/data/redox_playground/redox/cookbook/recipes/rust/llvm-source/lib/Support/Unix/Path.inc:584:13: warning: 'bool llvm::sys::fs::hasProcSelfFD()' defined but not used [-Wunused-function]
 static bool hasProcSelfFD() {
             ^~~~~~~~~~~~~
In file included from /mnt/data/redox_playground/redox/cookbook/recipes/rust/llvm-source/lib/Support/Signals.cpp:180:0:
/mnt/data/redox_playground/redox/cookbook/recipes/rust/llvm-source/lib/Support/Unix/Signals.inc:216:19: warning: 'void SignalHandler(int)' defined but not used [-Wunused-function]
 static RETSIGTYPE SignalHandler(int Sig) {
                   ^~~~~~~~~~~~~
[ 16%] Linking CXX static library ../libLLVMSupport.a
[ 16%] Built target LLVMSupport
make: *** [Makefile:152: all] Error 2

Info:

$ uname -a
Linux agustin-laptop 4.13.11-1-ARCH #1 SMP PREEMPT Thu Nov 2 10:25:56 CET 2017 x86_64 GNU/Linux

I installed the toolchain for arch as specified in the book.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: redox-os/cookbook#102