[FS#1031] HEAD netifd doesn't build with musl?

LEDE Bugs lede-bugs at lists.infradead.org
Sun Oct 1 18:03:08 PDT 2017


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

User who did this - Nathaniel Wesley Filardo (nwf) 

Attached to Project - LEDE Project
Summary - HEAD netifd doesn't build with musl?
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - Attempting to build 5508510e744ce9dfaba23cb8639977f021bd29f9 for ipq806x with musl libc, I get:

In file included from /tank/openwrt/scratch/builder-usbnetgw2/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-5.4.0_musl_eabi/include/linux/if_bridge.h:17:0,
                 from /tank/openwrt/scratch/builder-usbnetgw2/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/netifd-2017-08-27-7d94ede3/system-linux.c:38:
/tank/openwrt/scratch/builder-usbnetgw2/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-5.4.0_musl_eabi/include/linux/if_ether.h:141:8: error: redefinition of 'struct ethhdr'
 struct ethhdr {                                                               
        ^                                                                           
In file included from /tank/openwrt/scratch/builder-usbnetgw2/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-5.4.0_musl_eabi/include/netinet/ether.h:8:0,
                 from /tank/openwrt/scratch/builder-usbnetgw2/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/netifd-2017-08-27-7d94ede3/system-linux.c:29:
/tank/openwrt/scratch/builder-usbnetgw2/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-5.4.0_musl_eabi/include/netinet/if_ether.h:101:8: note: originally defined here
 struct ethhdr {                                                                                                                                    
        ^                                                                    
In file included from /tank/openwrt/scratch/builder-usbnetgw2/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-5.4.0_musl_eabi/include/linux/if_bridge.h:18:0,
                 from /tank/openwrt/scratch/builder-usbnetgw2/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/netifd-2017-08-27-7d94ede3/system-linux.c:38:
/tank/openwrt/scratch/builder-usbnetgw2/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-5.4.0_musl_eabi/include/linux/in6.h:32:8: error: redefinition of 'struct in6_addr'
 struct in6_addr {        
        ^                                                                                                                                           
In file included from /tank/openwrt/scratch/builder-usbnetgw2/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-5.4.0_musl_eabi/include/arpa/inet.h:9:0,            
                 from /tank/openwrt/scratch/builder-usbnetgw2/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/netifd-2017-08-27-7d94ede3/system-linux.c:28:
/tank/openwrt/scratch/builder-usbnetgw2/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-5.4.0_musl_eabi/include/netinet/in.h:23:8: note: originally defined here
 struct in6_addr {                                                                    
        ^                                                   
In file included from /tank/openwrt/scratch/builder-usbnetgw2/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-5.4.0_musl_eabi/include/linux/if_bridge.h:18:0,
                 from /tank/openwrt/scratch/builder-usbnetgw2/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/netifd-2017-08-27-7d94ede3/system-linux.c:38:      
/tank/openwrt/scratch/builder-usbnetgw2/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-5.4.0_musl_eabi/include/linux/in6.h:49:8: error: redefinition of 'struct sockaddr_in6'
 struct sockaddr_in6 {                                              
        ^                                                                                        
In file included from /tank/openwrt/scratch/builder-usbnetgw2/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-5.4.0_musl_eabi/include/arpa/inet.h:9:0,
                 from /tank/openwrt/scratch/builder-usbnetgw2/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/netifd-2017-08-27-7d94ede3/system-linux.c:28:                                    
/tank/openwrt/scratch/builder-usbnetgw2/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-5.4.0_musl_eabi/include/netinet/in.h:34:8: note: originally defined here
 struct sockaddr_in6 {                                    
        ^
In file included from /tank/openwrt/scratch/builder-usbnetgw2/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-5.4.0_musl_eabi/include/linux/if_bridge.h:18:0,
                 from /tank/openwrt/scratch/builder-usbnetgw2/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/netifd-2017-08-27-7d94ede3/system-linux.c:38:
/tank/openwrt/scratch/builder-usbnetgw2/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-5.4.0_musl_eabi/include/linux/in6.h:59:8: error: redefinition of 'struct ipv6_mreq'
 struct ipv6_mreq {
        ^
In file included from /tank/openwrt/scratch/builder-usbnetgw2/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-5.4.0_musl_eabi/include/arpa/inet.h:9:0,
                 from /tank/openwrt/scratch/builder-usbnetgw2/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/netifd-2017-08-27-7d94ede3/system-linux.c:28:
/tank/openwrt/scratch/builder-usbnetgw2/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-5.4.0_musl_eabi/include/netinet/in.h:42:8: note: originally defined here
 struct ipv6_mreq {
        ^
In file included from /tank/openwrt/scratch/builder-usbnetgw2/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/netifd-2017-08-27-7d94ede3/system-linux.c:25:0:
/tank/openwrt/scratch/builder-usbnetgw2/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-5.4.0_musl_eabi/include/linux/if.h:79:2: error: expected identifier before numeric constant
  IFF_UP    = 1



More information about the lede-bugs mailing list