Bug 15934 - Busybox fails to build with linux kernels >= 6.8
Summary: Busybox fails to build with linux kernels >= 6.8
Status: RESOLVED DUPLICATE of bug 15931
Alias: None
Product: Busybox
Classification: Unclassified
Component: Networking (show other bugs)
Version: 1.36.x
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-30 10:30 UTC by Andreas Ziegler
Modified: 2024-05-22 22:47 UTC (History)
3 users (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Ziegler 2024-01-30 10:30:16 UTC
Linux kernel 6.8 removed a number of traffic control related symbols from include/uapi/linux/pkt_sched.h [1]. When using kernel 6.8 headers, compilation of tc.c fails with: 

networking/tc.c: In function ‘cbq_print_opt’:
networking/tc.c:236:27: error: ‘TCA_CBQ_MAX’ undeclared (first use in this function); did you mean ‘TCA_CBS_MAX’?
  236 |         struct rtattr *tb[TCA_CBQ_MAX+1];
      |                           ^~~~~~~~~~~
      |                           TCA_CBS_MAX

Temporary workaround: remove tc from the build with: 

  # CONFIG_TC is not defined

[1] https://lore.kernel.org/all/20231223140154.1319084-1-jhs@mojatatu.com/T/
Comment 1 Tianon Gravi 2024-05-22 22:44:46 UTC
I think this might be a duplicate of https://bugs.busybox.net/show_bug.cgi?id=15931 (opened just a few hours earlier!) :)
Comment 2 Sergei Trofimovich 2024-05-22 22:47:24 UTC

*** This bug has been marked as a duplicate of bug 15931 ***