Skip to content

test_cppext fails on s390x RHEL7 Refleaks 3.x: option ‘-std=gnu11’ is valid for C/ObjC but not for C++ (GCC 4.8.5) #107084

Closed
@vstinner

Description

@vstinner

s390x RHEL7 Refleaks 3.x: https://buildbot.python.org/all/#/builders/129/builds/828

test test_cppext failed -- multiple errors occurred; run in verbose mode for details
(...)
      gcc -std=gnu11 -pthread -fno-strict-overflow -Wsign-compare -g -Og -Wall -fPIC -I/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.refleak/build/build/test_python_34724æ/test_python_worker_42721æ/tempcwd/env/include -I/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.refleak/build/Include -I/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.refleak/build -c /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.refleak/build/Lib/test/_testcppext.cpp -o build/temp.linux-s390x-cpython-313-pydebug/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.refleak/build/Lib/test/_testcppext.o -Werror -std=c++03
      cc1plus: error: command line option ‘-std=gnu11’ is valid for C/ObjC but not for C++ [-Werror]
      cc1plus: all warnings being treated as errors
      error: command '/usr/bin/gcc' failed with exit code 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions