Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 488772 - =net-wireless/broadcom-sta-6.30.223.30-r2 - module wl.ko uses GPL-only symbol '__rcu_read_unlock'
Summary: =net-wireless/broadcom-sta-6.30.223.30-r2 - module wl.ko uses GPL-only symbol...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: M. B.
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-20 19:19 UTC by Marco Ziebell
Modified: 2014-04-03 22:50 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
working kernel config (config.gz,18.61 KB, application/x-gzip)
2013-10-24 14:54 UTC, Marco Ziebell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Ziebell 2013-10-20 19:19:10 UTC
net-wireless/broadcom-sta-6.30.223.30-r2 fails to build with message
FATAL: modpost: GPL-incompatible module wl.ko uses GPL-only symbol '__rcu_read_unlock'

if you change the preemption model from PREEMPT to PREEMPT_VOLUNTARY it builds fine, so I suggest a line like this
CONFIG_CHECK="${CONFIG_CHECK} ${CONFIG_CHECK2} CFG80211 ~!PREEMPT_RCU ~!PREEMPT"

not sure at which version the symbol changed

Reproducible: Always
Comment 1 Marco Ziebell 2013-10-20 20:28:45 UTC
a prove for my report
https://bugs.launchpad.net/ubuntu/+source/bcmwl/+bug/1156138
Comment 2 Stefan Cristian 2013-10-20 21:00:58 UTC
you're on a low preemptive compiled kernel?
Comment 3 M. B. 2013-10-22 17:36:57 UTC
read the warnings please.
Comment 4 M. B. 2013-10-22 17:43:56 UTC
wait a second.

if i understand you correctly, you are able to set PREEMPT without PREEMPT_RCU?

please provide your .config and your exact kernel version.

PS: the exact version this problem appeared for the first time was 3.8.8. 3.8.7 worked fine.
Comment 5 Marco Ziebell 2013-10-24 14:54:43 UTC
Created attachment 361794 [details]
working kernel config
Comment 6 M. B. 2014-04-03 22:50:18 UTC
see bug #506708