Build CYGWIN_NT-10.0-19045: FAILED devel/spike on x86_64-pc-cygwin (spike-530af85d83781a3dae31a4ace84a573ec255fefa-x86_64-pc-cygwin-1)
OAR Tester for Windows10 Cygwin
rtems-tester at oarcorp.com
Thu Jul 18 23:15:27 UTC 2024
RTEMS Source Builder - Set Builder, 6 (c4975f3bc2a9)
Host: CYGWIN_NT-10.0-19045-3.4.7-1.x86_64-x86_64-64bit-WindowsPE
CYGWIN_NT-10.0-19045 VM-Windows10 3.4.7-1.x86_64 2023-06-16 14:04 UTC
x86_64
Build Time: 0:00:59.057305
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Build FAILED: spike-530af85d83781a3dae31a4ace84a573ec255fefa-x86_64-pc-cygwin-1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
from ./fesvr/htif_pthread.h:6,
from ./fesvr/htif_pthread.cc:3:
/usr/include/machine/types.h:63:15: error: conflicting declaration 'typedef char* addr_t'
63 | typedef char *addr_t;
| ^~~~~~
In file included from ./fesvr/htif.h:6,
from ./fesvr/htif_pthread.h:6,
from ./fesvr/htif_pthread.cc:3:
./fesvr/memif.h:12:15: note: previous declaration as 'typedef reg_t addr_t'
12 | typedef reg_t addr_t;
| ^~~~~~
In file included from ./fesvr/device.cc:3:
./fesvr/memif.h:12:15: error: conflicting declaration 'typedef reg_t addr_t'
12 | typedef reg_t addr_t;
| ^~~~~~
In file included from /usr/include/sys/types.h:222,
from /usr/include/pthread.h:11,
from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/x86_64-pc-cygwin/bits/gthr-default.h:35,
from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/x86_64-pc-cygwin/bits/gthr.h:148,
from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/ext/atomicity.h:35,
from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/bits/basic_string.h:39,
from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/string:55,
from ./fesvr/device.h:7,
from ./fesvr/device.cc:1:
/usr/include/machine/types.h:63:15: note: previous declaration as 'typedef char* addr_t'
63 | typedef char *addr_t;
| ^~~~~~
./fesvr/syscall.cc: In member function 'void syscall_t::handle_syscall(command_t)':
./fesvr/syscall.cc:204:25: error: invalid conversion from 'uint64_t' {aka 'long unsigned int'} to 'addr_t' {aka 'char*'} [-fpermissive]
204 | dispatch(cmd.payload());
| ~~~~~~~~~~~^~
| |
| uint64_t {aka long unsigned int}
In file included from ./fesvr/syscall.cc:3:
./fesvr/syscall.h:43:24: note: initializing argument 1 of 'void syscall_t::dispatch(addr_t)'
43 | void dispatch(addr_t mm);
| ~~~~~~~^~
./fesvr/syscall.cc: In member function 'reg_t syscall_t::sys_read(reg_t, reg_t, reg_t, reg_t, reg_t, reg_t, reg_t)':
./fesvr/syscall.cc:226:18: error: invalid conversion from 'reg_t' {aka 'long unsigned int'} to 'addr_t' {aka 'char*'} [-fpermissive]
226 | memif->write(pbuf, ret, buf.data());
| ^~~~
| |
| reg_t {aka long unsigned int}
In file included from ./fesvr/syscall.h:7,
from ./fesvr/syscall.cc:3:
./fesvr/memif.h:44:29: note: initializing argument 1 of 'virtual void memif_t::write(addr_t, size_t, const void*)'
44 | virtual void write(addr_t addr, size_t len, const void* bytes);
| ~~~~~~~^~~~
./fesvr/syscall.cc: In member function 'reg_t syscall_t::sys_pread(reg_t, reg_t, reg_t, reg_t, reg_t, reg_t, reg_t)':
./fesvr/syscall.cc:233:17: error: 'pread' was not declared in this scope; did you mean 'read'?
233 | ssize_t ret = pread(fds.lookup(fd), buf.data(), len, off);
| ^~~~~
| read
./fesvr/syscall.cc:236:18: error: invalid conversion from 'reg_t' {aka 'long unsigned int'} to 'addr_t' {aka 'char*'} [-fpermissive]
236 | memif->write(pbuf, ret, buf.data());
| ^~~~
| |
| reg_t {aka long unsigned int}
In file included from ./fesvr/syscall.h:7,
from ./fesvr/syscall.cc:3:
./fesvr/memif.h:44:29: note: initializing argument 1 of 'virtual void memif_t::write(addr_t, size_t, const void*)'
44 | virtual void write(addr_t addr, size_t len, const void* bytes);
| ~~~~~~~^~~~
./fesvr/syscall.cc: In member function 'reg_t syscall_t::sys_write(reg_t, reg_t, reg_t, reg_t, reg_t, reg_t, reg_t)':
./fesvr/syscall.cc:243:15: error: invalid conversion from 'reg_t' {aka 'long unsigned int'} to 'addr_t' {aka 'char*'} [-fpermissive]
243 | memif->read(pbuf, len, buf.data());
| ^~~~
| |
| reg_t {aka long unsigned int}
In file included from ./fesvr/syscall.h:7,
from ./fesvr/syscall.cc:3:
./fesvr/memif.h:43:28: note: initializing argument 1 of 'virtual void memif_t::read(addr_t, size_t, void*)'
43 | virtual void read(addr_t addr, size_t len, void* bytes);
| ~~~~~~~^~~~
./fesvr/syscall.cc: In member function 'reg_t syscall_t::sys_pwrite(reg_t, reg_t, reg_t, reg_t, reg_t, reg_t, reg_t)':
./fesvr/syscall.cc:251:15: error: invalid conversion from 'reg_t' {aka 'long unsigned int'} to 'addr_t' {aka 'char*'} [-fpermissive]
251 | memif->read(pbuf, len, buf.data());
| ^~~~
| |
| reg_t {aka long unsigned int}
In file included from ./fesvr/syscall.h:7,
from ./fesvr/syscall.cc:3:
./fesvr/memif.h:43:28: note: initializing argument 1 of 'virtual void memif_t::read(addr_t, size_t, void*)'
43 | virtual void read(addr_t addr, size_t len, void* bytes);
| ~~~~~~~^~~~
./fesvr/syscall.cc:252:28: error: 'pwrite' was not declared in this scope; did you mean 'write'?
252 | reg_t ret = sysret_errno(pwrite(fds.lookup(fd), buf.data(), len, off));
| ^~~~~~
| write
./fesvr/syscall.cc: In member function 'reg_t syscall_t::sys_fstat(reg_t, reg_t, reg_t, reg_t, reg_t, reg_t, reg_t)':
./fesvr/syscall.cc:276:18: error: invalid conversion from 'reg_t' {aka 'long unsigned int'} to 'addr_t' {aka 'char*'} [-fpermissive]
276 | memif->write(pbuf, sizeof(rbuf), &rbuf);
| ^~~~
| |
| reg_t {aka long unsigned int}
In file included from ./fesvr/syscall.h:7,
from ./fesvr/syscall.cc:3:
./fesvr/memif.h:44:29: note: initializing argument 1 of 'virtual void memif_t::write(addr_t, size_t, const void*)'
44 | virtual void write(addr_t addr, size_t len, const void* bytes);
| ~~~~~~~^~~~
./fesvr/syscall.cc: In member function 'reg_t syscall_t::sys_ftruncate(reg_t, reg_t, reg_t, reg_t, reg_t, reg_t, reg_t)':
./fesvr/syscall.cc:288:23: error: 'ftruncate' was not declared in this scope; did you mean 'strncat'?
288 | return sysret_errno(ftruncate(fds.lookup(fd), len));
| ^~~~~~~~~
| strncat
./fesvr/syscall.cc: In member function 'reg_t syscall_t::sys_lstat(reg_t, reg_t, reg_t, reg_t, reg_t, reg_t, reg_t)':
./fesvr/syscall.cc:294:15: error: invalid conversion from 'reg_t' {aka 'long unsigned int'} to 'addr_t' {aka 'char*'} [-fpermissive]
294 | memif->read(pname, len, name.data());
| ^~~~~
| |
| reg_t {aka long unsigned int}
In file included from ./fesvr/syscall.h:7,
from ./fesvr/syscall.cc:3:
./fesvr/memif.h:43:28: note: initializing argument 1 of 'virtual void memif_t::read(addr_t, size_t, void*)'
43 | virtual void read(addr_t addr, size_t len, void* bytes);
| ~~~~~~~^~~~
./fesvr/syscall.cc:301:18: error: invalid conversion from 'reg_t' {aka 'long unsigned int'} to 'addr_t' {aka 'char*'} [-fpermissive]
301 | memif->write(pbuf, sizeof(rbuf), &rbuf);
| ^~~~
| |
| reg_t {aka long unsigned int}
In file included from ./fesvr/syscall.h:7,
from ./fesvr/syscall.cc:3:
./fesvr/memif.h:44:29: note: initializing argument 1 of 'virtual void memif_t::write(addr_t, size_t, const void*)'
44 | virtual void write(addr_t addr, size_t len, const void* bytes);
| ~~~~~~~^~~~
./fesvr/syscall.cc: In member function 'reg_t syscall_t::sys_openat(reg_t, reg_t, reg_t, reg_t, reg_t, reg_t, reg_t)':
./fesvr/syscall.cc:331:15: error: invalid conversion from 'reg_t' {aka 'long unsigned int'} to 'addr_t' {aka 'char*'} [-fpermissive]
331 | memif->read(pname, len, name.data());
| ^~~~~
| |
| reg_t {aka long unsigned int}
In file included from ./fesvr/syscall.h:7,
from ./fesvr/syscall.cc:3:
./fesvr/memif.h:43:28: note: initializing argument 1 of 'virtual void memif_t::read(addr_t, size_t, void*)'
43 | virtual void read(addr_t addr, size_t len, void* bytes);
| ~~~~~~~^~~~
./fesvr/syscall.cc:332:36: error: 'openat' was not declared in this scope; did you mean 'open'?
332 | int fd = sysret_errno(AT_SYSCALL(openat, dirfd, name.data(), flags, mode));
| ^~~~~~
./fesvr/syscall.cc:326:4: note: in definition of macro 'AT_SYSCALL'
326 | (syscall(fds.lookup(fd), int(fd) == RISCV_AT_FDCWD ? do_chroot(name).c_str() : (name), __VA_ARGS__))
| ^~~~~~~
./fesvr/syscall.cc: In member function 'reg_t syscall_t::sys_fstatat(reg_t, reg_t, reg_t, reg_t, reg_t, reg_t, reg_t)':
./fesvr/syscall.cc:341:15: error: invalid conversion from 'reg_t' {aka 'long unsigned int'} to 'addr_t' {aka 'char*'} [-fpermissive]
341 | memif->read(pname, len, name.data());
| ^~~~~
| |
| reg_t {aka long unsigned int}
In file included from ./fesvr/syscall.h:7,
from ./fesvr/syscall.cc:3:
./fesvr/memif.h:43:28: note: initializing argument 1 of 'virtual void memif_t::read(addr_t, size_t, void*)'
43 | virtual void read(addr_t addr, size_t len, void* bytes);
| ~~~~~~~^~~~
./fesvr/syscall.cc:344:39: error: 'fstatat' was not declared in this scope; did you mean 'fstat'?
344 | reg_t ret = sysret_errno(AT_SYSCALL(fstatat, dirfd, name.data(), &buf, flags));
| ^~~~~~~
./fesvr/syscall.cc:326:4: note: in definition of macro 'AT_SYSCALL'
326 | (syscall(fds.lookup(fd), int(fd) == RISCV_AT_FDCWD ? do_chroot(name).c_str() : (name), __VA_ARGS__))
| ^~~~~~~
./fesvr/syscall.cc:348:18: error: invalid conversion from 'reg_t' {aka 'long unsigned int'} to 'addr_t' {aka 'char*'} [-fpermissive]
348 | memif->write(pbuf, sizeof(rbuf), &rbuf);
| ^~~~
| |
| reg_t {aka long unsigned int}
In file included from ./fesvr/syscall.h:7,
from ./fesvr/syscall.cc:3:
./fesvr/memif.h:44:29: note: initializing argument 1 of 'virtual void memif_t::write(addr_t, size_t, const void*)'
44 | virtual void write(addr_t addr, size_t len, const void* bytes);
| ~~~~~~~^~~~
./fesvr/syscall.cc: In member function 'reg_t syscall_t::sys_faccessat(reg_t, reg_t, reg_t, reg_t, reg_t, reg_t, reg_t)':
./fesvr/syscall.cc:356:15: error: invalid conversion from 'reg_t' {aka 'long unsigned int'} to 'addr_t' {aka 'char*'} [-fpermissive]
356 | memif->read(pname, len, name.data());
| ^~~~~
| |
| reg_t {aka long unsigned int}
In file included from ./fesvr/syscall.h:7,
from ./fesvr/syscall.cc:3:
./fesvr/memif.h:43:28: note: initializing argument 1 of 'virtual void memif_t::read(addr_t, size_t, void*)'
43 | virtual void read(addr_t addr, size_t len, void* bytes);
| ~~~~~~~^~~~
./fesvr/syscall.cc:357:34: error: 'faccessat' was not declared in this scope; did you mean 'access'?
357 | return sysret_errno(AT_SYSCALL(faccessat, dirfd, name.data(), mode, 0));
| ^~~~~~~~~
./fesvr/syscall.cc:326:4: note: in definition of macro 'AT_SYSCALL'
326 | (syscall(fds.lookup(fd), int(fd) == RISCV_AT_FDCWD ? do_chroot(name).c_str() : (name), __VA_ARGS__))
| ^~~~~~~
./fesvr/syscall.cc: In member function 'reg_t syscall_t::sys_renameat(reg_t, reg_t, reg_t, reg_t, reg_t, reg_t, reg_t)':
./fesvr/syscall.cc:363:15: error: invalid conversion from 'reg_t' {aka 'long unsigned int'} to 'addr_t' {aka 'char*'} [-fpermissive]
363 | memif->read(popath, olen, opath.data());
| ^~~~~~
| |
| reg_t {aka long unsigned int}
In file included from ./fesvr/syscall.h:7,
from ./fesvr/syscall.cc:3:
./fesvr/memif.h:43:28: note: initializing argument 1 of 'virtual void memif_t::read(addr_t, size_t, void*)'
43 | virtual void read(addr_t addr, size_t len, void* bytes);
| ~~~~~~~^~~~
./fesvr/syscall.cc:364:15: error: invalid conversion from 'reg_t' {aka 'long unsigned int'} to 'addr_t' {aka 'char*'} [-fpermissive]
364 | memif->read(pnpath, nlen, npath.data());
| ^~~~~~
| |
| reg_t {aka long unsigned int}
In file included from ./fesvr/syscall.h:7,
from ./fesvr/syscall.cc:3:
./fesvr/memif.h:43:28: note: initializing argument 1 of 'virtual void memif_t::read(addr_t, size_t, void*)'
43 | virtual void read(addr_t addr, size_t len, void* bytes);
| ~~~~~~~^~~~
./fesvr/syscall.cc:365:23: error: 'renameat' was not declared in this scope; did you mean 'rename'?
365 | return sysret_errno(renameat(fds.lookup(odirfd), int(odirfd) == RISCV_AT_FDCWD ? do_chroot(opath.data()).c_str() : opath.data(),
| ^~~~~~~~
| rename
./fesvr/syscall.cc: In member function 'reg_t syscall_t::sys_linkat(reg_t, reg_t, reg_t, reg_t, reg_t, reg_t, reg_t)':
./fesvr/syscall.cc:372:15: error: invalid conversion from 'reg_t' {aka 'long unsigned int'} to 'addr_t' {aka 'char*'} [-fpermissive]
372 | memif->read(poname, olen, oname.data());
| ^~~~~~
| |
| reg_t {aka long unsigned int}
In file included from ./fesvr/syscall.h:7,
from ./fesvr/syscall.cc:3:
./fesvr/memif.h:43:28: note: initializing argument 1 of 'virtual void memif_t::read(addr_t, size_t, void*)'
43 | virtual void read(addr_t addr, size_t len, void* bytes);
| ~~~~~~~^~~~
./fesvr/syscall.cc:373:15: error: invalid conversion from 'reg_t' {aka 'long unsigned int'} to 'addr_t' {aka 'char*'} [-fpermissive]
373 | memif->read(pnname, nlen, nname.data());
| ^~~~~~
| |
| reg_t {aka long unsigned int}
In file included from ./fesvr/syscall.h:7,
from ./fesvr/syscall.cc:3:
./fesvr/memif.h:43:28: note: initializing argument 1 of 'virtual void memif_t::read(addr_t, size_t, void*)'
43 | virtual void read(addr_t addr, size_t len, void* bytes);
| ~~~~~~~^~~~
./fesvr/syscall.cc:374:23: error: 'linkat' was not declared in this scope; did you mean 'nlink_t'?
374 | return sysret_errno(linkat(fds.lookup(odirfd), int(odirfd) == RISCV_AT_FDCWD ? do_chroot(oname.data()).c_str() : oname.data(),
| ^~~~~~
| nlink_t
./fesvr/syscall.cc: In member function 'reg_t syscall_t::sys_unlinkat(reg_t, reg_t, reg_t, reg_t, reg_t, reg_t, reg_t)':
./fesvr/syscall.cc:382:15: error: invalid conversion from 'reg_t' {aka 'long unsigned int'} to 'addr_t' {aka 'char*'} [-fpermissive]
382 | memif->read(pname, len, name.data());
| ^~~~~
| |
| reg_t {aka long unsigned int}
In file included from ./fesvr/syscall.h:7,
from ./fesvr/syscall.cc:3:
./fesvr/memif.h:43:28: note: initializing argument 1 of 'virtual void memif_t::read(addr_t, size_t, void*)'
43 | virtual void read(addr_t addr, size_t len, void* bytes);
| ~~~~~~~^~~~
./fesvr/syscall.cc:383:34: error: 'unlinkat' was not declared in this scope; did you mean 'unlink'?
383 | return sysret_errno(AT_SYSCALL(unlinkat, dirfd, name.data(), flags));
| ^~~~~~~~
./fesvr/syscall.cc:326:4: note: in definition of macro 'AT_SYSCALL'
326 | (syscall(fds.lookup(fd), int(fd) == RISCV_AT_FDCWD ? do_chroot(name).c_str() : (name), __VA_ARGS__))
| ^~~~~~~
./fesvr/syscall.cc: In member function 'reg_t syscall_t::sys_mkdirat(reg_t, reg_t, reg_t, reg_t, reg_t, reg_t, reg_t)':
./fesvr/syscall.cc:389:15: error: invalid conversion from 'reg_t' {aka 'long unsigned int'} to 'addr_t' {aka 'char*'} [-fpermissive]
389 | memif->read(pname, len, name.data());
| ^~~~~
| |
| reg_t {aka long unsigned int}
In file included from ./fesvr/syscall.h:7,
from ./fesvr/syscall.cc:3:
./fesvr/memif.h:43:28: note: initializing argument 1 of 'virtual void memif_t::read(addr_t, size_t, void*)'
43 | virtual void read(addr_t addr, size_t len, void* bytes);
| ~~~~~~~^~~~
./fesvr/syscall.cc:390:34: error: 'mkdirat' was not declared in this scope; did you mean 'mkdir'?
390 | return sysret_errno(AT_SYSCALL(mkdirat, dirfd, name.data(), mode));
| ^~~~~~~
./fesvr/syscall.cc:326:4: note: in definition of macro 'AT_SYSCALL'
326 | (syscall(fds.lookup(fd), int(fd) == RISCV_AT_FDCWD ? do_chroot(name).c_str() : (name), __VA_ARGS__))
| ^~~~~~~
./fesvr/syscall.cc: In member function 'reg_t syscall_t::sys_getcwd(reg_t, reg_t, reg_t, reg_t, reg_t, reg_t, reg_t)':
./fesvr/syscall.cc:402:16: error: invalid conversion from 'reg_t' {aka 'long unsigned int'} to 'addr_t' {aka 'char*'} [-fpermissive]
402 | memif->write(pbuf, tmp.size() + 1, tmp.data());
| ^~~~
| |
| reg_t {aka long unsigned int}
In file included from ./fesvr/syscall.h:7,
from ./fesvr/syscall.cc:3:
./fesvr/memif.h:44:29: note: initializing argument 1 of 'virtual void memif_t::write(addr_t, size_t, const void*)'
44 | virtual void write(addr_t addr, size_t len, const void* bytes);
| ~~~~~~~^~~~
./fesvr/syscall.cc: In member function 'reg_t syscall_t::sys_getmainvars(reg_t, reg_t, reg_t, reg_t, reg_t, reg_t, reg_t)':
./fesvr/syscall.cc:429:16: error: invalid conversion from 'reg_t' {aka 'long unsigned int'} to 'addr_t' {aka 'char*'} [-fpermissive]
429 | memif->write(pbuf, bytes.size(), bytes.data());
| ^~~~
| |
| reg_t {aka long unsigned int}
In file included from ./fesvr/syscall.h:7,
from ./fesvr/syscall.cc:3:
./fesvr/memif.h:44:29: note: initializing argument 1 of 'virtual void memif_t::write(addr_t, size_t, const void*)'
44 | virtual void write(addr_t addr, size_t len, const void* bytes);
| ~~~~~~~^~~~
./fesvr/syscall.cc: In member function 'reg_t syscall_t::sys_chdir(reg_t, reg_t, reg_t, reg_t, reg_t, reg_t, reg_t)':
./fesvr/syscall.cc:436:33: error: invalid conversion from 'reg_t' {aka 'long unsigned int'} to 'addr_t' {aka 'char*'} [-fpermissive]
436 | while (memif->read_uint8(path + size++))
| ~~~~~^~~~~~~~
| |
| reg_t {aka long unsigned int}
In file included from ./fesvr/syscall.h:7,
from ./fesvr/syscall.cc:3:
./fesvr/memif.h:47:52: note: initializing argument 1 of 'virtual target_endian<unsigned char> memif_t::read_uint8(addr_t)'
47 | virtual target_endian<uint8_t> read_uint8(addr_t addr);
| ~~~~~~~^~~~
./fesvr/syscall.cc:441:42: error: invalid conversion from 'reg_t' {aka 'long unsigned int'} to 'addr_t' {aka 'char*'} [-fpermissive]
441 | buf[offset] = memif->read_uint8(path + offset);
| ~~~~~^~~~~~~~
| |
| reg_t {aka long unsigned int}
In file included from ./fesvr/syscall.h:7,
from ./fesvr/syscall.cc:3:
./fesvr/memif.h:47:52: note: initializing argument 1 of 'virtual target_endian<unsigned char> memif_t::read_uint8(addr_t)'
47 | virtual target_endian<uint8_t> read_uint8(addr_t addr);
| ~~~~~~~^~~~
./fesvr/syscall.cc: At global scope:
./fesvr/syscall.cc:448:6: error: no declaration matches 'void syscall_t::dispatch(reg_t)'
448 | void syscall_t::dispatch(reg_t mm)
| ^~~~~~~~~
In file included from ./fesvr/syscall.cc:3:
./fesvr/syscall.h:43:8: note: candidate is: 'void syscall_t::dispatch(addr_t)'
43 | void dispatch(addr_t mm);
| ^~~~~~~~
./fesvr/syscall.h:27:7: note: 'class syscall_t' defined here
27 | class syscall_t : public device_t
| ^~~~~~~~~
./fesvr/syscall.cc: In member function 'int fds_t::lookup(reg_t)':
./fesvr/syscall.cc:484:12: error: 'AT_FDCWD' was not declared in this scope
484 | return AT_FDCWD;
| ^~~~~~~~
At global scope:
cc1plus: note: unrecognized command-line option '-Wno-nonportable-include-path' may have been intended to silence earlier diagnostics
make: *** [Makefile:349: syscall.o] Error 1
./fesvr/device.cc: In member function 'void device_t::handle_identify(command_t)':
./fesvr/device.cc:55:21: error: invalid conversion from 'uint64_t' {aka 'long unsigned int'} to 'addr_t' {aka 'char*'} [-fpermissive]
55 | cmd.memif().write(addr, IDENTITY_SIZE, id);
| ^~~~
| |
| uint64_t {aka long unsigned int}
In file included from ./fesvr/device.cc:3:
./fesvr/memif.h:44:29: note: initializing argument 1 of 'virtual void memif_t::write(addr_t, size_t, const void*)'
44 | virtual void write(addr_t addr, size_t len, const void* bytes);
| ~~~~~~~^~~~
cc1plus: note: unrecognized command-line option '-Wno-nonportable-include-path' may have been intended to silence earlier diagnostics
make: *** [Makefile:349: htif_pthread.o] Error 1
./fesvr/device.cc: In member function 'void disk_t::handle_read(command_t)':
./fesvr/device.cc:110:31: error: invalid conversion from 'uint64_t' {aka 'long unsigned int'} to 'addr_t' {aka 'char*'} [-fpermissive]
110 | cmd.memif().read(cmd.payload(), sizeof(req), &req);
| ~~~~~~~~~~~^~
| |
| uint64_t {aka long unsigned int}
In file included from ./fesvr/device.cc:3:
./fesvr/memif.h:43:28: note: initializing argument 1 of 'virtual void memif_t::read(addr_t, size_t, void*)'
43 | virtual void read(addr_t addr, size_t len, void* bytes);
| ~~~~~~~^~~~
./fesvr/device.cc:113:17: error: '::pread' has not been declared; did you mean 'read'?
113 | if ((size_t)::pread(fd, buf.data(), buf.size(), req.offset) != req.size)
| ^~~~~
| read
./fesvr/device.cc:116:25: error: invalid conversion from 'uint64_t' {aka 'long unsigned int'} to 'addr_t' {aka 'char*'} [-fpermissive]
116 | cmd.memif().write(req.addr, buf.size(), buf.data());
| ~~~~^~~~
| |
| uint64_t {aka long unsigned int}
In file included from ./fesvr/device.cc:3:
./fesvr/memif.h:44:29: note: initializing argument 1 of 'virtual void memif_t::write(addr_t, size_t, const void*)'
44 | virtual void write(addr_t addr, size_t len, const void* bytes);
| ~~~~~~~^~~~
./fesvr/device.cc: In member function 'void disk_t::handle_write(command_t)':
./fesvr/device.cc:123:31: error: invalid conversion from 'uint64_t' {aka 'long unsigned int'} to 'addr_t' {aka 'char*'} [-fpermissive]
123 | cmd.memif().read(cmd.payload(), sizeof(req), &req);
| ~~~~~~~~~~~^~
| |
| uint64_t {aka long unsigned int}
In file included from ./fesvr/device.cc:3:
./fesvr/memif.h:43:28: note: initializing argument 1 of 'virtual void memif_t::read(addr_t, size_t, void*)'
43 | virtual void read(addr_t addr, size_t len, void* bytes);
| ~~~~~~~^~~~
./fesvr/device.cc:126:24: error: invalid conversion from 'uint64_t' {aka 'long unsigned int'} to 'addr_t' {aka 'char*'} [-fpermissive]
126 | cmd.memif().read(req.addr, buf.size(), buf.data());
| ~~~~^~~~
| |
| uint64_t {aka long unsigned int}
In file included from ./fesvr/device.cc:3:
./fesvr/memif.h:43:28: note: initializing argument 1 of 'virtual void memif_t::read(addr_t, size_t, void*)'
43 | virtual void read(addr_t addr, size_t len, void* bytes);
| ~~~~~~~^~~~
./fesvr/device.cc:128:17: error: '::pwrite' has not been declared; did you mean 'write'?
128 | if ((size_t)::pwrite(fd, buf.data(), buf.size(), req.offset) != req.size)
| ^~~~~~
| write
cc1plus: note: unrecognized command-line option '-Wno-nonportable-include-path' may have been intended to silence earlier diagnostics
make: *** [Makefile:349: htif.o] Error 1
At global scope:
cc1plus: note: unrecognized command-line option '-Wno-nonportable-include-path' may have been intended to silence earlier diagnostics
make: *** [Makefile:349: device.o] Error 1
shell cmd failed: sh -ex /home/rtems-tester/rtems-cron-6/rtems-source-builder/bare/build/spike-530af85d83781a3dae31a4ace84a573ec255fefa-x86_64-pc-cygwin-1/do-build
error: building spike-530af85d83781a3dae31a4ace84a573ec255fefa-x86_64-pc-cygwin-1
See error report: rsb-report-spike-530af85d83781a3dae31a4ace84a573ec255fefa-x86_64-pc-cygwin-1.txt
Note: In some cases the error appears only in
the complete build log (see --log option)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Output
======
Build Set: devel/spike
Build Set: devel/dtc.bset
config: devel/dtc-1.6.1-1.cfg
package: dtc-1.6.1-x86_64-pc-cygwin-1
building: dtc-1.6.1-x86_64-pc-cygwin-1
sizes: dtc-1.6.1-x86_64-pc-cygwin-1: 4.668MB (installed: 1.470MB)
cleaning: dtc-1.6.1-x86_64-pc-cygwin-1
reporting: devel/dtc-1.6.1-1.cfg -> dtc-1.6.1-x86_64-pc-cygwin-1.txt
reporting: devel/dtc-1.6.1-1.cfg -> dtc-1.6.1-x86_64-pc-cygwin-1.xml
staging: dtc-1.6.1-x86_64-pc-cygwin-1 -> /home/rtems-tester/rtems-cron-6/rtems-source-builder/bare/build/tmp/sb-197609-staging
cleaning: dtc-1.6.1-x86_64-pc-cygwin-1
Build Set: Time 0:00:34.539569
config: devel/spike-1.1.0.cfg
package: spike-530af85d83781a3dae31a4ace84a573ec255fefa-x86_64-pc-cygwin-1
download: https://github.com/riscv/riscv-isa-sim/archive/530af85d83781a3dae31a4ace84a573ec255fefa.tar.gz -> sources/spike-530af85d83781a3dae31a4ace84a573ec255fefa.tar.gz
redirect: https://codeload.github.com/riscv-software-src/riscv-isa-sim/tar.gz/530af85d83781a3dae...<see log>
building: spike-530af85d83781a3dae31a4ace84a573ec255fefa-x86_64-pc-cygwin-1
error: building spike-530af85d83781a3dae31a4ace84a573ec255fefa-x86_64-pc-cygwin-1
Build FAILED
See error report: rsb-report-spike-530af85d83781a3dae31a4ace84a573ec255fefa-x86_64-pc-cygwin-1.txt
Note: In some cases the error appears only in
the complete build log (see --log option)
error: building spike-530af85d83781a3dae31a4ace84a573ec255fefa-x86_64-pc-cygwin-1
Mailing report: build at rtems.org
Report
======
==============================================================================
RTEMS Tools Project <users at rtems.org> Thu Jul 18 18:23:55 2024
==============================================================================
Report: devel/dtc-1.6.1-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
[ remotes removed, contact sender for details ]
Status:
Clean
Head:
Commit: c4975f3bc2a9b5db87eab5290dd0f0141c947d68
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/dtc-1.6.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/dtc-1.6.1-1.cfg
------------------------------------------------------------------------------
Package: dtc-1.6.1-x86_64-pc-cygwin-1
Config: devel/dtc-1.6.1-1.cfg
Summary:
Device Tree Compiler v1.6.1 for target on host x86_64-pc-cygwin
URL:
https://www.devicetree.org/
Version:
1.6.1
Release:
1
Sources: 1
1: https://www.kernel.org/pub/software/utils/dtc/dtc-1.6.1.tar.gz
sha256: 38a6257f2c23cb9dfa1781ac4ad122d8358e1a22d33b2da0eb492c190644a376
Patches: 1
1: https://gitlab.rtems.org/rtems/rtos/rtems/-/blob/main/assets/tracmigration/ticket_attachments/0001-checks.c-Ensure-argument-is-an-integer-v2.patch
sha256: dd83c10326188732ac26c1fd8dce70b796a7dde204b31c67cf4d04f29ed4dfef
Preparation:
build_top=$(pwd)
%setup source dtc -q -n dtc-1.6.1
%setup patch dtc -p1
cd ${build_top}
Build:
build_top=$(pwd)
cd dtc-1.6.1
# Build and build flags means force build == host
# gcc is not ready to be compiled with -std=gnu99
LDFLAGS="${SB_HOST_LDFLAGS}"
LIBS="${SB_HOST_LIBS}"
CC=$(echo "gcc ${SB_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "g++ ${SB_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
export CC CXX CC_FOR_BUILD CXX_FOR_BUILD CFLAGS LDFLAGS LIBS
make PREFIX=/home/rtems-tester/rtems-cron-6/tools/6 WARNINGS=
cd ${build_top}
Install:
build_top=$(pwd)
rm -rf $SB_BUILD_ROOT
cd dtc-1.6.1
make DESTDIR=$SB_BUILD_ROOT PREFIX=/home/rtems-tester/rtems-cron-6/tools/6 WARNINGS= install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Thu Jul 18 18:23:56 2024
==============================================================================
Report: devel/dtc-1.6.1-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
[ remotes removed, contact sender for details ]
Status:
Clean
Head:
Commit: c4975f3bc2a9b5db87eab5290dd0f0141c947d68
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/dtc-1.6.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/dtc-1.6.1-1.cfg
------------------------------------------------------------------------------
Package: dtc-1.6.1-x86_64-pc-cygwin-1
Config: devel/dtc-1.6.1-1.cfg
Summary:
Device Tree Compiler v1.6.1 for target on host x86_64-pc-cygwin
URL:
https://www.devicetree.org/
Version:
1.6.1
Release:
1
Sources: 1
1: https://www.kernel.org/pub/software/utils/dtc/dtc-1.6.1.tar.gz
sha256: 38a6257f2c23cb9dfa1781ac4ad122d8358e1a22d33b2da0eb492c190644a376
Patches: 1
1: https://gitlab.rtems.org/rtems/rtos/rtems/-/blob/main/assets/tracmigration/ticket_attachments/0001-checks.c-Ensure-argument-is-an-integer-v2.patch
sha256: dd83c10326188732ac26c1fd8dce70b796a7dde204b31c67cf4d04f29ed4dfef
Preparation:
build_top=$(pwd)
%setup source dtc -q -n dtc-1.6.1
%setup patch dtc -p1
cd ${build_top}
Build:
build_top=$(pwd)
cd dtc-1.6.1
# Build and build flags means force build == host
# gcc is not ready to be compiled with -std=gnu99
LDFLAGS="${SB_HOST_LDFLAGS}"
LIBS="${SB_HOST_LIBS}"
CC=$(echo "gcc ${SB_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "g++ ${SB_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
export CC CXX CC_FOR_BUILD CXX_FOR_BUILD CFLAGS LDFLAGS LIBS
make PREFIX=/home/rtems-tester/rtems-cron-6/tools/6 WARNINGS=
cd ${build_top}
Install:
build_top=$(pwd)
rm -rf $SB_BUILD_ROOT
cd dtc-1.6.1
make DESTDIR=$SB_BUILD_ROOT PREFIX=/home/rtems-tester/rtems-cron-6/tools/6 WARNINGS= install
cd ${build_top}
More information about the build
mailing list