Modify

Opened 4 years ago

Closed 4 years ago

#15284 closed defect (fixed)

Error compiling last trunk version lantiq TP-LINK 8970

Reported by: rylos78@… Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: toolchain Version: Trunk
Keywords: w8970 Cc:

Description

This is what happens with recent trunk revisions when compiling for
Lantiq XRX200 TP-LINK TD-W8970

from /home/marco/openwrt/trunk/build_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/linux-lantiq_xrx200/drv_mei_cpe-1.2.0/src/drv_mei_cpe_common.c:23:
/home/marco/openwrt/trunk/build_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/linux-lantiq_xrx200/linux-3.10.32/include/linux/cpumask.h: In function 'cpumask_parse':
/home/marco/openwrt/trunk/build_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/linux-lantiq_xrx200/linux-3.10.32/include/linux/cpumask.h:603:26: warning: signed and unsigned type in conditional expression [-Wsign-compare]
  int len = nl ? nl - buf : strlen(buf);
                          ^
{standard input}: Assembler messages:
{standard input}:2763: Error: illegal operands `lbu'
{standard input}:2765: Error: illegal operands `sb'
{standard input}:2766: Error: illegal operands `bnez'
make[9]: *** [/home/marco/openwrt/trunk/build_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/linux-lantiq_xrx200/drv_mei_cpe-1.2.0/src/drv_mei_cpe_common.o] Error 1
make[8]: *** [_module_/home/marco/openwrt/trunk/build_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/linux-lantiq_xrx200/drv_mei_cpe-1.2.0/src] Error 2
make[7]: *** [sub-make] Error 2
make[7]: Leaving directory `/home/marco/openwrt/trunk/build_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/linux-lantiq_xrx200/linux-3.10.32'
make[6]: *** [drv_mei_cpe.ko] Error 2
make[6]: Leaving directory `/home/marco/openwrt/trunk/build_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/linux-lantiq_xrx200/drv_mei_cpe-1.2.0/src'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/home/marco/openwrt/trunk/build_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/linux-lantiq_xrx200/drv_mei_cpe-1.2.0/src'
make[5]: Entering directory `/home/marco/openwrt/trunk/build_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/linux-lantiq_xrx200/drv_mei_cpe-1.2.0'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/home/marco/openwrt/trunk/build_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/linux-lantiq_xrx200/drv_mei_cpe-1.2.0'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/marco/openwrt/trunk/build_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/linux-lantiq_xrx200/drv_mei_cpe-1.2.0'
make[3]: *** [/home/marco/openwrt/trunk/build_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/linux-lantiq_xrx200/drv_mei_cpe-1.2.0/.built] Error 2
make[3]: Leaving directory `/home/marco/openwrt/trunk/package/kernel/lantiq/ltq-vdsl-mei'
make[2]: *** [package/kernel/lantiq/ltq-vdsl-mei/compile] Error 2
make[2]: Leaving directory `/home/marco/openwrt/trunk'
make[1]: *** [/home/marco/openwrt/trunk/staging_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/marco/openwrt/trunk'
make: *** [world] Error 2

Attachments (0)

Change History (3)

comment:1 follow-up: Changed 4 years ago by hnyman

Looks like ltq-vdsl-mei is one more candidate for MIPS16 incompatibility.

You might try adding a MIPS16 disable line into the Makefile of that package.
https://dev.openwrt.org/browser/trunk/package/kernel/lantiq/ltq-vdsl-mei/Makefile

PKG_USE_MIPS16:=0

(see example e.g. at r39919)

comment:2 in reply to: ↑ 1 Changed 4 years ago by ppvazquezfer@…

Replying to hnyman:

Looks like ltq-vdsl-mei is one more candidate for MIPS16 incompatibility.

You might try adding a MIPS16 disable line into the Makefile of that package.
https://dev.openwrt.org/browser/trunk/package/kernel/lantiq/ltq-vdsl-mei/Makefile

PKG_USE_MIPS16:=0

(see example e.g. at r39919)

Yes, adding PKG_USE_MIPS16:=0 the problem disappeared. Good catch!

comment:3 Changed 4 years ago by nbd

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

fixed in r39944

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.