Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: gcc plugin support

  1. #1

    Post gcc plugin support

    today i tried to compile a custom kernel, after i typed make i got this error: Your gcc installation does not support plugins.
    i tried checking the software repositories but i didn't find any packages that could do that.
    i read on the bug tracker that people were getting this error back in 2011. so has anything been done about this and how do i enable plugin support?

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,167

    Default Re: gcc plugin support

    I do not know which version of which operating system it was in 2011.

    But we do not even now what version of openSUSE you have the problem on in 2014.
    Henk van Velden

  3. #3

    Default Re: gcc plugin support

    my suse version is 13.1
    the version in the bug tracker from 2011 i was reading about was 11.4

  4. #4
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: gcc plugin support

    On 2014-01-13 15:26, ambusher wrote:
    >
    > my suse version is 13.1
    > the version in the bug tracker from 2011 i was reading about was 11.4


    Care to share with us a link to that bug tracker? :-)

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)

  5. #5

    Default Re: gcc plugin support

    well, it's not actually a bug tracker but rather a mailing list, there was howevera mention of filing out a bug,
    http://marc.info/?l=opensuse-factory...2265416946&w=2

    and here's another one, this time from 2003...
    http://gcc.gnu.org/ml/gcc-help/2003-11/msg00304.html

    this doesn't however get me any near a solution to the problem. so does anyone know the packages that provide the header files needed?

  6. #6
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: gcc plugin support

    On 2014-01-14 12:36, ambusher wrote:
    >
    > well, it's not actually a bug tracker but rather a mailing list, there
    > was howevera mention of filing out a bug,
    > http://marc.info/?l=opensuse-factory...2265416946&w=2


    Well, what I see in that thread is that the GCC shipped with 11.4 did
    not have plugin support. And there was no intention of adding it, at
    least for 11.4.

    I have no idea if it was added for other releases.

    > this doesn't however get me any near a solution to the problem. so does
    > anyone know the packages that provide the header files needed?


    Maybe the actual error messages you get might help someone to track this.

    What openSUSE version do you have? What gcc related packages did you
    install? Did you choose separate packages, or did you choose a pattern?

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)

  7. #7

    Default Re: gcc plugin support

    as i said i use opensuse 13.1
    here's zypper search gcc output: (the "i" symbol in the "S" column means it's installed), they were all installed manually

    Code:
    S | Name                                 | Summary                                                               | Type      
    --+--------------------------------------+-----------------------------------------------------------------------+-----------                                                                                                                                                  
    i | cross-aarch64-gcc48-icecream-backend | The GNU C Compiler and Support Files                                  | package                                                                                                                                                     
    i | cross-armv6hl-gcc48-icecream-backend | The GNU C Compiler and Support Files                                  | package                                                                                                                                                     
    i | cross-armv7hl-gcc48-icecream-backend | The GNU C Compiler and Support Files                                  | package                                                                                                                                                     
    i | cross-hppa-gcc48-icecream-backend    | The GNU C Compiler and Support Files                                  | package                                                                                                                                                     
    i | cross-i386-gcc48-icecream-backend    | The GNU C Compiler and Support Files                                  | package                                                                                                                                                     
    i | cross-ia64-gcc48-icecream-backend    | The GNU C Compiler and Support Files                                  | package                                                                                                                                                     
    i | cross-ppc-gcc48-icecream-backend     | The GNU C Compiler and Support Files                                  | package                                                                                                                                                     
    i | cross-ppc64-gcc48-icecream-backend   | The GNU C Compiler and Support Files                                  | package                                                                                                                                                     
    i | cross-s390-gcc48-icecream-backend    | The GNU C Compiler and Support Files                                  | package                                                                                                                                                     
    i | cross-s390x-gcc48-icecream-backend   | The GNU C Compiler and Support Files                                  | package                                                                                                                                                     
    i | gcc                                  | The system GNU C Compiler                                             | package                                                                                                                                                     
    i | gcc-32bit                            | The system GNU C Compiler                                             | package                                                                                                                                                     
    i | gcc-ada                              | The system GNU Ada Compiler                                           | package                                                                                                                                                     
    i | gcc-ar                               | Plugin aware AR utility                                               | package                                                                                                                                                     
    i | gcc-c++                              | The system GNU C++ Compiler                                           | package                                                                                                                                                     
    i | gcc-c++-32bit                        | The system GNU C++ Compiler                                           | package                                                                                                                                                     
    i | gcc-fortran                          | The system GNU Fortran Compiler                                       | package                                                                                                                                                     
    i | gcc-fortran-32bit                    | The system GNU Fortran Compiler                                       | package                                                                                                                                                     
    i | gcc-gij                              | The system GNU Java bytecode interpreter                              | package                                                                                                                                                     
    i | gcc-gij-32bit                        | The system GNU Java bytecode interpreter                              | package                                                                                                                                                     
    i | gcc-info                             | The system GNU Compiler documentation                                 | package                                                                                                                                                     
    i | gcc-java                             | The system GNU Java Compiler                                          | package                                                                                                                                                     
    i | gcc-locale                           | The system GNU Compiler locale files                                  | package                                                                                                                                                     
    i | gcc-nm                               | Plugin aware NM utility                                               | package                                                                                                                                                     
    i | gcc-obj-c++                          | The system GNU Objective C++ Compiler                                 | package                                                                                                                                                     
    i | gcc-objc                             | The system GNU Objective C Compiler                                   | package                                                                                                                                                     
    i | gcc-objc-32bit                       | The system GNU Objective C Compiler                                   | package                                                                                                                                                     
    i | gcc-ranlib                           | Plugin aware RANLIB utility                                           | package                                                                                                                                                     
      | gcc33                                | The GNU C Compiler and Support Files                                  | package   
      | gcc33-32bit                          | The GNU C Compiler 32bit support                                      | package   
      | gcc33-c++                            | The GNU C++ Compiler                                                  | package   
      | gcc33-fortran                        | The GNU Fortran Compiler and Support Files                            | package   
      | gcc33-fortran-32bit                  | The GNU Fortran Compiler and Support Files                            | package   
      | gcc33-locale                         | gcc-locale                                                            | package   
      | gcc33-objc                           | GNU Objective C Compiler                                              | package   
      | gcc33-objc-32bit                     | GNU Objective C Compiler                                              | package   
      | gcc33-testresults                    | Testsuite results                                                     | package   
    i | gcc48                                | The GNU C Compiler and Support Files                                  | package   
    i | gcc48-32bit                          | The GNU C Compiler 32bit support                                      | package   
    i | gcc48-ada                            | GNU Ada95 Compiler Based on GCC (GNAT)                                | package   
      | gcc48-ada-32bit                      | GNU Ada95 Compiler Based on GCC (GNAT)                                | package   
    i | gcc48-c++                            | The GNU C++ Compiler                                                  | package   
    i | gcc48-fortran                        | The GNU Fortran Compiler and Support Files                            | package   
    i | gcc48-fortran-32bit                  | The GNU Fortran Compiler and Support Files                            | package   
    i | gcc48-gij                            | Java Bytecode Interpreter for gcc                                     | package   
    i | gcc48-gij-32bit                      | Java Bytecode Interpreter for gcc                                     | package   
    i | gcc48-info                           | Documentation for the GNU compiler collection                         | package   
    i | gcc48-java                           | The GNU Java Compiler                                                 | package   
    i | gcc48-locale                         | Locale Data for the GNU Compiler Collection                           | package   
    i | gcc48-obj-c++                        | GNU Objective C++ Compiler                                            | package   
    i | gcc48-objc                           | GNU Objective C Compiler                                              | package   
    i | gcc48-objc-32bit                     | GNU Objective C Compiler                                              | package   
    i | gccmakedep                           | Utility to list the resource database of an X application             | package   
    i | libgcc_s1                            | C compiler runtime library                                            | package   
    i | libgcc_s1-32bit                      | C compiler runtime library                                            | package   
    i | libstlport_gcc4                      | C++ STL library compatible with the latest ANSI/ISO C++ specification | package   
      | libstlport_gcc4                      | C++ STL library compatible with the latest ANSI/ISO C++ specification | srcpackage
      | libstlport_gcc4-debuginfo            | Debug information for package libstlport_gcc4                         | package   
    i | libstlport_gcc4-devel                | Headers and Files Needed to Develop with libstlport_gcc4              | package
    when i try to compile my kernel i get:
    Code:
    Makefile:652: *** 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.
    and after running make with grsecurity's DISABLE_PAX_PLUGINS=y argument i get:
    Code:
    make[1]: Nothing to be done for `all'.
    make[1]: Nothing to be done for `relocs'.
      CHK     include/config/kernel.release
      CHK     include/generated/uapi/linux/version.h
      CHK     include/generated/utsrelease.h
      CALL    scripts/checksyscalls.sh
      CHK     include/generated/compile.h
      AS      arch/x86/ia32/ia32entry.o
    arch/x86/ia32/ia32entry.S: Assembler messages:
    arch/x86/ia32/ia32entry.S:215: Error: invalid operands (*ABS* and *UND* sections) for `|'
    arch/x86/ia32/ia32entry.S:289: Error: invalid operands (*ABS* and *UND* sections) for `|'
    arch/x86/ia32/ia32entry.S:289: Error: invalid operands (*ABS* and *UND* sections) for `|'
    arch/x86/ia32/ia32entry.S:401: Error: invalid operands (*ABS* and *UND* sections) for `|'
    arch/x86/ia32/ia32entry.S:429: Error: invalid operands (*ABS* and *UND* sections) for `|'
    arch/x86/ia32/ia32entry.S:429: Error: invalid operands (*ABS* and *UND* sections) for `|'
    make[2]: *** [arch/x86/ia32/ia32entry.o] Error 1
    make[1]: *** [arch/x86/ia32] Error 2
    make: *** [arch/x86] Error 2
    i initially didn't put the assembler error in here because it doesn't seem to have anything to do with plugin support, but rather with the kernel config, and i wanted to get the plugins running first before fixing that

  8. #8
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: gcc plugin support

    On 2014-01-16 12:56, ambusher wrote:
    >
    > as i said i use opensuse 13.1
    > here's zypper search gcc output: (the "i" symbol in the "S" column means
    > it's installed), they were all installed manually


    Manually. Ok, then go into YaST, and select for install at least the
    "Base development" pattern, and then the "Linux kernel Development"
    pattern. On the "Patterns" tab.


    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)

  9. #9

    Default Re: gcc plugin support

    i installed everything from the base development and linux kernel development patterns (except things like compiling over network etc) but still get the same errors :/
    would the fedora gcc-plugin-devel package work in suse? because without it, i don't think it's not gonna go anywhere

  10. #10

    Default Re: gcc plugin support

    the fedora package won't install
    i will try hacking the rpm to see what i can do about it
    any ideas what else can be done about it?

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •