[Bug 9026] New: compilation error when cross compiling using gcc 6.1.1 on Arch Linux

bugzilla at busybox.net bugzilla at busybox.net
Sat Jun 18 18:10:20 UTC 2016


https://bugs.busybox.net/show_bug.cgi?id=9026

            Bug ID: 9026
           Summary: compilation error when cross compiling using gcc 6.1.1
                    on Arch Linux
           Product: uClibc
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at uclibc.org
          Reporter: dosm.mail at gmail.com
                CC: uclibc-cvs at uclibc.org
  Target Milestone: ---

I am using the current master git version. I tried cross-compiling uClibc using
the arm-linux-gnueabihf-gcc (version 6.1.1) from the AUR (Arch User
Repository). I did 

make ARCH=arm defconfig

then enabled eabi and changed the kernel headers include dir. Running

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-

results in:

In file included from ./include/sys/syscall.h:33:0,
                 from ./ldso/include/dl-syscall.h:13,
                 from ./ldso/include/ldso.h:47,
                 from ldso/ldso/ldso.c:33:
./ldso/include/dl-syscall.h: In function '_dl_exit':
./include/bits/syscalls.h:54:19: error: expected expression before ')' token
        _nr = (name);       \
                   ^
./include/bits/syscalls.h:36:40: note: in expansion of macro
'INTERNAL_SYSCALL_NCS'
      unsigned int _inline_sys_result = INTERNAL_SYSCALL_NCS (name, , nr,
args);\
                                        ^~~~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:34:44: note: in expansion of macro
'INLINE_SYSCALL_NCS'
 # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr,
args)
                                            ^~~~~~~~~~~~~~~~~~
./ldso/include/dl-syscall.h:57:2: note: in expansion of macro 'INLINE_SYSCALL'
  INLINE_SYSCALL(_dl_exit, 1, status);
  ^~~~~~~~~~~~~~
./ldso/include/dl-syscall.h: In function '_dl_close':
./include/bits/syscalls.h:54:19: error: expected expression before ')' token
        _nr = (name);       \
                   ^
./include/bits/syscalls.h:36:40: note: in expansion of macro
'INTERNAL_SYSCALL_NCS'
      unsigned int _inline_sys_result = INTERNAL_SYSCALL_NCS (name, , nr,
args);\
                                        ^~~~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:34:44: note: in expansion of macro
'INLINE_SYSCALL_NCS'
 # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr,
args)
                                            ^~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:97:15: note: in expansion of macro
'INLINE_SYSCALL'
  return (type)INLINE_SYSCALL(name, nargs, C_ARGS_##nargs(args)); \
               ^~~~~~~~~~~~~~
./include/bits/syscalls-common.h:107:29: note: in expansion of macro
'SYSCALL_FUNC'
 #define _syscall1(args...)  SYSCALL_FUNC(1, args)
                             ^~~~~~~~~~~~
./ldso/include/dl-syscall.h:66:24: note: in expansion of macro '_syscall1'
 static __always_inline _syscall1(int, _dl_close, int, fd)
                        ^~~~~~~~~
./ldso/include/dl-syscall.h: In function '_dl_open':
./include/bits/syscalls.h:54:19: error: expected expression before ')' token
        _nr = (name);       \
                   ^
./include/bits/syscalls.h:36:40: note: in expansion of macro
'INTERNAL_SYSCALL_NCS'
      unsigned int _inline_sys_result = INTERNAL_SYSCALL_NCS (name, , nr,
args);\
                                        ^~~~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:34:44: note: in expansion of macro
'INLINE_SYSCALL_NCS'
 # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr,
args)
                                            ^~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:97:15: note: in expansion of macro
'INLINE_SYSCALL'
  return (type)INLINE_SYSCALL(name, nargs, C_ARGS_##nargs(args)); \
               ^~~~~~~~~~~~~~
./include/bits/syscalls-common.h:110:29: note: in expansion of macro
'SYSCALL_FUNC'
 #define _syscall3(args...)  SYSCALL_FUNC(3, args)
                             ^~~~~~~~~~~~
./ldso/include/dl-syscall.h:77:24: note: in expansion of macro '_syscall3'
 static __always_inline _syscall3(int, _dl_open, const char *, fn, int, flags,
                        ^~~~~~~~~
./ldso/include/dl-syscall.h: In function '_dl_write':
./include/bits/syscalls.h:54:19: error: expected expression before ')' token
        _nr = (name);       \
                   ^
./include/bits/syscalls.h:36:40: note: in expansion of macro
'INTERNAL_SYSCALL_NCS'
      unsigned int _inline_sys_result = INTERNAL_SYSCALL_NCS (name, , nr,
args);\
                                        ^~~~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:34:44: note: in expansion of macro
'INLINE_SYSCALL_NCS'
 # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr,
args)
                                            ^~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:97:15: note: in expansion of macro
'INLINE_SYSCALL'
  return (type)INLINE_SYSCALL(name, nargs, C_ARGS_##nargs(args)); \
               ^~~~~~~~~~~~~~
./include/bits/syscalls-common.h:110:29: note: in expansion of macro
'SYSCALL_FUNC'
 #define _syscall3(args...)  SYSCALL_FUNC(3, args)
                             ^~~~~~~~~~~~
./ldso/include/dl-syscall.h:82:24: note: in expansion of macro '_syscall3'
 static __always_inline _syscall3(unsigned long, _dl_write, int, fd,
                        ^~~~~~~~~
./ldso/include/dl-syscall.h: In function '_dl_read':
./include/bits/syscalls.h:54:19: error: expected expression before ')' token
        _nr = (name);       \
                   ^
./include/bits/syscalls.h:36:40: note: in expansion of macro
'INTERNAL_SYSCALL_NCS'
      unsigned int _inline_sys_result = INTERNAL_SYSCALL_NCS (name, , nr,
args);\
                                        ^~~~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:34:44: note: in expansion of macro
'INLINE_SYSCALL_NCS'
 # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr,
args)
                                            ^~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:97:15: note: in expansion of macro
'INLINE_SYSCALL'
  return (type)INLINE_SYSCALL(name, nargs, C_ARGS_##nargs(args)); \
               ^~~~~~~~~~~~~~
./include/bits/syscalls-common.h:110:29: note: in expansion of macro
'SYSCALL_FUNC'
 #define _syscall3(args...)  SYSCALL_FUNC(3, args)
                             ^~~~~~~~~~~~
./ldso/include/dl-syscall.h:86:24: note: in expansion of macro '_syscall3'
 static __always_inline _syscall3(unsigned long, _dl_read, int, fd,
                        ^~~~~~~~~
./ldso/include/dl-syscall.h: In function '_dl_mprotect':
./include/bits/syscalls.h:54:19: error: expected expression before ')' token
        _nr = (name);       \
                   ^
./include/bits/syscalls.h:36:40: note: in expansion of macro
'INTERNAL_SYSCALL_NCS'
      unsigned int _inline_sys_result = INTERNAL_SYSCALL_NCS (name, , nr,
args);\
                                        ^~~~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:34:44: note: in expansion of macro
'INLINE_SYSCALL_NCS'
 # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr,
args)
                                            ^~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:97:15: note: in expansion of macro
'INLINE_SYSCALL'
  return (type)INLINE_SYSCALL(name, nargs, C_ARGS_##nargs(args)); \
               ^~~~~~~~~~~~~~
./include/bits/syscalls-common.h:110:29: note: in expansion of macro
'SYSCALL_FUNC'
 #define _syscall3(args...)  SYSCALL_FUNC(3, args)
                             ^~~~~~~~~~~~
./ldso/include/dl-syscall.h:90:24: note: in expansion of macro '_syscall3'
 static __always_inline _syscall3(int, _dl_mprotect, const void *, addr,
                        ^~~~~~~~~
./ldso/include/dl-syscall.h: In function '_dl_stat':
./include/bits/syscalls.h:54:19: error: expected expression before ')' token
        _nr = (name);       \
                   ^
./include/bits/syscalls.h:36:40: note: in expansion of macro
'INTERNAL_SYSCALL_NCS'
      unsigned int _inline_sys_result = INTERNAL_SYSCALL_NCS (name, , nr,
args);\
                                        ^~~~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:34:44: note: in expansion of macro
'INLINE_SYSCALL_NCS'
 # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr,
args)
                                            ^~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:97:15: note: in expansion of macro
'INLINE_SYSCALL'
  return (type)INLINE_SYSCALL(name, nargs, C_ARGS_##nargs(args)); \
               ^~~~~~~~~~~~~~
./include/bits/syscalls-common.h:109:29: note: in expansion of macro
'SYSCALL_FUNC'
 #define _syscall2(args...)  SYSCALL_FUNC(2, args)
                             ^~~~~~~~~~~~
./ldso/include/dl-syscall.h:105:24: note: in expansion of macro '_syscall2'
 static __always_inline _syscall2(int, _dl_stat, const char *, file_name,
                        ^~~~~~~~~
./ldso/include/dl-syscall.h: In function '_dl_fstat':
./include/bits/syscalls.h:54:19: error: expected expression before ')' token
        _nr = (name);       \
                   ^
./include/bits/syscalls.h:36:40: note: in expansion of macro
'INTERNAL_SYSCALL_NCS'
      unsigned int _inline_sys_result = INTERNAL_SYSCALL_NCS (name, , nr,
args);\
                                        ^~~~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:34:44: note: in expansion of macro
'INLINE_SYSCALL_NCS'
 # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr,
args)
                                            ^~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:97:15: note: in expansion of macro
'INLINE_SYSCALL'
  return (type)INLINE_SYSCALL(name, nargs, C_ARGS_##nargs(args)); \
               ^~~~~~~~~~~~~~
./include/bits/syscalls-common.h:109:29: note: in expansion of macro
'SYSCALL_FUNC'
 #define _syscall2(args...)  SYSCALL_FUNC(2, args)
                             ^~~~~~~~~~~~
./ldso/include/dl-syscall.h:114:24: note: in expansion of macro '_syscall2'
 static __always_inline _syscall2(int, _dl_fstat, int, fd, struct stat *, buf)
                        ^~~~~~~~~
./ldso/include/dl-syscall.h: In function '_dl_munmap':
./include/bits/syscalls.h:54:19: error: expected expression before ')' token
        _nr = (name);       \
                   ^
./include/bits/syscalls.h:36:40: note: in expansion of macro
'INTERNAL_SYSCALL_NCS'
      unsigned int _inline_sys_result = INTERNAL_SYSCALL_NCS (name, , nr,
args);\
                                        ^~~~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:34:44: note: in expansion of macro
'INLINE_SYSCALL_NCS'
 # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr,
args)
                                            ^~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:97:15: note: in expansion of macro
'INLINE_SYSCALL'
  return (type)INLINE_SYSCALL(name, nargs, C_ARGS_##nargs(args)); \
               ^~~~~~~~~~~~~~
./include/bits/syscalls-common.h:109:29: note: in expansion of macro
'SYSCALL_FUNC'
 #define _syscall2(args...)  SYSCALL_FUNC(2, args)
                             ^~~~~~~~~~~~
./ldso/include/dl-syscall.h:117:24: note: in expansion of macro '_syscall2'
 static __always_inline _syscall2(int, _dl_munmap, void *, start, unsigned
long, length)
                        ^~~~~~~~~
./ldso/include/dl-syscall.h: In function '_dl_getuid':
./include/bits/syscalls.h:54:19: error: expected expression before ')' token
        _nr = (name);       \
                   ^
./include/bits/syscalls.h:36:40: note: in expansion of macro
'INTERNAL_SYSCALL_NCS'
      unsigned int _inline_sys_result = INTERNAL_SYSCALL_NCS (name, , nr,
args);\
                                        ^~~~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:34:44: note: in expansion of macro
'INLINE_SYSCALL_NCS'
 # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr,
args)
                                            ^~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:97:15: note: in expansion of macro
'INLINE_SYSCALL'
  return (type)INLINE_SYSCALL(name, nargs, C_ARGS_##nargs(args)); \
               ^~~~~~~~~~~~~~
./include/bits/syscalls-common.h:105:29: note: in expansion of macro
'SYSCALL_FUNC'
 #define _syscall0(args...)  SYSCALL_FUNC(0, args)
                             ^~~~~~~~~~~~
./ldso/include/dl-syscall.h:123:24: note: in expansion of macro '_syscall0'
 static __always_inline _syscall0(uid_t, _dl_getuid)
                        ^~~~~~~~~
./ldso/include/dl-syscall.h: In function '_dl_geteuid':
./include/bits/syscalls.h:54:19: error: expected expression before ')' token
        _nr = (name);       \
                   ^
./include/bits/syscalls.h:36:40: note: in expansion of macro
'INTERNAL_SYSCALL_NCS'
      unsigned int _inline_sys_result = INTERNAL_SYSCALL_NCS (name, , nr,
args);\
                                        ^~~~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:34:44: note: in expansion of macro
'INLINE_SYSCALL_NCS'
 # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr,
args)
                                            ^~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:97:15: note: in expansion of macro
'INLINE_SYSCALL'
  return (type)INLINE_SYSCALL(name, nargs, C_ARGS_##nargs(args)); \
               ^~~~~~~~~~~~~~
./include/bits/syscalls-common.h:105:29: note: in expansion of macro
'SYSCALL_FUNC'
 #define _syscall0(args...)  SYSCALL_FUNC(0, args)
                             ^~~~~~~~~~~~
./ldso/include/dl-syscall.h:129:24: note: in expansion of macro '_syscall0'
 static __always_inline _syscall0(uid_t, _dl_geteuid)
                        ^~~~~~~~~
./ldso/include/dl-syscall.h: In function '_dl_getgid':
./include/bits/syscalls.h:54:19: error: expected expression before ')' token
        _nr = (name);       \
                   ^
./include/bits/syscalls.h:36:40: note: in expansion of macro
'INTERNAL_SYSCALL_NCS'
      unsigned int _inline_sys_result = INTERNAL_SYSCALL_NCS (name, , nr,
args);\
                                        ^~~~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:34:44: note: in expansion of macro
'INLINE_SYSCALL_NCS'
 # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr,
args)
                                            ^~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:97:15: note: in expansion of macro
'INLINE_SYSCALL'
  return (type)INLINE_SYSCALL(name, nargs, C_ARGS_##nargs(args)); \
               ^~~~~~~~~~~~~~
./include/bits/syscalls-common.h:105:29: note: in expansion of macro
'SYSCALL_FUNC'
 #define _syscall0(args...)  SYSCALL_FUNC(0, args)
                             ^~~~~~~~~~~~
./ldso/include/dl-syscall.h:135:24: note: in expansion of macro '_syscall0'
 static __always_inline _syscall0(gid_t, _dl_getgid)
                        ^~~~~~~~~
./ldso/include/dl-syscall.h: In function '_dl_getegid':
./include/bits/syscalls.h:54:19: error: expected expression before ')' token
        _nr = (name);       \
                   ^
./include/bits/syscalls.h:36:40: note: in expansion of macro
'INTERNAL_SYSCALL_NCS'
      unsigned int _inline_sys_result = INTERNAL_SYSCALL_NCS (name, , nr,
args);\
                                        ^~~~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:34:44: note: in expansion of macro
'INLINE_SYSCALL_NCS'
 # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr,
args)
                                            ^~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:97:15: note: in expansion of macro
'INLINE_SYSCALL'
  return (type)INLINE_SYSCALL(name, nargs, C_ARGS_##nargs(args)); \
               ^~~~~~~~~~~~~~
./include/bits/syscalls-common.h:105:29: note: in expansion of macro
'SYSCALL_FUNC'
 #define _syscall0(args...)  SYSCALL_FUNC(0, args)
                             ^~~~~~~~~~~~
./ldso/include/dl-syscall.h:141:24: note: in expansion of macro '_syscall0'
 static __always_inline _syscall0(gid_t, _dl_getegid)
                        ^~~~~~~~~
./ldso/include/dl-syscall.h: In function '_dl_getpid':
./include/bits/syscalls.h:54:19: error: expected expression before ')' token
        _nr = (name);       \
                   ^
./include/bits/syscalls.h:36:40: note: in expansion of macro
'INTERNAL_SYSCALL_NCS'
      unsigned int _inline_sys_result = INTERNAL_SYSCALL_NCS (name, , nr,
args);\
                                        ^~~~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:34:44: note: in expansion of macro
'INLINE_SYSCALL_NCS'
 # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr,
args)
                                            ^~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:97:15: note: in expansion of macro
'INLINE_SYSCALL'
  return (type)INLINE_SYSCALL(name, nargs, C_ARGS_##nargs(args)); \
               ^~~~~~~~~~~~~~
./include/bits/syscalls-common.h:105:29: note: in expansion of macro
'SYSCALL_FUNC'
 #define _syscall0(args...)  SYSCALL_FUNC(0, args)
                             ^~~~~~~~~~~~
./ldso/include/dl-syscall.h:147:24: note: in expansion of macro '_syscall0'
 static __always_inline _syscall0(gid_t, _dl_getpid)
                        ^~~~~~~~~
./ldso/include/dl-syscall.h: In function '_dl_readlink':
./include/bits/syscalls.h:54:19: error: expected expression before ')' token
        _nr = (name);       \
                   ^
./include/bits/syscalls.h:36:40: note: in expansion of macro
'INTERNAL_SYSCALL_NCS'
      unsigned int _inline_sys_result = INTERNAL_SYSCALL_NCS (name, , nr,
args);\
                                        ^~~~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:34:44: note: in expansion of macro
'INLINE_SYSCALL_NCS'
 # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr,
args)
                                            ^~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:97:15: note: in expansion of macro
'INLINE_SYSCALL'
  return (type)INLINE_SYSCALL(name, nargs, C_ARGS_##nargs(args)); \
               ^~~~~~~~~~~~~~
./include/bits/syscalls-common.h:110:29: note: in expansion of macro
'SYSCALL_FUNC'
 #define _syscall3(args...)  SYSCALL_FUNC(3, args)
                             ^~~~~~~~~~~~
./ldso/include/dl-syscall.h:155:24: note: in expansion of macro '_syscall3'
 static __always_inline _syscall3(int, _dl_readlink, const char *, path, char
*, buf,
                        ^~~~~~~~~
./ldso/include/dl-syscall.h: In function '__syscall_pread':
./include/bits/syscalls.h:54:19: error: expected expression before ')' token
        _nr = (name);       \
                   ^
./include/bits/syscalls.h:36:40: note: in expansion of macro
'INTERNAL_SYSCALL_NCS'
      unsigned int _inline_sys_result = INTERNAL_SYSCALL_NCS (name, , nr,
args);\
                                        ^~~~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:34:44: note: in expansion of macro
'INLINE_SYSCALL_NCS'
 # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr,
args)
                                            ^~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:97:15: note: in expansion of macro
'INLINE_SYSCALL'
  return (type)INLINE_SYSCALL(name, nargs, C_ARGS_##nargs(args)); \
               ^~~~~~~~~~~~~~
./include/bits/syscalls-common.h:112:29: note: in expansion of macro
'SYSCALL_FUNC'
 #define _syscall5(args...)  SYSCALL_FUNC(5, args)
                             ^~~~~~~~~~~~
./ldso/include/dl-syscall.h:161:24: note: in expansion of macro '_syscall5'
 static __always_inline _syscall5(ssize_t, __syscall_pread, int, fd, void *,
buf,
                        ^~~~~~~~~
./ldso/include/dl-syscall.h: In function '_dl_mmap':
./include/bits/syscalls.h:54:19: error: expected expression before ')' token
        _nr = (name);       \
                   ^
./include/bits/syscalls.h:36:40: note: in expansion of macro
'INTERNAL_SYSCALL_NCS'
      unsigned int _inline_sys_result = INTERNAL_SYSCALL_NCS (name, , nr,
args);\
                                        ^~~~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:34:44: note: in expansion of macro
'INLINE_SYSCALL_NCS'
 # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr,
args)
                                            ^~~~~~~~~~~~~~~~~~
./ldso/include/dl-syscall.h:221:17: note: in expansion of macro
'INLINE_SYSCALL'
  return (void *)INLINE_SYSCALL(mmap2, 6, addr, size, prot, flags, fd,
shifted);
                 ^~~~~~~~~~~~~~
In file included from ./ldso/include/dl-defs.h:77:0,
                 from ./ldso/include/dl-string.h:16,
                 from ./ldso/include/ldso.h:48,
                 from ldso/ldso/ldso.c:33:
./ldso/ldso/arm/dl-sysdep.h: In function 'elf_machine_load_address':
./ldso/ldso/arm/dl-sysdep.h:114:37: warning: taking address of expression of
type 'void'
  Elf32_Addr got_addr = (Elf32_Addr) &__dl_start;
                                     ^
In file included from ./include/sys/syscall.h:33:0,
                 from ./ldso/include/dl-syscall.h:13,
                 from ./ldso/include/ldso.h:47,
                 from ldso/libdl/libdl.c:33:
./ldso/include/dl-syscall.h: In function '_dl_exit':
./include/bits/syscalls.h:54:19: error: expected expression before ')' token
        _nr = (name);       \
                   ^
./include/bits/syscalls.h:36:40: note: in expansion of macro
'INTERNAL_SYSCALL_NCS'
      unsigned int _inline_sys_result = INTERNAL_SYSCALL_NCS (name, , nr,
args);\
                                        ^~~~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:34:44: note: in expansion of macro
'INLINE_SYSCALL_NCS'
 # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr,
args)
                                            ^~~~~~~~~~~~~~~~~~
./ldso/include/dl-syscall.h:57:2: note: in expansion of macro 'INLINE_SYSCALL'
  INLINE_SYSCALL(_dl_exit, 1, status);
  ^~~~~~~~~~~~~~
./ldso/include/dl-syscall.h: In function '_dl_close':
./include/bits/syscalls.h:54:19: error: expected expression before ')' token
        _nr = (name);       \
                   ^
./include/bits/syscalls.h:36:40: note: in expansion of macro
'INTERNAL_SYSCALL_NCS'
      unsigned int _inline_sys_result = INTERNAL_SYSCALL_NCS (name, , nr,
args);\
                                        ^~~~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:34:44: note: in expansion of macro
'INLINE_SYSCALL_NCS'
 # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr,
args)
                                            ^~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:97:15: note: in expansion of macro
'INLINE_SYSCALL'
  return (type)INLINE_SYSCALL(name, nargs, C_ARGS_##nargs(args)); \
               ^~~~~~~~~~~~~~
./include/bits/syscalls-common.h:107:29: note: in expansion of macro
'SYSCALL_FUNC'
 #define _syscall1(args...)  SYSCALL_FUNC(1, args)
                             ^~~~~~~~~~~~
./ldso/include/dl-syscall.h:66:24: note: in expansion of macro '_syscall1'
 static __always_inline _syscall1(int, _dl_close, int, fd)
                        ^~~~~~~~~
./ldso/include/dl-syscall.h: In function '_dl_open':
./include/bits/syscalls.h:54:19: error: expected expression before ')' token
        _nr = (name);       \
                   ^
./include/bits/syscalls.h:36:40: note: in expansion of macro
'INTERNAL_SYSCALL_NCS'
      unsigned int _inline_sys_result = INTERNAL_SYSCALL_NCS (name, , nr,
args);\
                                        ^~~~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:34:44: note: in expansion of macro
'INLINE_SYSCALL_NCS'
 # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr,
args)
                                            ^~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:97:15: note: in expansion of macro
'INLINE_SYSCALL'
  return (type)INLINE_SYSCALL(name, nargs, C_ARGS_##nargs(args)); \
               ^~~~~~~~~~~~~~
./include/bits/syscalls-common.h:110:29: note: in expansion of macro
'SYSCALL_FUNC'
 #define _syscall3(args...)  SYSCALL_FUNC(3, args)
                             ^~~~~~~~~~~~
./ldso/include/dl-syscall.h:77:24: note: in expansion of macro '_syscall3'
 static __always_inline _syscall3(int, _dl_open, const char *, fn, int, flags,
                        ^~~~~~~~~
./ldso/include/dl-syscall.h: In function '_dl_write':
In file included from ./include/sys/syscall.h:33:0,
                 from libc/sysdeps/linux/arm/brk.c:21:
libc/sysdeps/linux/arm/brk.c: In function 'brk':
./include/bits/syscalls.h:54:19: error: expected expression before ')' token
        _nr = (name);       \
                   ^
./include/bits/syscalls.h:36:40: note: in expansion of macro
'INTERNAL_SYSCALL_NCS'
      unsigned int _inline_sys_result = INTERNAL_SYSCALL_NCS (name, , nr,
args);\
                                        ^~~~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:34:44: note: in expansion of macro
'INLINE_SYSCALL_NCS'
 # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr,
args)
                                            ^~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:97:15: note: in expansion of macro
'INLINE_SYSCALL'
  return (type)INLINE_SYSCALL(name, nargs, C_ARGS_##nargs(args)); \
               ^~~~~~~~~~~~~~
./include/bits/syscalls-common.h:110:29: note: in expansion of macro
'SYSCALL_FUNC'
 #define _syscall3(args...)  SYSCALL_FUNC(3, args)
                             ^~~~~~~~~~~~
./ldso/include/dl-syscall.h:82:24: note: in expansion of macro '_syscall3'
 static __always_inline _syscall3(unsigned long, _dl_write, int, fd,
                        ^~~~~~~~~
./include/bits/syscalls.h:54:19: error: expected expression before ')' token
        _nr = (name);       \
                   ^
./include/bits/syscalls-common.h:70:51: note: in expansion of macro
'INTERNAL_SYSCALL_NCS'
 # define INTERNAL_SYSCALL(name, err, nr, args...)
INTERNAL_SYSCALL_NCS(__NR_##name, err, nr, args)
                                                   ^~~~~~~~~~~~~~~~~~~~
libc/sysdeps/linux/arm/brk.c:29:24: note: in expansion of macro
'INTERNAL_SYSCALL'
  void *newbrk = (void*)INTERNAL_SYSCALL(brk, , 1, addr);
                        ^~~~~~~~~~~~~~~~
./ldso/include/dl-syscall.h: In function '_dl_read':
./include/bits/syscalls.h:54:19: error: expected expression before ')' token
        _nr = (name);       \
                   ^
./include/bits/syscalls.h:36:40: note: in expansion of macro
'INTERNAL_SYSCALL_NCS'
      unsigned int _inline_sys_result = INTERNAL_SYSCALL_NCS (name, , nr,
args);\
                                        ^~~~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:34:44: note: in expansion of macro
'INLINE_SYSCALL_NCS'
 # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr,
args)
                                            ^~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:97:15: note: in expansion of macro
'INLINE_SYSCALL'
  return (type)INLINE_SYSCALL(name, nargs, C_ARGS_##nargs(args)); \
               ^~~~~~~~~~~~~~
./include/bits/syscalls-common.h:110:29: note: in expansion of macro
'SYSCALL_FUNC'
 #define _syscall3(args...)  SYSCALL_FUNC(3, args)
                             ^~~~~~~~~~~~
./ldso/include/dl-syscall.h:86:24: note: in expansion of macro '_syscall3'
 static __always_inline _syscall3(unsigned long, _dl_read, int, fd,
                        ^~~~~~~~~
./ldso/include/dl-syscall.h: In function '_dl_mprotect':
./include/bits/syscalls.h:54:19: error: expected expression before ')' token
        _nr = (name);       \
                   ^
./include/bits/syscalls.h:36:40: note: in expansion of macro
'INTERNAL_SYSCALL_NCS'
      unsigned int _inline_sys_result = INTERNAL_SYSCALL_NCS (name, , nr,
args);\
                                        ^~~~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:34:44: note: in expansion of macro
'INLINE_SYSCALL_NCS'
 # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr,
args)
                                            ^~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:97:15: note: in expansion of macro
'INLINE_SYSCALL'
  return (type)INLINE_SYSCALL(name, nargs, C_ARGS_##nargs(args)); \
               ^~~~~~~~~~~~~~
./include/bits/syscalls-common.h:110:29: note: in expansion of macro
'SYSCALL_FUNC'
 #define _syscall3(args...)  SYSCALL_FUNC(3, args)
                             ^~~~~~~~~~~~
./ldso/include/dl-syscall.h:90:24: note: in expansion of macro '_syscall3'
 static __always_inline _syscall3(int, _dl_mprotect, const void *, addr,
                        ^~~~~~~~~
./ldso/include/dl-syscall.h: In function '_dl_stat':
./include/bits/syscalls.h:54:19: error: expected expression before ')' token
        _nr = (name);       \
                   ^
./include/bits/syscalls.h:36:40: note: in expansion of macro
'INTERNAL_SYSCALL_NCS'
      unsigned int _inline_sys_result = INTERNAL_SYSCALL_NCS (name, , nr,
args);\
                                        ^~~~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:34:44: note: in expansion of macro
'INLINE_SYSCALL_NCS'
 # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr,
args)
                                            ^~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:97:15: note: in expansion of macro
'INLINE_SYSCALL'
  return (type)INLINE_SYSCALL(name, nargs, C_ARGS_##nargs(args)); \
               ^~~~~~~~~~~~~~
./include/bits/syscalls-common.h:109:29: note: in expansion of macro
'SYSCALL_FUNC'
 #define _syscall2(args...)  SYSCALL_FUNC(2, args)
                             ^~~~~~~~~~~~
./ldso/include/dl-syscall.h:105:24: note: in expansion of macro '_syscall2'
 static __always_inline _syscall2(int, _dl_stat, const char *, file_name,
                        ^~~~~~~~~
./ldso/include/dl-syscall.h: In function '_dl_fstat':
./include/bits/syscalls.h:54:19: error: expected expression before ')' token
        _nr = (name);       \
                   ^
./include/bits/syscalls.h:36:40: note: in expansion of macro
'INTERNAL_SYSCALL_NCS'
      unsigned int _inline_sys_result = INTERNAL_SYSCALL_NCS (name, , nr,
args);\
                                        ^~~~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:34:44: note: in expansion of macro
'INLINE_SYSCALL_NCS'
 # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr,
args)
                                            ^~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:97:15: note: in expansion of macro
'INLINE_SYSCALL'
  return (type)INLINE_SYSCALL(name, nargs, C_ARGS_##nargs(args)); \
               ^~~~~~~~~~~~~~
./include/bits/syscalls-common.h:109:29: note: in expansion of macro
'SYSCALL_FUNC'
 #define _syscall2(args...)  SYSCALL_FUNC(2, args)
                             ^~~~~~~~~~~~
./ldso/include/dl-syscall.h:114:24: note: in expansion of macro '_syscall2'
 static __always_inline _syscall2(int, _dl_fstat, int, fd, struct stat *, buf)
                        ^~~~~~~~~
./ldso/include/dl-syscall.h: In function '_dl_munmap':
./include/bits/syscalls.h:54:19: error: expected expression before ')' token
        _nr = (name);       \
                   ^
./include/bits/syscalls.h:36:40: note: in expansion of macro
'INTERNAL_SYSCALL_NCS'
      unsigned int _inline_sys_result = INTERNAL_SYSCALL_NCS (name, , nr,
args);\
                                        ^~~~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:34:44: note: in expansion of macro
'INLINE_SYSCALL_NCS'
 # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr,
args)
                                            ^~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:97:15: note: in expansion of macro
'INLINE_SYSCALL'
  return (type)INLINE_SYSCALL(name, nargs, C_ARGS_##nargs(args)); \
               ^~~~~~~~~~~~~~
./include/bits/syscalls-common.h:109:29: note: in expansion of macro
'SYSCALL_FUNC'
 #define _syscall2(args...)  SYSCALL_FUNC(2, args)
                             ^~~~~~~~~~~~
./ldso/include/dl-syscall.h:117:24: note: in expansion of macro '_syscall2'
 static __always_inline _syscall2(int, _dl_munmap, void *, start, unsigned
long, length)
                        ^~~~~~~~~
./ldso/include/dl-syscall.h: In function '_dl_getuid':
make: *** [Makerules:383: libc/sysdeps/linux/arm/brk.os] Error 1
make: *** Waiting for unfinished jobs....
./include/bits/syscalls.h:54:19: error: expected expression before ')' token
        _nr = (name);       \
                   ^
./include/bits/syscalls.h:36:40: note: in expansion of macro
'INTERNAL_SYSCALL_NCS'
      unsigned int _inline_sys_result = INTERNAL_SYSCALL_NCS (name, , nr,
args);\
                                        ^~~~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:34:44: note: in expansion of macro
'INLINE_SYSCALL_NCS'
 # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr,
args)
                                            ^~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:97:15: note: in expansion of macro
'INLINE_SYSCALL'
  return (type)INLINE_SYSCALL(name, nargs, C_ARGS_##nargs(args)); \
               ^~~~~~~~~~~~~~
./include/bits/syscalls-common.h:105:29: note: in expansion of macro
'SYSCALL_FUNC'
 #define _syscall0(args...)  SYSCALL_FUNC(0, args)
                             ^~~~~~~~~~~~
./ldso/include/dl-syscall.h:123:24: note: in expansion of macro '_syscall0'
 static __always_inline _syscall0(uid_t, _dl_getuid)
                        ^~~~~~~~~
./ldso/include/dl-syscall.h: In function '_dl_geteuid':
./include/bits/syscalls.h:54:19: error: expected expression before ')' token
        _nr = (name);       \
                   ^
./include/bits/syscalls.h:36:40: note: in expansion of macro
'INTERNAL_SYSCALL_NCS'
      unsigned int _inline_sys_result = INTERNAL_SYSCALL_NCS (name, , nr,
args);\
                                        ^~~~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:34:44: note: in expansion of macro
'INLINE_SYSCALL_NCS'
 # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr,
args)
                                            ^~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:97:15: note: in expansion of macro
'INLINE_SYSCALL'
  return (type)INLINE_SYSCALL(name, nargs, C_ARGS_##nargs(args)); \
               ^~~~~~~~~~~~~~
./include/bits/syscalls-common.h:105:29: note: in expansion of macro
'SYSCALL_FUNC'
 #define _syscall0(args...)  SYSCALL_FUNC(0, args)
                             ^~~~~~~~~~~~
./ldso/include/dl-syscall.h:129:24: note: in expansion of macro '_syscall0'
 static __always_inline _syscall0(uid_t, _dl_geteuid)
                        ^~~~~~~~~
./ldso/include/dl-syscall.h: In function '_dl_getgid':
./include/bits/syscalls.h:54:19: error: expected expression before ')' token
        _nr = (name);       \
                   ^
./include/bits/syscalls.h:36:40: note: in expansion of macro
'INTERNAL_SYSCALL_NCS'
      unsigned int _inline_sys_result = INTERNAL_SYSCALL_NCS (name, , nr,
args);\
                                        ^~~~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:34:44: note: in expansion of macro
'INLINE_SYSCALL_NCS'
 # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr,
args)
                                            ^~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:97:15: note: in expansion of macro
'INLINE_SYSCALL'
  return (type)INLINE_SYSCALL(name, nargs, C_ARGS_##nargs(args)); \
               ^~~~~~~~~~~~~~
./include/bits/syscalls-common.h:105:29: note: in expansion of macro
'SYSCALL_FUNC'
 #define _syscall0(args...)  SYSCALL_FUNC(0, args)
                             ^~~~~~~~~~~~
./ldso/include/dl-syscall.h:135:24: note: in expansion of macro '_syscall0'
 static __always_inline _syscall0(gid_t, _dl_getgid)
                        ^~~~~~~~~
./ldso/include/dl-syscall.h: In function '_dl_getegid':
./include/bits/syscalls.h:54:19: error: expected expression before ')' token
        _nr = (name);       \
                   ^
./include/bits/syscalls.h:36:40: note: in expansion of macro
'INTERNAL_SYSCALL_NCS'
      unsigned int _inline_sys_result = INTERNAL_SYSCALL_NCS (name, , nr,
args);\
                                        ^~~~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:34:44: note: in expansion of macro
'INLINE_SYSCALL_NCS'
 # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr,
args)
                                            ^~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:97:15: note: in expansion of macro
'INLINE_SYSCALL'
  return (type)INLINE_SYSCALL(name, nargs, C_ARGS_##nargs(args)); \
               ^~~~~~~~~~~~~~
./include/bits/syscalls-common.h:105:29: note: in expansion of macro
'SYSCALL_FUNC'
 #define _syscall0(args...)  SYSCALL_FUNC(0, args)
                             ^~~~~~~~~~~~
./ldso/include/dl-syscall.h:141:24: note: in expansion of macro '_syscall0'
 static __always_inline _syscall0(gid_t, _dl_getegid)
                        ^~~~~~~~~
./ldso/include/dl-syscall.h: In function '_dl_getpid':
./include/bits/syscalls.h:54:19: error: expected expression before ')' token
        _nr = (name);       \
                   ^
./include/bits/syscalls.h:36:40: note: in expansion of macro
'INTERNAL_SYSCALL_NCS'
      unsigned int _inline_sys_result = INTERNAL_SYSCALL_NCS (name, , nr,
args);\
                                        ^~~~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:34:44: note: in expansion of macro
'INLINE_SYSCALL_NCS'
 # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr,
args)
                                            ^~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:97:15: note: in expansion of macro
'INLINE_SYSCALL'
  return (type)INLINE_SYSCALL(name, nargs, C_ARGS_##nargs(args)); \
               ^~~~~~~~~~~~~~
./include/bits/syscalls-common.h:105:29: note: in expansion of macro
'SYSCALL_FUNC'
 #define _syscall0(args...)  SYSCALL_FUNC(0, args)
                             ^~~~~~~~~~~~
./ldso/include/dl-syscall.h:147:24: note: in expansion of macro '_syscall0'
 static __always_inline _syscall0(gid_t, _dl_getpid)
                        ^~~~~~~~~
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/include/dl-syscall.h: In function '_dl_readlink':
./include/bits/syscalls.h:54:19: error: expected expression before ')' token
        _nr = (name);       \
                   ^
./include/bits/syscalls.h:36:40: note: in expansion of macro
'INTERNAL_SYSCALL_NCS'
      unsigned int _inline_sys_result = INTERNAL_SYSCALL_NCS (name, , nr,
args);\
                                        ^~~~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:34:44: note: in expansion of macro
'INLINE_SYSCALL_NCS'
 # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr,
args)
                                            ^~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:97:15: note: in expansion of macro
'INLINE_SYSCALL'
  return (type)INLINE_SYSCALL(name, nargs, C_ARGS_##nargs(args)); \
               ^~~~~~~~~~~~~~
./include/bits/syscalls-common.h:110:29: note: in expansion of macro
'SYSCALL_FUNC'
 #define _syscall3(args...)  SYSCALL_FUNC(3, args)
                             ^~~~~~~~~~~~
./ldso/include/dl-syscall.h:155:24: note: in expansion of macro '_syscall3'
 static __always_inline _syscall3(int, _dl_readlink, const char *, path, char
*, buf,
                        ^~~~~~~~~
./ldso/include/dl-syscall.h: In function '__syscall_pread':
./include/bits/syscalls.h:54:19: error: expected expression before ')' token
        _nr = (name);       \
                   ^
./include/bits/syscalls.h:36:40: note: in expansion of macro
'INTERNAL_SYSCALL_NCS'
      unsigned int _inline_sys_result = INTERNAL_SYSCALL_NCS (name, , nr,
args);\
                                        ^~~~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:34:44: note: in expansion of macro
'INLINE_SYSCALL_NCS'
 # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr,
args)
                                            ^~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:97:15: note: in expansion of macro
'INLINE_SYSCALL'
  return (type)INLINE_SYSCALL(name, nargs, C_ARGS_##nargs(args)); \
               ^~~~~~~~~~~~~~
./include/bits/syscalls-common.h:112:29: note: in expansion of macro
'SYSCALL_FUNC'
 #define _syscall5(args...)  SYSCALL_FUNC(5, args)
                             ^~~~~~~~~~~~
./ldso/include/dl-syscall.h:161:24: note: in expansion of macro '_syscall5'
 static __always_inline _syscall5(ssize_t, __syscall_pread, int, fd, void *,
buf,
                        ^~~~~~~~~
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/include/dl-syscall.h: In function '_dl_mmap':
./include/bits/syscalls.h:54:19: error: expected expression before ')' token
        _nr = (name);       \
                   ^
./include/bits/syscalls.h:36:40: note: in expansion of macro
'INTERNAL_SYSCALL_NCS'
      unsigned int _inline_sys_result = INTERNAL_SYSCALL_NCS (name, , nr,
args);\
                                        ^~~~~~~~~~~~~~~~~~~~
./include/bits/syscalls-common.h:34:44: note: in expansion of macro
'INLINE_SYSCALL_NCS'
 # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr,
args)
                                            ^~~~~~~~~~~~~~~~~~
./ldso/include/dl-syscall.h:221:17: note: in expansion of macro
'INLINE_SYSCALL'
  return (void *)INLINE_SYSCALL(mmap2, 6, addr, size, prot, flags, fd,
shifted);
                 ^~~~~~~~~~~~~~
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/include/dl-defs.h:77:0,
                 from ./ldso/include/dl-string.h:16,
                 from ./ldso/include/ldso.h:48,
                 from ldso/libdl/libdl.c:33:
./ldso/ldso/arm/dl-sysdep.h: In function 'elf_machine_load_address':
./ldso/ldso/arm/dl-sysdep.h:114:37: warning: taking address of expression of
type 'void'
  Elf32_Addr got_addr = (Elf32_Addr) &__dl_start;
                                     ^
make: *** [Makerules:384: ldso/libdl/libdl.oS] Error 1
make: *** [Makerules:384: ldso/ldso/ldso.oS] Error 1

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the uClibc-cvs mailing list