Skip to content

Instantly share code, notes, and snippets.

@Doaxan
Created April 2, 2018 14:31
Show Gist options
  • Select an option

  • Save Doaxan/9994a3965303f711ad9bc66af169d8b8 to your computer and use it in GitHub Desktop.

Select an option

Save Doaxan/9994a3965303f711ad9bc66af169d8b8 to your computer and use it in GitHub Desktop.
[doaxan@doaxan-pc untitled]$ nimble build -d:release -f
Verifying dependencies for [email protected]
Building untitled/untitled using c backend
Tip: 5 messages have been suppressed, use --verbose to show them.
Error: Build failed for package: untitled
... Details:
... Execution failed with exit code 1
... Command: "/usr/bin/nim" c --noBabelPath -d:release -f -o:"/home/doaxan/Dev/Nim/untitled/untitled" "/home/doaxan/Dev/Nim/untitled/src/untitled.nim"
... Output: Hint: used config file '/etc/nim.cfg' [Conf]
... Hint: system [Processing]
... Hint: untitled [Processing]
... Hint: random [Processing]
... Hint: times [Processing]
... Hint: strutils [Processing]
... Hint: parseutils [Processing]
... Hint: math [Processing]
... Hint: algorithm [Processing]
... Hint: posix [Processing]
... untitled.nim(4, 9) Warning: Special variable 'result' is shadowed. [ResultShadowed]
... untitled.nim(8, 5) Hint: 'preall' is declared but not used [XDeclaredButNotUsed]
... CC: untitled_untitled
... CC: stdlib_system
... CC: stdlib_random
... CC: stdlib_times
... CC: stdlib_strutils
... CC: stdlib_parseutils
... CC: stdlib_math
... CC: stdlib_algorithm
... CC: stdlib_posix
... Hint: [Link]
... /home/doaxan/Dev/Nim/untitled/src/nimcache/stdlib_system.o: In function`isOnStack_dJJW59cIgsBmT59aZrOM71Mg':
... stdlib_system.c:(.text+0x27): relocation truncated to fit: R_X86_64_PC32 against symbol `gch_IcYaEuuWivYAS86vFMTS3Q' defined in COMMON section in /home/doaxan/Dev/Nim/untitled/src/nimcache/stdlib_system.o
... /home/doaxan/Dev/Nim/untitled/src/nimcache/stdlib_system.o: In function`raiseOutOfMem_II46IjNZztN9bmbxUD8dt8g':
... stdlib_system.c:(.text+0x137): relocation truncated to fit: R_X86_64_PC32 against symbol `outOfMemHook_kZNaA7u1MfSW5ZeoGvw8xg' defined in COMMON section in/home/doaxan/Dev/Nim/untitled/src/nimcache/stdlib_system.o
... /home/doaxan/Dev/Nim/untitled/src/nimcache/stdlib_system.o: In function`alloc_sVm4rDImKK2ZDdylByayiA':
... stdlib_system.c:(.text+0x212b): relocation truncated to fit: R_X86_64_PC32 against symbol `gch_IcYaEuuWivYAS86vFMTS3Q' defined in COMMON section in /home/doaxan/Dev/Nim/untitled/src/nimcache/stdlib_system.o
... /home/doaxan/Dev/Nim/untitled/src/nimcache/stdlib_system.o: In function`add_Wcf8r6MCjrJeJ3HSYwSp0Qsystem':
... stdlib_system.c:(.text+0x30b0): relocation truncated to fit: R_X86_64_PC32 against symbol `gch_IcYaEuuWivYAS86vFMTS3Q' defined in COMMON section in /home/doaxan/Dev/Nim/untitled/src/nimcache/stdlib_system.o
... stdlib_system.c:(.text+0x30e3): relocation truncated to fit: R_X86_64_PC32 against symbol `gch_IcYaEuuWivYAS86vFMTS3Q' defined in COMMON section in /home/doaxan/Dev/Nim/untitled/src/nimcache/stdlib_system.o
... /home/doaxan/Dev/Nim/untitled/src/nimcache/stdlib_system.o: In function`dealloc_RCjNtRnHdRYntrcE7YtwWw':
... stdlib_system.c:(.text+0x3587): relocation truncated to fit: R_X86_64_PC32 against symbol `gch_IcYaEuuWivYAS86vFMTS3Q' defined in COMMON section in /home/doaxan/Dev/Nim/untitled/src/nimcache/stdlib_system.o
... stdlib_system.c:(.text+0x358e): relocation truncated to fit: R_X86_64_PC32 against symbol `gch_IcYaEuuWivYAS86vFMTS3Q' defined in COMMON section in /home/doaxan/Dev/Nim/untitled/src/nimcache/stdlib_system.o
... stdlib_system.c:(.text+0x35ae): relocation truncated to fit: R_X86_64_PC32 against symbol `gch_IcYaEuuWivYAS86vFMTS3Q' defined in COMMON section in /home/doaxan/Dev/Nim/untitled/src/nimcache/stdlib_system.o
... stdlib_system.c:(.text+0x35f3): relocation truncated to fit: R_X86_64_PC32 against symbol `gch_IcYaEuuWivYAS86vFMTS3Q' defined in COMMON section in /home/doaxan/Dev/Nim/untitled/src/nimcache/stdlib_system.o
... stdlib_system.c:(.text+0x35fe): relocation truncated to fit: R_X86_64_PC32 against symbol `gch_IcYaEuuWivYAS86vFMTS3Q' defined in COMMON section in /home/doaxan/Dev/Nim/untitled/src/nimcache/stdlib_system.o
... stdlib_system.c:(.text+0x3606): additional relocation overflows omittedfrom the output
... collect2: error: ld returned 1 exit status
... Error: execution of an external program failed: 'gcc -o /home/doaxan/Dev/Nim/untitled/untitled /home/doaxan/Dev/Nim/untitled/src/nimcache/untitled_untitled.o /home/doaxan/Dev/Nim/untitled/src/nimcache/stdlib_system.o /home/doaxan/Dev/Nim/untitled/src/nimcache/stdlib_random.o /home/doaxan/Dev/Nim/untitled/src/nimcache/stdlib_times.o /home/doaxan/Dev/Nim/untitled/src/nimcache/stdlib_strutils.o /home/doaxan/Dev/Nim/untitled/src/nimcache/stdlib_parseutils.o /home/doaxan/Dev/Nim/untitled/src/nimcache/stdlib_math.o /home/doaxan/Dev/Nim/untitled/src/nimcache/stdlib_algorithm.o /home/doaxan/Dev/Nim/untitled/src/nimcache/stdlib_posix.o -lm -lrt -ldl'
[doaxan@doaxan-pc untitled]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment