[FS#1196] ifxos: does not build using glibc instead musl

LEDE Bugs lede-bugs at lists.infradead.org
Tue Nov 28 02:17:52 PST 2017


A new Flyspray task has been opened.  Details are below. 

User who did this - kochstefan (kochstefan) 

Attached to Project - LEDE Project
Summary - ifxos: does not build using glibc instead musl
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - High
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - ifxos does not compile using the glibc based toolchain. Build with musl based toolchain works.
glibc toolchain is essential for development purposes. E. g. Asterisk was known to have problems with musl.

 - Device VGV7510KW22NOR
 - LEDE revision 179125d3341182017359604ec950bd491da96611
 - Compile sources with glibc instead of musl

Error messages:
 In file included from /home/stefan/Router/o26431-vmmc_v5/source/staging_dir/toolchain-mips_24kc_gcc-5.5.0_glibc/include/bits/fcntl-linux.h:321:0,
                 from /home/stefan/Router/o26431-vmmc_v5/source/staging_dir/toolchain-mips_24kc_gcc-5.5.0_glibc/include/bits/fcntl.h:104,
                 from /home/stefan/Router/o26431-vmmc_v5/source/staging_dir/toolchain-mips_24kc_gcc-5.5.0_glibc/include/fcntl.h:35,
                 from linux/ifxos_linux_device_access_appl.c:30:
/home/stefan/Router/o26431-vmmc_v5/source/build_dir/target-mips_24kc_glibc/linux-lantiq_xrx200/linux-4.9.65/include/linux/falloc.h:12:2: error: unknown type name '__s16'
  __s16  l_type;
  ^
/home/stefan/Router/o26431-vmmc_v5/source/build_dir/target-mips_24kc_glibc/linux-lantiq_xrx200/linux-4.9.65/include/linux/falloc.h:13:2: error: unknown type name '__s16'
  __s16  l_whence;
  ^
/home/stefan/Router/o26431-vmmc_v5/source/build_dir/target-mips_24kc_glibc/linux-lantiq_xrx200/linux-4.9.65/include/linux/falloc.h:14:2: error: unknown type name '__s64'
  __s64  l_start;
  ^
/home/stefan/Router/o26431-vmmc_v5/source/build_dir/target-mips_24kc_glibc/linux-lantiq_xrx200/linux-4.9.65/include/linux/falloc.h:15:2: error: unknown type name '__s64'
  __s64  l_len;  /* len == 0 means until end of file */
  ^
/home/stefan/Router/o26431-vmmc_v5/source/build_dir/target-mips_24kc_glibc/linux-lantiq_xrx200/linux-4.9.65/include/linux/falloc.h:16:2: error: unknown type name '__s32'
  __s32  l_sysid;
  ^
/home/stefan/Router/o26431-vmmc_v5/source/build_dir/target-mips_24kc_glibc/linux-lantiq_xrx200/linux-4.9.65/include/linux/falloc.h:17:2: error: unknown type name '__u32'
  __u32  l_pid;
  ^
/home/stefan/Router/o26431-vmmc_v5/source/build_dir/target-mips_24kc_glibc/linux-lantiq_xrx200/linux-4.9.65/include/linux/falloc.h:18:2: error: unknown type name '__s32'
  __s32  l_pad[4]; /* reserved area */
  ^
Makefile:1945: recipe for target 'libifxos_a-ifxos_linux_device_access_appl.o' failed

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=1196



More information about the lede-bugs mailing list