NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/57859: kernel build errors - w/ options SPLASHSCREEN
>Number: 57859
>Category: kern
>Synopsis: kernel build errors - w/ options SPLASHSCREEN
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jan 14 22:20:02 +0000 2024
>Originator: Dave B
>Release: 10.0_RC2 [cvs update -r netbsd-10; # 2024-Jan-10th-ish]
>Organization:
>Environment:
[build environment]:
9.3_STABLE (YAMAHA) #2: Wed Apr 5 08:40:18 EDT 2023 netbsd@yamaha:/f/nb/9.x/obj.amd64/f/nb/9.x/src/sys/arch/amd64/compile/YAMAHA amd64
>Description:
Kernel build errors
...
compile GENERIC_T/stb_image.o
...
/f/nb/10.x/src/sys/dev/stbi/stb_image.c: In function 'stbi_gif_info_raw':
/f/nb/10.x/src/sys/dev/stbi/stb_image.c:4362:12: error: stack usage is 18560 bytes [-Werror=stack-usage=]
4362 | static int stbi_gif_info_raw(stbi *s, int *x, int *y, int *comp)
| ^~~~~~~~~~~~~~~~~
/f/nb/10.x/src/sys/dev/stbi/stb_image.c: In function 'stbi_jpeg_info_from_memory':
/f/nb/10.x/src/sys/dev/stbi/stb_image.c:2152:5: error: stack usage is 14144 bytes [-Werror=stack-usage=]
2152 | int stbi_jpeg_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/f/nb/10.x/src/sys/dev/stbi/stb_image.c: In function 'stbi_zlib_decode_malloc_guesssize':
/f/nb/10.x/src/sys/dev/stbi/stb_image.c:2524:7: error: stack usage is 4160 bytes [-Werror=stack-usage=]
2524 | char *stbi_zlib_decode_malloc_guesssize(const char * buffer, int len, int initial_size, int *outlen)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/f/nb/10.x/src/sys/dev/stbi/stb_image.c: In function 'stbi_zlib_decode_malloc_guesssize_headerflag':
/f/nb/10.x/src/sys/dev/stbi/stb_image.c:2545:7: error: stack usage is 4176 bytes [-Werror=stack-usage=]
2545 | char *stbi_zlib_decode_malloc_guesssize_headerflag(const char *buffer, int len, int initial_size, int *outlen, int parse_header)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
(and so on).
>How-To-Repeat:
Add
options SPLASHSCREEN
to GENERIC kernel config, save as GENERIC_T, and issue a "build.sh kernel=GENERIC_T ..." cmd.
Best, -D
>Fix:
Unknown; however, workaround of re-commenting out SPLASHSCREEN is effective at avoiding the error.
Home |
Main Index |
Thread Index |
Old Index