[Buildroot] [PATCH v7] openvmtools: new package
kaszak at gmail.com
Mon Sep 15 13:51:50 UTC 2014
This is because of gcc 4.8's intended behaviour on sizeof() function in
cases when calling on a pointer.
See https://gcc.gnu.org/gcc-4.8/porting_to.html "New warnings for pointer
It also exists as an unconfirmed bug:
This behaviour is only gcc 4.8, while 4.9 and pre-4.8 versions shouldn't do
this (Sourcery uses 4.7 and 4.6, I used the own toolchain w/ 4.9)
On the open-vm-tools mail list, it came up
http://sourceforge.net/p/open-vm-tools/mailman/message/32550520/ , but they
used -Wno-sizeof-pointer-memaccess for compilation - basically silencing
Would you recommend using -Wno-sizeof-pointer-memaccess in the .mk file or
just use a 1 line patch to syncDriverPosix.c - dereferencing
gRemoteFSTypes[i] with an asterisk?
On Mon, Sep 15, 2014 at 1:38 PM, Thomas Petazzoni <
thomas.petazzoni at free-electrons.com> wrote:
> Dear Károly Kasza,
> On Mon, 15 Sep 2014 13:19:06 +0200, Károly Kasza wrote:
> > At first sight something happens with the ctng toolchain, while using own
> > toolchain or Sourcery w/ the same packages/options the problem does not
> > occur. I'm looking in the x86_64-ctng_locales-linux-gnu toolchain right
> Note that it does not happen only with a ctng toolchain. See for
> where the same problem happens with a BR toolchain.
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux, Kernel and Android engineering
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the buildroot