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); ^]

Bug #1681093 reported by Duncan van Tongeren
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
broadcom-sta (Ubuntu)
New
Undecided
Unassigned

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

Tags: broadcom-sta
summary: broadcom-sta fails to build in combination with grsecurity/Pax (nixos
- 17.03)
+ 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); ^]
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.