From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 45D09E00753; Tue, 30 Dec 2014 19:33:02 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (akuster808[at]gmail.com) * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.192.169 listed in list.dnswl.org] Received: from mail-pd0-f169.google.com (mail-pd0-f169.google.com [209.85.192.169]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 45C6AE00571 for ; Tue, 30 Dec 2014 19:32:53 -0800 (PST) Received: by mail-pd0-f169.google.com with SMTP id z10so20231967pdj.14 for ; Tue, 30 Dec 2014 19:32:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=m34MXxWe9zz/BlhFBVxnJKtznTKUgSlllDGuheHeHSA=; b=uaS28oEuJ8cSoVvb+rnubxQ3QcfF+gihGxFEE2P1/+G6vr89YbTe6zdQvnGDED0UNx TaqXmqLPPLVNDKh3q2vnk+vMBC7PGEtqfm826TQfLVMtwuwyGyRGgJgeAVBhTP5ef3py wzeIbK00qI4JQIWnrqbUeJUZpWjgFm5aSvsyZuhrc6UmGhPxmk3Vmt+QN6JG01MRxsDQ FnKWwmWJvUSLHCNrXRPaUmEuExXZhYwN7tPGuUR9wZjRTexsN9WhqX2npdGdGBkDgxhv TO1CLtpmJN2i9vJuzWq3Py4p1fT+Jmaal2WI6p3hT24pzZxGNndu6FvnQa2wRxlG3QbC D9gA== X-Received: by 10.66.155.225 with SMTP id vz1mr101258742pab.133.1419996772713; Tue, 30 Dec 2014 19:32:52 -0800 (PST) Received: from ?IPv6:2601:c:a700:272f:2d4d:333b:6f45:68dd? ([2601:c:a700:272f:2d4d:333b:6f45:68dd]) by mx.google.com with ESMTPSA id sx4sm39675042pbc.36.2014.12.30.19.32.50 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Dec 2014 19:32:51 -0800 (PST) Message-ID: <54A36E5E.2010103@gmail.com> Date: Tue, 30 Dec 2014 19:32:46 -0800 From: akuster808 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: atulkumar singh , "yocto@yoctoproject.org" References: In-Reply-To: Subject: Re: GCC plugin missing X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2014 03:33:02 -0000 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Atul. I believe you need to add EXTRA_OECONF += "--enable-plugin" in a bbappend file for the gcc you need the support it. That wont solve your problem. The kernel Makefile is hard coded to use your 'HOST' gcc. It is trying to build 'HOST' tools. Look at the kernel Makefile. You might need to install gcc--plugin-dev or something equivalent you your host, but that might not solve all the issues. - Armin On 12/30/2014 06:34 PM, atulkumar singh wrote: > Hi All, > > I have built the toolchin using meta-toolchain. > > But while building the kernel using the same toolchain,we are getting > error message as below:- > > Makefile:635: *** Your gcc installation does not support plugins. If > the necessary headers for plugin support are missing, they should be > installed. On Debian, apt-get install gcc--plugin-dev. If you > choose to ignore this error and lessen the improvements provided by this > patch, re-run make with the DISABLE_PAX_PLUGINS=y argument.. Stop. > > > Please let me know what need to be added to have the missing headers for > GCC plugins. > > > Output of bash ./scripts/gcc-plugin.sh: > > bash ./scripts/gcc-plugin.sh arm-pokymllibv5te-linux-gnueabi-gcc > > ./scripts/gcc-plugin.sh: line 3: -print-file-name=plugin: command not found > > > And our GCC is not configure with plugin support(--enable-plugin): > [atulk@localhost linux-3.2.65]$ arm-pokymllibv5te-linux-gnueabi-gcc -v > > gcc-4.9.1/configure --build=x86_64-linux --host=i686-pokysdk-linux > --target=arm-pokymllibv5te-linux-gnueabi > --prefix=/usr/local/windriver/sysroots/i686-pokysdk-linux/usr > --exec_prefix=/usr/local/windriver/sysroots/i686-pokysdk-linux/usr > --bindir=/usr/local/windriver/sysroots/i686-pokysdk-linux/usr/bin/arm-pokymllibv5te-linux-gnueabi > --sbindir=/usr/local/windriver/sysroots/i686-pokysdk-linux/usr/bin/arm-pokymllibv5te-linux-gnueabi > --libexecdir=/usr/local/windriver/sysroots/i686-pokysdk-linux/usr/libexec/arm-pokymllibv5te-linux-gnueabi > --datadir=/usr/local/windriver/sysroots/i686-pokysdk-linux/usr/share > --sysconfdir=/usr/local/windriver/sysroots/i686-pokysdk-linux/etc > --sharedstatedir=/usr/local/windriver/sysroots/i686-pokysdk-linux/com > --localstatedir=/usr/local/windriver/sysroots/i686-pokysdk-linux/var > --libdir=/usr/local/windriver/sysroots/i686-pokysdk-linux/usr/lib/arm-pokymllibv5te-linux-gnueabi > --includedir=/usr/local/windriver/sysroots/i686-pokysdk-linux/usr/include --oldincludedir=/usr/local/windriver/sysroots/i686-pokysdk-linux/usr/include > --infodir=/usr/local/windriver/sysroots/i686-pokysdk-linux/usr/share/info --mandir=/usr/local/windriver/sysroots/i686-pokysdk-linux/usr/share/man > --disable-silent-rules --disable-dependency-tracking > --with-libtool-sysroot=/data/home/ppurohit/Fresh_Build/poky/build_arm/tmp/sysroots/i686-nativesdk-pokysdk-linux > --with-gnu-ld --enable-shared --enable-languages=c,c++ > --enable-threads=posix --enable-multilib --enable-c99 --enable-long-long > --enable-symvers=gnu --enable-libstdcxx-pch > --program-prefix=arm-pokymllibv5te-linux-gnueabi- --without-local-prefix > --enable-target-optspace --enable-lto --enable-libssp > --disable-bootstrap --disable-libmudflap --with-system-zlib > --with-linker-hash-style=gnu --enable-linker-build-id --with-ppl=no > --with-cloog=no --enable-checking=release --enable-cheaders=c_global > --with-gxx-include-dir=/usr/local/windriver/sysroots/armv5te-pokymllibv5te-linux-gnueabi/usr/include/c++/4.9.1 > --with-build-time-tools=/data/home/ppurohit/Fresh_Build/poky/build_arm/tmp/sysroots/x86_64-linux/usr/arm-pokymllibv5te-linux-gnueabi/bin > --with-sysroot=/usr/local/windriver/sysroots/armv5te-pokymllibv5te-linux-gnueabi > --with-build-sysroot=/data/home/ppurohit/Fresh_Build/poky/build_arm/tmp/sysroots/libv5te-arm-sdk > --enable-poison-system-directories > --with-mpfr=/data/home/ppurohit/Fresh_Build/poky/build_arm/tmp/sysroots/i686-nativesdk-pokysdk-linux > --with-mpc=/data/home/ppurohit/Fresh_Build/poky/build_arm/tmp/sysroots/i686-nativesdk-pokysdk-linux > --enable-nls > > > Regards, > Atul > > >