Modify

Opened 3 years ago

Closed 3 years ago

#19146 closed defect (fixed)

build error UML / hwsim / mac80211 / r44683

Reported by: bittorf@… Owned by: developers
Priority: normal Milestone:
Component: packages Version: Trunk
Keywords: Cc:

Description

fresh build of r44683 on x86_64 with 'make -j1'

#
# configuration written to .config
#
Building backport-include/backport/autoconf.h ... done.
  CC [M]  /home/bastian/openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/linux-uml/compat-wireless-2015-03-09/compat/main.o
In file included from include/linux/time.h:5:0,
                 from include/linux/stat.h:18,
                 from include/linux/module.h:10,
                 from /home/bastian/openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/linux-uml/compat-wireless-2015-03-09/backport-include/linux/module.h:3,
                 from /home/bastian/openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/linux-uml/compat-wireless-2015-03-09/compat/main.c:1:
include/linux/seqlock.h: In function 'raw_read_seqcount_begin':
include/linux/seqlock.h:131:2: error: implicit declaration of function 'smp_rmb' [-Werror=implicit-function-declaration]
include/linux/seqlock.h: In function 'raw_write_seqcount_begin':
include/linux/seqlock.h:211:2: error: implicit declaration of function 'smp_wmb' [-Werror=implicit-function-declaration]
In file included from /home/bastian/openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/linux-uml/compat-wireless-2015-03-09/backport-include/linux/idr.h:5:0,
                 from include/linux/kernfs.h:14,
                 from include/linux/sysfs.h:15,
                 from /home/bastian/openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/linux-uml/compat-wireless-2015-03-09/backport-include/linux/sysfs.h:3,
                 from include/linux/kobject.h:21,
                 from include/linux/module.h:16,
                 from /home/bastian/openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/linux-uml/compat-wireless-2015-03-09/backport-include/linux/module.h:3,
                 from /home/bastian/openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/linux-uml/compat-wireless-2015-03-09/compat/main.c:1:
include/linux/idr.h: In function 'idr_find':
include/linux/idr.h:114:9: error: implicit declaration of function 'smp_read_barrier_depends' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[9]: *** [/home/bastian/openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/linux-uml/compat-wireless-2015-03-09/compat/main.o] Error 1
make[8]: *** [/home/bastian/openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/linux-uml/compat-wireless-2015-03-09/compat] Error 2
make[7]: *** [_module_/home/bastian/openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/linux-uml/compat-wireless-2015-03-09] Error 2
make[6]: *** [modules] Error 2
make[5]: *** [modules] Error 2
make[4]: *** [modules] Error 2
make[4]: Leaving directory `/home/bastian/openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/linux-uml/compat-wireless-2015-03-09'
make[3]: *** [/home/bastian/openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/linux-uml/compat-wireless-2015-03-09/.built] Error 2

Attachments (0)

Change History (3)

comment:1 Changed 3 years ago by bittorf@…

the same goes for r44944: (in r44937 the kernel was bumed to 3.18)

bastian@gcc20:~/openwrt$ cat logs/package/kernel/mac80211/compile.txt
make[4]: Entering directory `/home/bastian/openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/linux-uml/compat-wireless-2015-03-09'
make[5]: `Kconfig.versions' is up to date.
make[6]: `conf' is up to date.
#
# configuration written to .config
#
make[4]: Leaving directory `/home/bastian/openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/linux-uml/compat-wireless-2015-03-09'
make[4]: Entering directory `/home/bastian/openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/linux-uml/compat-wireless-2015-03-09'
make[5]: `Kconfig.versions' is up to date.
make[7]: `Kconfig.versions' is up to date.
make[8]: `conf' is up to date.
#
# configuration written to .config
#
Building backport-include/backport/autoconf.h ... done.
  CC [M]  /home/bastian/openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/linux-uml/compat-wireless-2015-03-09/compat/main.o
In file included from include/linux/time.h:5:0,
                 from include/linux/stat.h:18,
                 from include/linux/module.h:10,
                 from /home/bastian/openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/linux-uml/compat-wireless-2015-03-09/backport-include/linux/module.h:3,
                 from /home/bastian/openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/linux-uml/compat-wireless-2015-03-09/compat/main.c:1:
include/linux/seqlock.h: In function 'raw_read_seqcount':
include/linux/seqlock.h:131:2: error: implicit declaration of function 'smp_rmb' [-Werror=implicit-function-declaration]
include/linux/seqlock.h: In function 'raw_write_seqcount_begin':
include/linux/seqlock.h:227:2: error: implicit declaration of function 'smp_wmb' [-Werror=implicit-function-declaration]
In file included from /home/bastian/openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/linux-uml/compat-wireless-2015-03-09/backport-include/linux/idr.h:5:0,
                 from include/linux/kernfs.h:14,
                 from include/linux/sysfs.h:15,
                 from /home/bastian/openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/linux-uml/compat-wireless-2015-03-09/backport-include/linux/sysfs.h:3,
                 from include/linux/kobject.h:21,
                 from include/linux/module.h:16,
                 from /home/bastian/openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/linux-uml/compat-wireless-2015-03-09/backport-include/linux/module.h:3,
                 from /home/bastian/openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/linux-uml/compat-wireless-2015-03-09/compat/main.c:1:
include/linux/idr.h: In function 'idr_find':
include/linux/idr.h:117:9: error: implicit declaration of function 'smp_read_barrier_depends' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[9]: *** [/home/bastian/openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/linux-uml/compat-wireless-2015-03-09/compat/main.o] Error 1
make[8]: *** [/home/bastian/openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/linux-uml/compat-wireless-2015-03-09/compat] Error 2
make[7]: *** [_module_/home/bastian/openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/linux-uml/compat-wireless-2015-03-09] Error 2
make[6]: *** [modules] Error 2
make[5]: *** [modules] Error 2
make[4]: *** [modules] Error 2
make[4]: Leaving directory `/home/bastian/openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/linux-uml/compat-wireless-2015-03-09'
make[3]: *** [/home/bastian/openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/linux-uml/compat-wireless-2015-03-09/.built] Error 2

comment:2 Changed 3 years ago by bittorf@…

disabling mac80211 which was done in r44953 fixes the build-issue, but
not having hwsim is...sad

comment:3 Changed 3 years ago by blogic

  • Resolution set to fixed
  • Status changed from new to closed

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.