Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Aug 2019 13:32:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 240209] emulators/virtualbox-ose: 5.2.32_1 failed to build : error: comparison between pointer and integer ('void *' and 'RTR0PTR' (aka 'unsigned long'))
Message-ID:  <bug-240209-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240209

            Bug ID: 240209
           Summary: emulators/virtualbox-ose: 5.2.32_1 failed to build :
                    error: comparison between pointer and integer ('void
                    *' and 'RTR0PTR' (aka 'unsigned long'))
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: vbox@FreeBSD.org
          Reporter: freebsd@sysctl.cz
          Assignee: vbox@FreeBSD.org
             Flags: maintainer-feedback?(vbox@FreeBSD.org)

Created attachment 207023
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D207023&action=
=3Dedit
pkg_version

Hi, i upgraged with portmaster virtualbox-ose-5.2.30 to virtualbox-ose-5.2.=
32_1
problem is with comparsion pointers

/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.32/src/VBox/VMM/VMM=
R3/APIC.cpp:1491:17:
warning: 'register' storage class specifier is deprecated and incompatible =
with
C++17 [-Wdeprecated-register]
                LogRel(("APIC: Failed to map %u bytes for the pending-inter=
rupt
bitmap into GC, rc=3D%Rrc\n", pApic->cbApicPib,
                ^
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.32/include/iprt/log=
.h:1443:29:
note: expanded from macro 'LogRel'
#define LogRel(a)           LogRelItLikely(RTLOGGRPFLAGS_LEVEL_1, LOG_GROUP=
, a)
                            ^
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.32/include/iprt/log=
.h:1368:5:
note: expanded from macro 'LogRelItLikely'
    _LogRelItLikely(a_fFlags, a_iGroup, _LogRelRemoveParentheseis fmtargs)
    ^
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.32/include/iprt/log=
.h:1365:9:
note: expanded from macro '_LogRelItLikely'
        _LogIt(a_fFlags, a_iGroup, __VA_ARGS__); \
        ^
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.32/include/iprt/log=
.h:613:9:
note: expanded from macro '_LogIt'
        register PRTLOGGER LogIt_pLogger =3D
RTLogDefaultInstanceEx(RT_MAKE_U32(a_fFlags, a_iGroup)); \
        ^
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.32/src/VBox/VMM/VMM=
R3/APIC.cpp:1513:43:
error: comparison between pointer and integer ('void *' and 'RTR0PTR' (aka
'unsigned long'))
            Assert(pApicCpu->pvApicPageR3 =3D=3D NIL_RTR0PTR);
                   ~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.32/include/iprt/ass=
ert.h:304:26:
note: expanded from macro 'Assert'
        if (RT_LIKELY(!!(expr))) \
                         ^~~~
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.32/include/iprt/cde=
fs.h:1691:53:
note: expanded from macro 'RT_LIKELY'
#  define RT_LIKELY(expr)       __builtin_expect(!!(expr), 1)
                                                    ^~~~

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240209-7788>