All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: GCC plugin missing
       [not found] <SIXPR03MB304909CFBAC30A54D4EF6EFEA5E0@SIXPR03MB304.apcprd03.prod.outlook.com>
@ 2014-12-31  1:48 ` atulkumar singh
  2014-12-31  2:34 ` atulkumar singh
  1 sibling, 0 replies; 4+ messages in thread
From: atulkumar singh @ 2014-12-31  1:48 UTC (permalink / raw)
  To: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 3562 bytes --]

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-<ver>-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

[-- Attachment #2: Type: text/html, Size: 3646 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* GCC plugin missing
       [not found] <SIXPR03MB304909CFBAC30A54D4EF6EFEA5E0@SIXPR03MB304.apcprd03.prod.outlook.com>
  2014-12-31  1:48 ` GCC plugin missing atulkumar singh
@ 2014-12-31  2:34 ` atulkumar singh
  2014-12-31  3:32   ` akuster808
  1 sibling, 1 reply; 4+ messages in thread
From: atulkumar singh @ 2014-12-31  2:34 UTC (permalink / raw)
  To: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 3544 bytes --]

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-<ver>-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

[-- Attachment #2: Type: text/html, Size: 3608 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: GCC plugin missing
  2014-12-31  2:34 ` atulkumar singh
@ 2014-12-31  3:32   ` akuster808
  2014-12-31 14:27     ` Jens Lucius
  0 siblings, 1 reply; 4+ messages in thread
From: akuster808 @ 2014-12-31  3:32 UTC (permalink / raw)
  To: atulkumar singh, yocto@yoctoproject.org

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-<ver>-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-<ver>-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
>
>
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: GCC plugin missing
  2014-12-31  3:32   ` akuster808
@ 2014-12-31 14:27     ` Jens Lucius
  0 siblings, 0 replies; 4+ messages in thread
From: Jens Lucius @ 2014-12-31 14:27 UTC (permalink / raw)
  To: akuster808, atulkumar singh, yocto@yoctoproject.org

Hi

I had the same problem, here is an example .bbapend:

gcc-cross_%.bbappend

EXTRA_OECONF += "--enable-plugin"

You also need a very recent gcc on the host, I think it was at least 4.9.

Regards,

Jens

Am 31.12.2014 um 04:32 schrieb akuster808:
> 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-<ver>-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-<ver>-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
>>
>>
>>



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-12-31 14:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <SIXPR03MB304909CFBAC30A54D4EF6EFEA5E0@SIXPR03MB304.apcprd03.prod.outlook.com>
2014-12-31  1:48 ` GCC plugin missing atulkumar singh
2014-12-31  2:34 ` atulkumar singh
2014-12-31  3:32   ` akuster808
2014-12-31 14:27     ` Jens Lucius

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.