VirtualBox

Opened 4 years ago

Closed 4 years ago

#19494 closed defect (fixed)

Guest additions compilation failure on x86 (32bit) (fixed in VirtualBox 6.1.8)

Reported by: Jan Palus Owned by: Frank Batschulat (Oracle)
Component: guest additions/x11/graphics Version: VirtualBox 6.1.6
Keywords: Cc:
Guest type: Linux Host type: other

Description

/tmp/B.dzLgNZ/BUILD/VirtualBox-6.1.6/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp: In function 'int startX11MonitorThread()':
/tmp/B.dzLgNZ/BUILD/VirtualBox-6.1.6/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp:313:49: error: invalid conversion from 'int (*)(RTTHREAD, void*)' {aka 'int (*)(RTTHREADINT*, void*)'} to 'PFNRTTHREAD' {aka 'int (__attribute__((regparm(0), cdecl)) *)(RTTHREADINT*, void*)'} [-fpermissive]

Attachments (2)

buildlog_ubuntu-bionic-i386.virtualbox_6.1.6-dfsg-1~ubuntu18.04.1_BUILDING.txt.gz (208.4 KB ) - added by Peter Meiser 4 years ago.
buildlog
x86-guest.patch (454 bytes ) - added by Jan Palus 4 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 by Frank Batschulat (Oracle), 4 years ago

Status: newawaitsfeedback

which Linux distribution, which kernel version, which gcc compiler?

comment:2 by Peter Meiser, 4 years ago

I can reproduce it in my Ubuntu 18.04 PPA, see attached buildlog.

comment:3 by Jan Palus, 4 years ago

Looking at other RTThreadCreate invocations, shouldn't x11MonitorThreadFunction be declared with DECLCALLBACK(int)...?

by Jan Palus, 4 years ago

Attachment: x86-guest.patch added

comment:4 by Jan Palus, 4 years ago

Confirmed that attached patch fixes compilation.

comment:5 by Frank Batschulat (Oracle), 4 years ago

Component: otherguest additions/x11/graphics
Owner: set to Frank Batschulat (Oracle)
Status: awaitsfeedbackaccepted

comment:6 by Frank Batschulat (Oracle), 4 years ago

This has been fixed in the 6.1.X branch with revision r137261 and will be part of the next public 6.1.X release.

comment:7 by Frank Batschulat (Oracle), 4 years ago

Resolution: fixed
Status: acceptedclosed
Summary: Guest additions compilation failure on x86 (32bit)Guest additions compilation failure on x86 (32bit) (fixed in VirtualBox 6.1.8)

fixed in VirtualBox 6.1.8

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use