[Bug]: implicit declaration of function ‘drm_fb_helper_alloc_info’
Maintainer thường phản hồi trong vòng 6 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
Hướng nghiên cứu
The failure is reported in guest additions at /tmp/vbox.0/vbox_fb.c:337 while building against Ubuntu’s Linux 6.8 kernel; the issue also says the build succeeds with 5.15. Start by reading the corresponding vbox_fb.c code and the uploaded build logs, then compare the kernel interfaces used by both versions. Done means guest additions compile successfully against 6.8 without breaking the reported 5.15 build.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Version
7.2.22
Host OS Type
Windows
Host OS name + version
Version 10.0.19045.7846
Host Architecture
x86
Guest OS Type
Linux
Guest Architecture
x86
Guest OS name + version
Ubuntu 22.04.5 LTS
Component
Guest Additions/Other
What happened?
Compiling guest additions in the process of routine upgrade of the kernel to 6.8.0-149 in Ubuntu 22.04.5 LTS I am getting (via apt upgrade):
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu
12.3.0-1ubuntu1~22.04.3) 12.3.0
You are using: gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04.3) 12.3.0
Why is that? They look quite identical to me!
This is fatal, though:
/tmp/vbox.0/vbox_fb.c:337:16: error: implicit declaration of function
‘drm_fb_helper_alloc_info’; did you mean ‘drm_fb_helper_fill_info’?
[-Werror=implicit-function-declaration]
337 | info = drm_fb_helper_alloc_info(helper);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| drm_fb_helper_fill_info
/tmp/vbox.0/vbox_fb.c:337:14: warning: assignment to ‘struct fb_info *’
from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
337 | info = drm_fb_helper_alloc_info(helper);
| ^
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:243: /tmp/vbox.0/vbox_fb.o] Error 1
make[2]: *** Waiting for unfinished jobs....
# cmd_gen_objtooldep /tmp/vbox.0/vbox_drv.o
Meanwhile, kernel 5.15.0-203 (which comes in the same upgrade) compiled guest additions without any issues.
I'm using the most up to date VirtualBx 7.2.22-175245 with its current extension package of the same version (7.2.22)
How can we reproduce this?
I don't know how can "you" reproduce this, but it's obviously a compilation bug suggesting that some feature macros (such as for the kernel version number) were not placed around the pieces of code, which are version-dependent (because an earlier kernel 5.15.0-203 does not show the same problem).
Did you upload all of your necessary log files, screenshots, etc.?
- Yes, I've uploaded all pertinent files to this issue.
- Ngôn ngữ chính
- C
- Star
- 1.4k
- Fork
- 219
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của VirtualBox/virtualbox
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
VirtualBox/virtualbox#979 ·
Maintainer thường phản hồi trong vòng 6 ngày
-
[Bug]: Guest Additions 7.2.20 vboxvideo fails to build on Linux kernel 6.12.113 (drm_fb_helper_restore_fbdev_mode_unlocked: too few arguments)Có thể đã có người làm @Berbe đã nhận 11 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
VirtualBox/virtualbox#918 · 9 bình luận ·
Maintainer thường phản hồi trong vòng 6 ngày
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 12/100
VirtualBox/virtualbox#981 ·
Maintainer thường phản hồi trong vòng 6 ngày
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 8/100
VirtualBox/virtualbox#980 ·
Maintainer thường phản hồi trong vòng 6 ngày
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 18/100
VirtualBox/virtualbox#977 ·
Maintainer thường phản hồi trong vòng 6 ngày
Tất cả issue của VirtualBox/virtualbox
Issue tương tự
-
bug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Status: Opened
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
FriendsofECCE/ECCE#1018 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
immortalwrt/immortalwrt#2522 ·
-
翻译冲突Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
fw876/helloworld#2089 ·
Maintainer thường phản hồi trong vòng 1 ngày