Skip to contentSkip to conversation

New: cpumask.h error

Bug 63381 [email protected] 1 participant 7 messages Oct 21, 2013 – Jul 28, 2014

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=63381

Bug ID: 63381
Summary: cpumask.h error
Product: Backports project
Version: unspecified
Kernel Version: 2.6.27.57
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: high
Priority: P1
Component: Backports
Assignee: [email protected]
Reporter: [email protected]
Regression: No

e/linux/kernel.h:3,
from
/home/supervl/Desktop/2/backports-3.10.4-1/compat/kstrtox. c:14:
include/linux/cpumask.h: At top level:
include/linux/cpumask.h:141: error: variable-size type declared outside of any f unction
include/linux/cpumask.h:276: error: variable-size type declared outside of any f unction
In file included from include/asm/processor.h:25,

                 from include/asm/atomic_32.h:5,
                 from include/asm/atomic.h:2,
                 from

/home/supervl/Desktop/2/backports-3.10.4-1/backport-includ e/asm/atomic.h:3,
from
/home/supervl/Desktop/2/backports-3.10.4-1/backport-includ e/linux/types.h:47,
from include/linux/kernel.h:13,
from
/home/supervl/Desktop/2/backports-3.10.4-1/backport-includ e/linux/kernel.h:3,
from
/home/supervl/Desktop/2/backports-3.10.4-1/compat/kstrtox. c:14:
/home/supervl/Desktop/2/backports-3.10.4-1/backport-include/linux/cpumask.h:7:
e rror: variable-size type declared outside of any function
In file included from include/asm/atomic_32.h:5,
from include/asm/atomic.h:2,
from
/home/supervl/Desktop/2/backports-3.10.4-1/backport-includ e/asm/atomic.h:3,
from
/home/supervl/Desktop/2/backports-3.10.4-1/backport-includ e/linux/types.h:47,
from include/linux/kernel.h:13,
from
/home/supervl/Desktop/2/backports-3.10.4-1/backport-includ e/linux/kernel.h:3,
from
/home/supervl/Desktop/2/backports-3.10.4-1/compat/kstrtox. c:14:
include/asm/processor.h: In function `native_get_debugreg':
include/asm/processor.h:443: error: implicit declaration of function `BUG' make[6]: *** [/home/supervl/Desktop/2/backports-3.10.4-1/compat/kstrtox.o] Error 1
make[5]: *** [/home/supervl/Desktop/2/backports-3.10.4-1/compat] Error 2 make[4]: *** [_module_/home/supervl/Desktop/2/backports-3.10.4-1] Error 2 make[3]: *** [modules] Error 2
make[2]: *** [modules] Error 2
make[1]: *** [modules] Error 2
make: *** [default] Error 2

Driver build error from 3.9 version upwards

INSTALL
/home/supervl/Desktop/1/compat-drivers-3.8.3-2-snpu/drivers/net/wireless/rtl818x/rtl8180/rtl8180.ko
INSTALL
/home/supervl/Desktop/1/compat-drivers-3.8.3-2-snpu/drivers/net/wireless/rtl818x/rtl8187/rtl8187.ko
INSTALL
/home/supervl/Desktop/1/compat-drivers-3.8.3-2-snpu/drivers/net/wireless/rtlwifi/rtl8192c/rtl8192c-common.ko
INSTALL
/home/supervl/Desktop/1/compat-drivers-3.8.3-2-snpu/drivers/net/wireless/rtlwifi/rtl8192ce/rtl8192ce.ko
INSTALL
/home/supervl/Desktop/1/compat-drivers-3.8.3-2-snpu/drivers/net/wireless/rtlwifi/rtl8192cu/rtl8192cu.ko
INSTALL
/home/supervl/Desktop/1/compat-drivers-3.8.3-2-snpu/drivers/net/wireless/rtlwifi/rtl8192de/rtl8192de.ko
INSTALL
/home/supervl/Desktop/1/compat-drivers-3.8.3-2-snpu/drivers/net/wireless/rtlwifi/rtl8192se/rtl8192se.ko
INSTALL
/home/supervl/Desktop/1/compat-drivers-3.8.3-2-snpu/drivers/net/wireless/rtlwifi/rtl8723ae/rtl8723ae.ko
INSTALL
/home/supervl/Desktop/1/compat-drivers-3.8.3-2-snpu/drivers/net/wireless/rtlwifi/rtlwifi.ko
INSTALL
/home/supervl/Desktop/1/compat-drivers-3.8.3-2-snpu/net/rfkill/rfkill_backport.ko
INSTALL
/home/supervl/Desktop/1/compat-drivers-3.8.3-2-snpu/net/wireless/lib80211.ko
INSTALL
/home/supervl/Desktop/1/compat-drivers-3.8.3-2-snpu/net/wireless/lib80211_crypt_ccmp.ko
INSTALL
/home/supervl/Desktop/1/compat-drivers-3.8.3-2-snpu/net/wireless/lib80211_crypt_tkip.ko
INSTALL
/home/supervl/Desktop/1/compat-drivers-3.8.3-2-snpu/net/wireless/lib80211_crypt_wep.ko
DEPMOD 2.6.27.57-SG
make[1]: Leaving directory `/usr/src/linux-2.6.27.57'

Drivers build normally with 3.8.3 with same kernel and same stripped sources aka crippled sources.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#1 lore raw

[Bug 63381] cpumask.h error

https://bugzilla.kernel.org/show_bug.cgi?id=63381

Hauke Mehrtens <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from Hauke Mehrtens <[email protected]> ---
What kernel are you compiling against? We only test this with mainline kernels, but when you have a patched kernel like one provided by distributions like RedHat, they contain many patches which are conflicting with backports.

Are you compiling for x86 or for some other arch?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#2 lore raw

[Bug 63381] cpumask.h error

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=63381

--- Comment #2 from DarinV <[email protected]> --- 2.6.27.57 patches for bootsplash and squashfs 3. No issues building with the 3.8.3 version and it is for x86. Mainline with only those 2 patches as I built my own kernel for the SuperGamer Distro. What changed going from the 3.8.3 to the 3.9 versions? I may have to build the the drivers with stock kernel then build the kernel last with patches but was hoping I didn't have to.

Quoted 21 lines · On Mon, Oct 21, 2013 at 10:46 AM, <[email protected]>wrote:

https://bugzilla.kernel.org/show_bug.cgi?id=63381

Hauke Mehrtens <[email protected]> changed:

What |Removed |Added

----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from Hauke Mehrtens <[email protected]> ---
What kernel are you compiling against? We only test this with mainline kernels,
but when you have a patched kernel like one provided by distributions like RedHat, they contain many patches which are conflicting with backports.

Are you compiling for x86 or for some other arch?

--
You are receiving this mail because:
You reported the bug.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#5 lore raw

[Bug 63381] cpumask.h error

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=63381

--- Comment #5 from DarinV <[email protected]> ---
Well I still get an error. I am attaching the whole terminal output so you guys can see all of it.

supergamer://home/supervl/Desktop/backports-20131122-2
root:# make menuconfig
Generating local configuration database from kernel ... done. cc -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer
-DCURSES_LOC="<ncurses.h>" -DLOCALE -c -o mconf.o mconf.c
cc -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer
-DCURSES_LOC="<ncurses.h>" -DLOCALE -c -o zconf.tab.o zconf.tab.c
menu.c: In function `get_symbol_str':
menu.c:515: warning: 'jump' might be used uninitialized in this function cc -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer
-DCURSES_LOC="<ncurses.h>" -DLOCALE -c -o lxdialog/checklist.o
lxdialog/checklist.ccc -Wall -Wmissing-prototypes -Wstrict-prototypes -O2
-fomit-frame-pointer -DCURSES_LOC="<ncurses.h>" -DLOCALE -c -o
lxdialog/inputbox.o lxdialog/inputbox.c
cc -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer
-DCURSES_LOC="<ncurses.h>" -DLOCALE -c -o lxdialog/menubox.o
lxdialog/menubox.c
cc -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer
-DCURSES_LOC="<ncurses.h>" -DLOCALE -c -o lxdialog/textbox.o
lxdialog/textbox.c
cc -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer
-DCURSES_LOC="<ncurses.h>" -DLOCALE -c -o lxdialog/util.o lxdialog/util.c
cc -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer
-DCURSES_LOC="<ncurses.h>" -DLOCALE -c -o lxdialog/yesno.o lxdialog/yesno.c
cc -Wl,--no-as-needed -lncursesw mconf.o zconf.tab.o lxdialog/checklist.o lxdialog/inputbox.o lxdialog/menubox.o lxdialog/textbox.o lxdialog/util.o
lxdialog/yesno.o -o mconf

*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.

supergamer://home/supervl/Desktop/backports-20131122-2 root:# make
cc -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -c
-o conf.o conf.c
cc conf.o zconf.tab.o -o conf
#

# configuration written to .config
#
Building backport-include/backport/autoconf.h ... done.

WARNING: Symbol version dump /usr/src/linux-2.6.27.57/Module.symvers
is missing; modules will have no dependencies and modversions.

  CC [M]  /home/supervl/Desktop/backports-20131122-2/compat/main.o
  CC [M]  /home/supervl/Desktop/backports-20131122-2/compat/compat-2.6.28.o
  CC [M]  /home/supervl/Desktop/backports-20131122-2/compat/compat-2.6.29.o
  CC [M]  /home/supervl/Desktop/backports-20131122-2/compat/compat-2.6.32.o
  CC [M]  /home/supervl/Desktop/backports-20131122-2/compat/compat-2.6.33.o
  CC [M]  /home/supervl/Desktop/backports-20131122-2/compat/compat-2.6.34.o
  CC [M]  /home/supervl/Desktop/backports-20131122-2/compat/compat-2.6.35.o
  CC [M]  /home/supervl/Desktop/backports-20131122-2/compat/compat-2.6.36.o
  CC [M]  /home/supervl/Desktop/backports-20131122-2/compat/compat-2.6.37.o
  CC [M]  /home/supervl/Desktop/backports-20131122-2/compat/compat-2.6.39.o
  CC [M]  /home/supervl/Desktop/backports-20131122-2/compat/kstrtox.o
In file included from include/linux/cpumask.h:139,
                 from include/asm/processor.h:25,
                 from include/asm/atomic_32.h:5,
                 from include/asm/atomic.h:2,
                 from

/home/supervl/Desktop/backports-20131122-2/backport-include/asm/atomic.h:3,
from
/home/supervl/Desktop/backports-20131122-2/backport-include/linux/types.h:37,
from include/linux/kernel.h:13,
from
/home/supervl/Desktop/backports-20131122-2/backport-include/linux/kernel.h:3,
from
/home/supervl/Desktop/backports-20131122-2/compat/kstrtox.c:14:
include/linux/bitmap.h: In function `bitmap_zero':
include/linux/bitmap.h:145: error: implicit declaration of function `DIV_ROUND_UP'
In file included from include/asm/processor.h:25,

                 from include/asm/atomic_32.h:5,
                 from include/asm/atomic.h:2,
                 from

/home/supervl/Desktop/backports-20131122-2/backport-include/asm/atomic.h:3,
from
/home/supervl/Desktop/backports-20131122-2/backport-include/linux/types.h:37,
from include/linux/kernel.h:13,
from
/home/supervl/Desktop/backports-20131122-2/backport-include/linux/kernel.h:3,
from
/home/supervl/Desktop/backports-20131122-2/compat/kstrtox.c:14:
include/linux/cpumask.h: At top level:
include/linux/cpumask.h:141: error: variable-size type declared outside of any function
include/linux/cpumask.h:276: error: variable-size type declared outside of any function
In file included from include/asm/atomic_32.h:5,
from include/asm/atomic.h:2,
from
/home/supervl/Desktop/backports-20131122-2/backport-include/asm/atomic.h:3,
from
/home/supervl/Desktop/backports-20131122-2/backport-include/linux/types.h:37,
from include/linux/kernel.h:13,
from
/home/supervl/Desktop/backports-20131122-2/backport-include/linux/kernel.h:3,
from
/home/supervl/Desktop/backports-20131122-2/compat/kstrtox.c:14:
include/asm/processor.h: In function `native_get_debugreg':
include/asm/processor.h:443: error: implicit declaration of function `BUG' make[6]: *** [/home/supervl/Desktop/backports-20131122-2/compat/kstrtox.o] Error 1
make[5]: *** [/home/supervl/Desktop/backports-20131122-2/compat] Error 2 make[4]: *** [_module_/home/supervl/Desktop/backports-20131122-2] Error 2 make[3]: *** [modules] Error 2
make[2]: *** [modules] Error 2
make[1]: *** [modules] Error 2
make: *** [default] Error 2 supergamer://home/supervl/Desktop/backports-20131122-2
root:#

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#6 lore raw

[Bug 63381] cpumask.h error

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=63381

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #6 from [email protected] ---
This bug seems old dated. Please can we close it update it's status. Regards Nick

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.