Skip to content

powerpc-utils fail to builds with GCC 15 (builds ok with GCC 14)Β #109

@ernsteiswuerfel

Description

@ernsteiswuerfel

This started as downstream Gentoo bug 955092.

Also get the same error when building git-master (4443a68):

 # ./autogen.sh
 # ./configure
 # make

[...]

  CC       src/nvram.o
src/nvram.c: In function 'dump_rtas_event_entry':
src/nvram.c:932:18: error: too many arguments to function 'parse_rtas_event'; expected 0, have 2
  932 |     rtas_event = parse_rtas_event(data, len);
      |                  ^~~~~~~~~~~~~~~~ ~~~~
src/nvram.c:938:5: error: too many arguments to function 'rtas_print_event'; expected 0, have 3
  938 |     rtas_print_event(stdout, rtas_event, 0);
      |     ^~~~~~~~~~~~~~~~ ~~~~~~
src/nvram.c:940:5: error: too many arguments to function 'cleanup_rtas_event'; expected 0, have 1
  940 |     cleanup_rtas_event(rtas_event);
      |     ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~~
make: *** [Makefile:1077: src/nvram.o] Error 1

librtas version 2.0.6 installed on the system (Talos II, Gentoo Linux).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions