Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 287083 - Does not compile: net-wireless/broadcom-sta-5.10.91.9.3 and linux-2.6.30-gentoo-r5
Summary: Does not compile: net-wireless/broadcom-sta-5.10.91.9.3 and linux-2.6.30-gent...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: MATSUU Takuto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-30 13:13 UTC by Niklas Johansson
Modified: 2009-10-05 23:33 UTC (History)
0 users

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


Attachments
build log (build.log,11.04 KB, text/plain)
2009-09-30 13:16 UTC, Niklas Johansson
Details
kernel config file (_config,61.33 KB, text/plain)
2009-09-30 13:17 UTC, Niklas Johansson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Niklas Johansson 2009-09-30 13:13:25 UTC
Unable to compile 
net-wireless/broadcom-sta-5.10.91.9.3 (~amd64) 
and linux-2.6.30-gentoo-r5



Reproducible: Always
Comment 1 Niklas Johansson 2009-09-30 13:13:59 UTC
emerge --info

Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8700_@_2.53GHz-with-gentoo-1.12.11.1
Timestamp of tree: Tue, 29 Sep 2009 07:45:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -msse4.1 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -msse4.1 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ "
LDFLAGS="-Wl,-O1"
LINGUAS="sv sv_SE fr en en_US en_GB ru de ja el la"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 arts background bash-completion berkdb bzip2 cli cracklib crypt cups dbus dell dri dvd emacs encode ffmpeg firefox flac fortran furigana gdbm ggi gif gnutls gpm graph gtk hal hddtemp iconv imlib ipv6 isdnlog java jpeg laptop latex lcms matroska mmx mng modules mp3 mpeg mudflap multilib mysql nas ncurses network nls nptl nptlonly nsplugin nvidia offensive ogg opengl openmp pam pcre pdf perl plotutils png ppds pppd python qt-static qt3support readline reflection scanner session snmp spl sse sse2 ssl stream svg sysfs tcpd theora tiff truetype unicode usb v4l v4l2 vcd vorbis webkit wmf wxwindows x264 xext xml xorg xosd xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="sv sv_SE fr en en_US en_GB ru de ja el la" USERLAND="GNU" VIDEO_CARDS="intel nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Niklas Johansson 2009-09-30 13:16:33 UTC
Created attachment 205666 [details]
build log
Comment 3 Niklas Johansson 2009-09-30 13:17:34 UTC
Created attachment 205668 [details]
kernel config file
Comment 4 Rafał Mużyło 2009-09-30 13:55:09 UTC
OK, this seems to be (in a way) a valid bug:
problem lies in COMPAT_NET_DEV_OPS, or more exactly
in the fact, that certain check in this driver is not-quite-correct
- it does
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 31)
#define WL_USE_NETDEV_OPS
#else
#undef WL_USE_NETDEV_OPS
#endif

however, if COMPAT_NET_DEV_OPS is not set in 2.6.30,
it looks like WL_USE_NETDEV_OPS should be defined too.
(I'm not sure if that would work, looks like it should,
in 2.6.31 COMPAT_NET_DEV_OPS were simply removed,
so probably it was already good in 2.6.30;
if not you'll have to set COMPAT_NET_DEV_OPS for this kernel)
Comment 5 Niklas Johansson 2009-10-01 08:19:43 UTC
> if not you'll have to set COMPAT_NET_DEV_OPS for this kernel)
> 

Thank you very much. That worked.

Comment 6 Rafał Mużyło 2009-10-05 20:11:05 UTC
Don't close the bug, till it's fixed in the tree.
Comment 7 MATSUU Takuto (RETIRED) gentoo-dev 2009-10-05 23:33:56 UTC
broadcom-sta-5.10.91.9.3-r1 in cvs now.