Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 16093] New: kmod and gcc-14 build error
@ 2024-06-04 14:06 bugzilla
  2024-06-04 16:58 ` [Buildroot] [Bug 16093] " bugzilla
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla @ 2024-06-04 14:06 UTC (permalink / raw)
  To: buildroot

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-06-04 19:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-04 14:06 [Buildroot] [Bug 16093] New: kmod and gcc-14 build error bugzilla
2024-06-04 16:58 ` [Buildroot] [Bug 16093] " bugzilla
2024-06-04 19:20 ` bugzilla
2024-06-04 19:50 ` bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox