VirtualBox

Ticket #19494 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

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

Reported by: jpalus2 Owned by: fbatschu
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

buildlog_ubuntu-bionic-i386.virtualbox_6.1.6-dfsg-1~ubuntu18.04.1_BUILDING.txt.gz Download (208.4 KB) - added by meiser1979 3 years ago.
buildlog
x86-guest.patch Download (454 bytes) - added by jpalus2 3 years ago.

Change History

comment:1 Changed 3 years ago by fbatschu

  • Status changed from new to awaitsfeedback

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

comment:2 Changed 3 years ago by meiser1979

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

comment:3 Changed 3 years ago by jpalus2

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

Changed 3 years ago by jpalus2

comment:4 Changed 3 years ago by jpalus2

Confirmed that attached patch fixes compilation.

comment:5 Changed 3 years ago by fbatschu

  • Owner set to fbatschu
  • Status changed from awaitsfeedback to accepted
  • Component changed from other to guest additions/x11/graphics

comment:6 Changed 3 years ago by fbatschu

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 Changed 3 years ago by fbatschu

  • Status changed from accepted to closed
  • Resolution set to fixed
  • Summary changed from Guest additions compilation failure on x86 (32bit) to 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.

www.oracle.com
ContactPrivacy policyTerms of Use