It appears you're encountering a compilation error with the broadcom-sta
driver when building NixOS 17.03 with grsecurity/PaX enabled. The error
message indicates a type mismatch in the memset function call within the
wl_cfg80211_hybrid.c file. Specifically, it's expecting a void * for the
first argument but receiving a const struct wl_cfg80211_event_loop *.
https://www.cattranslator.org

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to broadcom-sta in Ubuntu.
https://bugs.launchpad.net/bugs/1681093

Title:
  broadcom-sta fails to build in combination with grsecurity/Pax (nixos
  17.03) [string_64.h:56:7: note: expected 'void *' but argument is of
  type 'const struct wl_cfg80211_event_loop *' void *memset(void *s, int
  c, size_t n); ^]

Status in broadcom-sta package in Ubuntu:
  New

Bug description:
  Issue description

  While trying to build Nixos .17:03 with grsecurity/Pax support. The build 
fails on compiling broadcom-sta:
   

  from /tmp/nix-build-broadcom-sta-6.30.223.271-4.9.20.drv-0/broadcom-
  sta/src/wl/sys/wl_cfg80211_hybrid.c:26:
  
/nix/store/y6320ln7x2fw7300ga1jdgawwdg22j9c-linux-4.9.20-dev/lib/modules/4.9.20-grsec/source/arch/x86/include/asm/string_64.h:56:7:
  note: expected 'void *' but argument is of type 'const struct
  wl_cfg80211_event_loop *' void *memset(void *s, int c, size_t n); ^

  Steps to reproduce

  Hardware needs broadcom-sta and in configuration.nix:

  nixpkgs.config.allowUnfree = true;
  security.grsecurity.enable = true;

  Technical details

  System: NixOS: 17:03
  Nix version: 1.11.8
  Nixpkgs version: 17.03.899.c87abfae79

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/broadcom-sta/+bug/1681093/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to