Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build errors with GCC 11 #324

Open
cpackham opened this issue Jun 15, 2021 · 0 comments
Open

Build errors with GCC 11 #324

cpackham opened this issue Jun 15, 2021 · 0 comments

Comments

@cpackham
Copy link
Contributor

mips64,apteryx: Done (20)
mips64,apteryx: Running Commands
mips64,apteryx: Compiling apteryx.c
mips64,apteryx: In file included from apteryx.c:33:
mips64,apteryx: apteryx.c: In function 'apteryx_prune':
mips64,apteryx: internal.h:64:9: error: '%s' directive argument is null [-Werror=format-overflow=]
mips64,apteryx:    64 |         syslog (LOG_ERR, fmt, ## args); \
mips64,apteryx:       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mips64,apteryx: apteryx.c:450:9: note: in expansion of macro 'ERROR'
mips64,apteryx:   450 |         ERROR ("PRUNE: invalid path (%s)!\n", path);
mips64,apteryx:       |         ^~~~~
mips64,apteryx: apteryx.c:450:38: note: format string is defined here
mips64,apteryx:   450 |         ERROR ("PRUNE: invalid path (%s)!\n", path);
mips64,apteryx:       |                                      ^~
mips64,apteryx: In file included from apteryx.c:33:
mips64,apteryx: internal.h:69:13: error: '%s' directive argument is null [-Werror=format-overflow=]
mips64,apteryx:    69 |             fprintf (stderr, fmt, ## args); \
mips64,apteryx:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mips64,apteryx: apteryx.c:450:9: note: in expansion of macro 'ERROR'
mips64,apteryx:   450 |         ERROR ("PRUNE: invalid path (%s)!\n", path);
mips64,apteryx:       |         ^~~~~
mips64,apteryx: apteryx.c:450:38: note: format string is defined here
mips64,apteryx:   450 |         ERROR ("PRUNE: invalid path (%s)!\n", path);
mips64,apteryx:       |                                      ^~
mips64,apteryx: In file included from apteryx.c:33:
mips64,apteryx: apteryx.c: In function 'apteryx_path_node':
mips64,apteryx: internal.h:64:9: error: '%s' directive argument is null [-Werror=format-overflow=]
mips64,apteryx:    64 |         syslog (LOG_ERR, fmt, ## args); \
mips64,apteryx:       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mips64,apteryx: apteryx.c:980:9: note: in expansion of macro 'ERROR'
mips64,apteryx:   980 |         ERROR ("PATH_NODE: invalid path (%s)!\n", path);
mips64,apteryx:       |         ^~~~~
mips64,apteryx: apteryx.c:980:42: note: format string is defined here
mips64,apteryx:   980 |         ERROR ("PATH_NODE: invalid path (%s)!\n", path);
mips64,apteryx:       |                                          ^~
mips64,apteryx: In file included from apteryx.c:33:
mips64,apteryx: internal.h:69:13: error: '%s' directive argument is null [-Werror=format-overflow=]
mips64,apteryx:    69 |             fprintf (stderr, fmt, ## args); \
mips64,apteryx:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mips64,apteryx: apteryx.c:980:9: note: in expansion of macro 'ERROR'
mips64,apteryx:   980 |         ERROR ("PATH_NODE: invalid path (%s)!\n", path);
mips64,apteryx:       |         ^~~~~
mips64,apteryx: apteryx.c:980:42: note: format string is defined here
mips64,apteryx:   980 |         ERROR ("PATH_NODE: invalid path (%s)!\n", path);
mips64,apteryx:       |                                          ^~
mips64,apteryx: In file included from apteryx.c:33:
mips64,apteryx: apteryx.c: In function 'apteryx_search':
mips64,apteryx: internal.h:64:9: error: '%s' directive argument is null [-Werror=format-overflow=]
mips64,apteryx:    64 |         syslog (LOG_ERR, fmt, ## args); \
mips64,apteryx:       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mips64,apteryx: apteryx.c:1341:9: note: in expansion of macro 'ERROR'
mips64,apteryx:  1341 |         ERROR ("SEARCH: invalid root (%s)!\n", path);
mips64,apteryx:       |         ^~~~~
mips64,apteryx: apteryx.c:1341:39: note: format string is defined here
mips64,apteryx:  1341 |         ERROR ("SEARCH: invalid root (%s)!\n", path);
mips64,apteryx:       |                                       ^~
mips64,apteryx: In file included from apteryx.c:33:
mips64,apteryx: internal.h:69:13: error: '%s' directive argument is null [-Werror=format-overflow=]
mips64,apteryx:    69 |             fprintf (stderr, fmt, ## args); \
mips64,apteryx:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mips64,apteryx: apteryx.c:1341:9: note: in expansion of macro 'ERROR'
mips64,apteryx:  1341 |         ERROR ("SEARCH: invalid root (%s)!\n", path);
mips64,apteryx:       |         ^~~~~
mips64,apteryx: apteryx.c:1341:39: note: format string is defined here
mips64,apteryx:  1341 |         ERROR ("SEARCH: invalid root (%s)!\n", path);
mips64,apteryx:       |                                       ^~
mips64,apteryx: In file included from apteryx.c:33:
mips64,apteryx: apteryx.c: In function 'apteryx_find':
mips64,apteryx: internal.h:64:9: error: '%s' directive argument is null [-Werror=format-overflow=]
mips64,apteryx:    64 |         syslog (LOG_ERR, fmt, ## args); \
mips64,apteryx:       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mips64,apteryx: apteryx.c:1451:9: note: in expansion of macro 'ERROR'
mips64,apteryx:  1451 |         ERROR ("FIND: invalid root (%s)!\n", path);
mips64,apteryx:       |         ^~~~~
mips64,apteryx: apteryx.c:1451:37: note: format string is defined here
mips64,apteryx:  1451 |         ERROR ("FIND: invalid root (%s)!\n", path);
mips64,apteryx:       |                                     ^~
mips64,apteryx: In file included from apteryx.c:33:
mips64,apteryx: internal.h:69:13: error: '%s' directive argument is null [-Werror=format-overflow=]
mips64,apteryx:    69 |             fprintf (stderr, fmt, ## args); \
mips64,apteryx:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mips64,apteryx: apteryx.c:1451:9: note: in expansion of macro 'ERROR'
mips64,apteryx:  1451 |         ERROR ("FIND: invalid root (%s)!\n", path);
mips64,apteryx:       |         ^~~~~
mips64,apteryx: apteryx.c:1451:37: note: format string is defined here
mips64,apteryx:  1451 |         ERROR ("FIND: invalid root (%s)!\n", path);
mips64,apteryx:       |                                     ^~
mips64,apteryx: cc1: all warnings being treated as errors
mips64,apteryx: make: *** [Makefile:55: apteryx.o] Error 1
mips64,apteryx: Error Running make (path = output/mips64/apteryx/work/apteryx-4.47, return code = 512)
mips64,apteryx: Path: output/mips64/apteryx/work/apteryx-4.47

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant