Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-3712 regression fixes for gcc.
  3. FL-3590

gcc-6.3.0 cannot compile gcc-5.3.0 and gcc-4.9.3-r3

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None
    • None

      Reported upstream:
      https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69959

      Patch to fix the issue:
      https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff_plain;h=ec1cc0263f156f70693a62cf17b254a0029f4852

      Build failure excerpt:

      In file included from ../../gcc-4.9.3/gcc/cp/except.c:1013:0:
      cfns.gperf: In function ‘const char* libc_name_p(const char*, unsigned int)’:
      cfns.gperf:101:1: error: ‘const char* libc_name_p(const char*, unsigned int)’ redeclared inline with ‘gnu_inline’ attribute
      cfns.gperf:26:14: note: ‘const char* libc_name_p(const char*, unsigned int)’ previously declared here
      ../../gcc-4.9.3/gcc/cp/parser.c: In function ‘tree_node* cp_parser_objc_expression(cp_parser*)’:
      ../../gcc-4.9.3/gcc/cp/parser.c:25084:5: warning: case value ‘83’ not in enumerated type ‘cpp_ttype’ [-Wswitch]
           case CPP_KEYWORD:
           ^~~~
      

            drobbins drobbins
            hencb hencb [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: