[Bug 1828404] Re: gcc crashes when compiling wireguard on raspberry pi

Launchpad Bug Tracker 1828404 at bugs.launchpad.net
Tue Jul 9 04:17:24 UTC 2019


[Expired for gcc-7 (Ubuntu) because there has been no activity for 60
days.]

** Changed in: gcc-7 (Ubuntu)
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-7 in Ubuntu.
https://bugs.launchpad.net/bugs/1828404

Title:
  gcc crashes when compiling wireguard on raspberry pi

Status in gcc-7 package in Ubuntu:
  Expired

Bug description:
  sudo add-apt-repository ppa:wireguard/wireguard
  sudo apt install wireguard

  DKMS make.log for wireguard-0.0.20190406 for kernel 4.15.0-1034-raspi2 (aarch64)
  Thu May  9 14:23:48 CEST 2019
  make: Entering directory '/usr/src/linux-headers-4.15.0-1034-raspi2'
    CC [M]  /var/lib/dkms/wireguard/0.0.20190406/build/main.o
    CC [M]  /var/lib/dkms/wireguard/0.0.20190406/build/noise.o
    CC [M]  /var/lib/dkms/wireguard/0.0.20190406/build/device.o
    CC [M]  /var/lib/dkms/wireguard/0.0.20190406/build/peer.o
    CC [M]  /var/lib/dkms/wireguard/0.0.20190406/build/timers.o
    CC [M]  /var/lib/dkms/wireguard/0.0.20190406/build/queueing.o
    CC [M]  /var/lib/dkms/wireguard/0.0.20190406/build/send.o
    CC [M]  /var/lib/dkms/wireguard/0.0.20190406/build/receive.o
    CC [M]  /var/lib/dkms/wireguard/0.0.20190406/build/socket.o
    CC [M]  /var/lib/dkms/wireguard/0.0.20190406/build/peerlookup.o
    CC [M]  /var/lib/dkms/wireguard/0.0.20190406/build/allowedips.o
    CC [M]  /var/lib/dkms/wireguard/0.0.20190406/build/ratelimiter.o
    CC [M]  /var/lib/dkms/wireguard/0.0.20190406/build/cookie.o
    CC [M]  /var/lib/dkms/wireguard/0.0.20190406/build/netlink.o
  /var/lib/dkms/wireguard/0.0.20190406/build/allowedips.c: In function ‘root_remove_peer_lists’:
  /var/lib/dkms/wireguard/0.0.20190406/build/allowedips.c:72:1: warning: the frame size of 1056 bytes is larger than 1024 bytes [-Wframe-larger-than=]
   }
   ^
  /var/lib/dkms/wireguard/0.0.20190406/build/allowedips.c: In function ‘root_free_rcu’:
  /var/lib/dkms/wireguard/0.0.20190406/build/allowedips.c:59:1: warning: the frame size of 1056 bytes is larger than 1024 bytes [-Wframe-larger-than=]
   }
   ^
  /var/lib/dkms/wireguard/0.0.20190406/build/allowedips.c: In function ‘walk_remove_by_peer.isra.4’:
  /var/lib/dkms/wireguard/0.0.20190406/build/allowedips.c:126:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=]
   }
   ^
    CC [M]  /var/lib/dkms/wireguard/0.0.20190406/build/crypto/zinc/chacha20/chacha20.o
    PERLASM /var/lib/dkms/wireguard/0.0.20190406/build/crypto/zinc/chacha20/chacha20-arm64.S
    CC [M]  /var/lib/dkms/wireguard/0.0.20190406/build/crypto/zinc/poly1305/poly1305.o
    PERLASM /var/lib/dkms/wireguard/0.0.20190406/build/crypto/zinc/poly1305/poly1305-arm64.S
    CC [M]  /var/lib/dkms/wireguard/0.0.20190406/build/crypto/zinc/chacha20poly1305.o
    CC [M]  /var/lib/dkms/wireguard/0.0.20190406/build/crypto/zinc/blake2s/blake2s.o
  /var/lib/dkms/wireguard/0.0.20190406/build/crypto/zinc/chacha20poly1305.c: In function ‘xchacha20poly1305_encrypt’:
  /var/lib/dkms/wireguard/0.0.20190406/build/crypto/zinc/chacha20poly1305.c:316:1: internal compiler error: Segmentation fault
   }
   ^
  Please submit a full bug report,
  with preprocessed source if appropriate.
  See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
  scripts/Makefile.build:330: recipe for target '/var/lib/dkms/wireguard/0.0.20190406/build/crypto/zinc/chacha20poly1305.o' failed
  make[1]: *** [/var/lib/dkms/wireguard/0.0.20190406/build/crypto/zinc/chacha20poly1305.o] Error 1
  make[1]: *** Waiting for unfinished jobs....
  Makefile:1552: recipe for target '_module_/var/lib/dkms/wireguard/0.0.20190406/build' failed
  make: *** [_module_/var/lib/dkms/wireguard/0.0.20190406/build] Error 2
  make: Leaving directory '/usr/src/linux-headers-4.15.0-1034-raspi2'

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: gcc 4:7.4.0-1ubuntu2.2
  ProcVersionSignature: Ubuntu 4.15.0-1034.36-raspi2 4.15.18
  Uname: Linux 4.15.0-1034-raspi2 aarch64
  ApportVersion: 2.20.9-0ubuntu7.6
  Architecture: arm64
  Date: Thu May  9 14:32:29 2019
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=C.UTF-8
   SHELL=/bin/bash
  SourcePackage: gcc-defaults
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-7/+bug/1828404/+subscriptions



More information about the foundations-bugs mailing list