Bug 10266

Summary: /usr/include/limits.h:145:17: error: missing binary operator before token "("
Product: uClibc Reporter: Mike <velichita7>
Component: Standard ComplianceAssignee: unassigned
Status: NEW ---    
Severity: blocker CC: uclibc-cvs
Priority: P5    
Version: 0.9.33.3   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Target:
Build:
Attachments: my config

Description Mike 2017-08-29 13:01:52 UTC
Created attachment 7221 [details]
my config

Log:
========
  CC ldso/ldso/ldso.oS
In file included from ./include/limits.h:125:0,
                 from ./include/sys/param.h:26,
                 from ./ldso/include/ldso.h:40,
                 from ldso/ldso/ldso.c:33:
/usr/include/limits.h:145:17: error: missing binary operator before token "("
 #if __GLIBC_USE (IEC_60559_BFP_EXT)
                 ^
In file included from ./ldso/include/dl-string.h:11:0,
                 from ./ldso/include/ldso.h:44,
                 from ldso/ldso/ldso.c:33:
./ldso/ldso/arm/dl-sysdep.h: In function 'elf_machine_load_address':
./ldso/ldso/arm/dl-sysdep.h:119:37: warning: taking address of expression of type 'void'
  Elf32_Addr got_addr = (Elf32_Addr) &__dl_start;
                                     ^
In file included from ldso/ldso/ldso.c:46:0:
ldso/ldso/arm/elfinterp.c: In function '_dl_linux_resolver':
ldso/ldso/arm/elfinterp.c:72:11: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
  new_addr = _dl_find_hash(symname, &_dl_loaded_modules->symbol_scope,
           ^
ldso/ldso/arm/elfinterp.c: In function '_dl_do_reloc':
ldso/ldso/arm/elfinterp.c:206:15: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
   symbol_addr = _dl_find_hash(symname, scope, tpnt,
               ^
ldso/ldso/arm/elfinterp.c:193:22: warning: variable 'def_mod' set but not used [-Wunused-but-set-variable]
  struct elf_resolve *def_mod = 0;
                      ^~~~~~~
In file included from ./ldso/ldso/arm/dl-startup.h:10:0,
                 from ldso/ldso/dl-startup.c:95,
                 from ldso/ldso/ldso.c:93:
./include/bits/arm_asm.h: At top level:
./include/bits/arm_asm.h:6:1: error: expected identifier or '(' before '.' token
 .thumb
 ^
make: *** [Makerules:360: ldso/ldso/ldso.oS] Error 1
===============
I compile for the ARM platform, I attached my .config with which I'm trying to compile the UI;
I used the following line to compile according to your instructions: make CROSS=arm-linux-gnueabihf-
My system: Linux nigga 4.12.4-1-ARCH #1 SMP PREEMPT Fri Jul 28 18:54:18 UTC 2017 x86_64 GNU/Linux
Compiling with the usual gcc, I have the same error and ask me to help fix it!