From: bugzilla@busybox.net
To: buildroot@uclibc.org
Subject: [Buildroot] [Bug 16093] New: kmod and gcc-14 build error
Date: Tue, 04 Jun 2024 14:06:07 +0000 [thread overview]
Message-ID: <bug-16093-163@https.bugs.busybox.net/> (raw)
https://bugs.busybox.net/show_bug.cgi?id=16093
Bug ID: 16093
Summary: kmod and gcc-14 build error
Product: buildroot
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned@buildroot.uclibc.org
Reporter: lancethepants@gmail.com
CC: buildroot@uclibc.org
Target Milestone: ---
Trying out 2024.05-rc1 ran into this issue when using gcc-14. Minimum defconfig
below. I saw a patch in patchwork, but it wasn't gcc-14 related and didn't work
here when applying it.
libkmod/libkmod-config.c: In function 'conf_files_insert_sorted':
libkmod/libkmod-config.c:797:24: error: implicit declaration of function
'basename' [-Wimplicit-function-declaration]
797 | name = basename(path);
| ^~~~~~~~
libkmod/libkmod-config.c:797:24: warning: nested extern declaration of
'basename' [-Wnested-externs]
libkmod/libkmod-config.c:797:22: error: assignment to 'const char *' from 'int'
makes pointer from integer without a cast [-Wint-conversion]
797 | name = basename(path);
| ^
make[3]: *** [Makefile:1771: libkmod/libkmod-config.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
shared/util.c: In function 'path_to_modname':
shared/util.c:177:19: error: implicit declaration of function 'basename'
[-Wimplicit-function-declaration]
177 | modname = basename(path);
| ^~~~~~~~
shared/util.c:177:19: warning: nested extern declaration of 'basename'
[-Wnested-externs]
shared/util.c:177:17: error: assignment to 'char *' from 'int' makes pointer
from integer without a cast [-Wint-conversion]
177 | modname = basename(path);
BR2_x86_64=y
BR2_TOOLCHAIN_BUILDROOT_MUSL=y
BR2_KERNEL_HEADERS_6_6=y
BR2_BINUTILS_VERSION_2_42_X=y
BR2_GCC_VERSION_14_X=y
BR2_PACKAGE_KMOD=y
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next reply other threads:[~2024-06-04 14:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-04 14:06 bugzilla [this message]
2024-06-04 16:58 ` [Buildroot] [Bug 16093] kmod and gcc-14 build error bugzilla
2024-06-04 19:20 ` bugzilla
2024-06-04 19:50 ` bugzilla
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-16093-163@https.bugs.busybox.net/ \
--to=bugzilla@busybox.net \
--cc=buildroot@uclibc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.