Skip to content
Snippets Groups Projects
  1. Dec 20, 2018
  2. Dec 17, 2018
  3. Dec 10, 2018
  4. Dec 07, 2018
    • Goutham Veeramachaneni's avatar
      Make images run (#49) · d5e6c603
      Goutham Veeramachaneni authored
      
      No clue what the flag is and what fixed it.
      
      With `-linkmode=external`, this is printed while building the image
      ```
      loadinternal: cannot find runtime/cgo
      ```
      
      When you try to run the image there is a coredump, see
      ```
      ```➜  loki git:(master) ✗ strace ./cmd/loki/loki
      execve("./cmd/loki/loki", ["./cmd/loki/loki"], 0x7ffe400edb30 /* 36 vars */) = 0
      arch_prctl(0x3001 /* ARCH_??? */, 0x7ffef5e69200) = -1 EINVAL (Invalid argument)
      brk(NULL)                               = 0x3140000
      brk(0x31411c0)                          = 0x31411c0
      arch_prctl(ARCH_SET_FS, 0x3140880)      = 0
      uname({sysname="Linux", nodename="nomad", ...}) = 0
      readlink("/proc/self/exe", "/home/goutham/go/src/github.com/"..., 4096) = 58
      brk(0x31621c0)                          = 0x31621c0
      brk(0x3163000)                          = 0x3163000
      arch_prctl(ARCH_SET_FS, 0x12012b0)      = 0
      --- SIGTRAP {si_signo=SIGTRAP, si_code=SI_KERNEL} ---
      +++ killed by SIGTRAP (core dumped) +++
      [1]    14848 trace trap (core dumped)  strace ./cmd/loki/loki```
      ```
      
      Signed-off-by: default avatarGoutham Veeramachaneni <gouthamve@gmail.com>
      d5e6c603
  5. Dec 05, 2018
  6. Nov 24, 2018
  7. Nov 22, 2018
  8. Nov 20, 2018
  9. Nov 19, 2018
  10. Jun 05, 2018
  11. Apr 17, 2018
  12. Apr 16, 2018
  13. Apr 15, 2018
Loading