Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Apr 2020 21:22:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        vbox@FreeBSD.org
Subject:   [Bug 244962] emulators/virtualbox-ose-additions mount -t vboxsf Operation not supported by device
Message-ID:  <bug-244962-26505-fii1JX08P4@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-244962-26505@https.bugs.freebsd.org/bugzilla/>
References:  <bug-244962-26505@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244962

--- Comment #11 from Mateusz Guzik <mjg@FreeBSD.org> ---
This is probably an optimization which is only there because of something wrong
with headers.

There is one fundamental discrepancy between bcmp and memcmp: the former only
indicates there is a difference while the latter computes what it is on the
first differing byte. Thus, if bcmp is provided and buffers differ, it has less
work to do than memcmp and is a better pick if available.

However, FreeBSD headers explicitly define bcmp as builtin_memcmp, therefore
the above should not be happening if they are properly included and the defines
are not overwritten. Once more this is just some build mess.

-- 
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-244962-26505-fii1JX08P4>