Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Build failure for ARCH=evbearmv7hf-el for rump librariy



With sources updated as of 2017-11-03 at 11:59:03 UTC I am seeing the following failure:

/build/netbsd-local/src_ro/lib/librump/../../sys/rump/../arch/arm/arm32/kobj_machdep.c: In function 'kobj_reloc':
/build/netbsd-local/src_ro/lib/librump/../../sys/rump/../arch/arm/arm32/kobj_machdep.c:103:39: error: passing argument 3 of 'kobj_sym_lookup' from incompatible pointer type [-Werror=incompatible-pointer-types]
   error = kobj_sym_lookup(ko, symidx, &addr);
                                       ^
In file included from /build/netbsd-local/src_ro/lib/librump/../../sys/rump/../arch/arm/arm32/kobj_machdep.c:61:0:
/build/netbsd-local/src_ro/lib/librump/../../sys/rump/../sys/kobj.h:47:6: note: expected '__uintptr_t * {aka long unsigned int *}' but argument is of type 'Elf32_Addr * {aka unsigned int *}'
 int  kobj_sym_lookup(kobj_t, uintptr_t, uintptr_t *);
      ^
/build/netbsd-local/src_ro/lib/librump/../../sys/rump/../arch/arm/arm32/kobj_machdep.c:114:39: error: passing argument 3 of 'kobj_sym_lookup' from incompatible pointer type [-Werror=incompatible-pointer-types]
   error = kobj_sym_lookup(ko, symidx, &addr);
                                       ^
In file included from /build/netbsd-local/src_ro/lib/librump/../../sys/rump/../arch/arm/arm32/kobj_machdep.c:61:0:
/build/netbsd-local/src_ro/lib/librump/../../sys/rump/../sys/kobj.h:47:6: note: expected '__uintptr_t * {aka long unsigned int *}' but argument is of type 'Elf32_Addr * {aka unsigned int *}'
 int  kobj_sym_lookup(kobj_t, uintptr_t, uintptr_t *);
      ^
/build/netbsd-local/src_ro/lib/librump/../../sys/rump/../arch/arm/arm32/kobj_machdep.c:130:39: error: passing argument 3 of 'kobj_sym_lookup' from incompatible pointer type [-Werror=incompatible-pointer-types]
   error = kobj_sym_lookup(ko, symidx, &addr);
                                       ^
In file included from /build/netbsd-local/src_ro/lib/librump/../../sys/rump/../arch/arm/arm32/kobj_machdep.c:61:0:
/build/netbsd-local/src_ro/lib/librump/../../sys/rump/../sys/kobj.h:47:6: note: expected '__uintptr_t * {aka long unsigned int *}' but argument is of type 'Elf32_Addr * {aka unsigned int *}'
 int  kobj_sym_lookup(kobj_t, uintptr_t, uintptr_t *);
      ^
/build/netbsd-local/src_ro/lib/librump/../../sys/rump/../arch/arm/arm32/kobj_machdep.c:154:39: error: passing argument 3 of 'kobj_sym_lookup' from incompatible pointer type [-Werror=incompatible-pointer-types]
   error = kobj_sym_lookup(ko, symidx, &addr);
                                       ^
In file included from /build/netbsd-local/src_ro/lib/librump/../../sys/rump/../arch/arm/arm32/kobj_machdep.c:61:0:
/build/netbsd-local/src_ro/lib/librump/../../sys/rump/../sys/kobj.h:47:6: note: expected '__uintptr_t * {aka long unsigned int *}' but argument is of type 'Elf32_Addr * {aka unsigned int *}'
 int  kobj_sym_lookup(kobj_t, uintptr_t, uintptr_t *);
      ^
/build/netbsd-local/src_ro/lib/librump/../../sys/rump/../arch/arm/arm32/kobj_machdep.c:175:39: error: passing argument 3 of 'kobj_sym_lookup' from incompatible pointer type [-Werror=incompatible-pointer-types]
   error = kobj_sym_lookup(ko, symidx, &addr);
                                       ^
In file included from /build/netbsd-local/src_ro/lib/librump/../../sys/rump/../arch/arm/arm32/kobj_machdep.c:61:0:
/build/netbsd-local/src_ro/lib/librump/../../sys/rump/../sys/kobj.h:47:6: note: expected '__uintptr_t * {aka long unsigned int *}' but argument is of type 'Elf32_Addr * {aka unsigned int *}'
 int  kobj_sym_lookup(kobj_t, uintptr_t, uintptr_t *);
      ^
/build/netbsd-local/src_ro/lib/librump/../../sys/rump/../arch/arm/arm32/kobj_machdep.c:188:39: error: passing argument 3 of 'kobj_sym_lookup' from incompatible pointer type [-Werror=incompatible-pointer-types]
   error = kobj_sym_lookup(ko, symidx, &addr);
                                       ^
In file included from /build/netbsd-local/src_ro/lib/librump/../../sys/rump/../arch/arm/arm32/kobj_machdep.c:61:0:
/build/netbsd-local/src_ro/lib/librump/../../sys/rump/../sys/kobj.h:47:6: note: expected '__uintptr_t * {aka long unsigned int *}' but argument is of type 'Elf32_Addr * {aka unsigned int *}'
 int  kobj_sym_lookup(kobj_t, uintptr_t, uintptr_t *);
      ^
cc1: all warnings being treated as errors
*** [kobj_machdep.pico] Error code 1


Interestingly, the exact same sources were used to successfully build a release for amd64.



+------------------+--------------------------+----------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:          |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+------------------+--------------------------+----------------------------+


Home | Main Index | Thread Index | Old Index