You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just cloned the latest version and built the toolchain from source build-toolchain.sh in the tools folder. This ran correctly.
The N64_INST var is set to ~/libdragon.
When running build.sh from the tools folder i get the error:
dumpdfs/dumpdfs.c: In function ‘main’:
dumpdfs/dumpdfs.c:801:29: error: argument 1 value ‘18446744073709551611’ exceeds maximum object size 9223372036854775807 [-Werror=alloc-size-larger-than=]
801 | uint8_t *data = malloc( (size_t)dfs_size( fl ) );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from dumpdfs/dumpdfs.c:4:
/usr/include/stdlib.h:539:14: note: in a call to allocation function ‘malloc’ declared here
539 | extern void *malloc (size_t __size) __THROW __attribute_malloc__
| ^~~~~~
dumpdfs/dumpdfs.c:837:29: error: argument 1 value ‘18446744073709551611’ exceeds maximum object size 9223372036854775807 [-Werror=alloc-size-larger-than=]
837 | uint8_t *data = malloc( (size_t)dfs_size( fl ) );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from dumpdfs/dumpdfs.c:4:
/usr/include/stdlib.h:539:14: note: in a call to allocation function ‘malloc’ declared here
539 | extern void *malloc (size_t __size) __THROW __attribute_malloc__
| ^~~~~~
cc1: all warnings being treated as errors
make[1]: *** [Makefile:11: dumpdfs/dumpdfs.o] Error 1
make[1]: *** Waiting for unfinished jobs....
I'm using the latest version of WSL.
The older version of libdragon which i built from source just a couple of weeks ago had no issue running build.sh
The text was updated successfully, but these errors were encountered:
rasky
added a commit
to rasky/libdragon
that referenced
this issue
Apr 23, 2024
I just cloned the latest version and built the toolchain from source build-toolchain.sh in the tools folder. This ran correctly.
The N64_INST var is set to ~/libdragon.
When running build.sh from the tools folder i get the error:
I'm using the latest version of WSL.
The older version of libdragon which i built from source just a couple of weeks ago had no issue running build.sh
The text was updated successfully, but these errors were encountered: