Skip to content

AMD64 Fedora Rawhide Clang 3.x: C compiler cannot create executables #83579

Closed

Description

@vstinner
BPO 39398
Nosy @vstinner

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2020-01-24.10:27:17.018>
created_at = <Date 2020-01-20.17:14:25.636>
labels = ['tests', '3.9']
title = 'AMD64 Fedora Rawhide Clang 3.x: C compiler cannot create executables'
updated_at = <Date 2020-01-24.10:27:17.017>
user = 'https://github.com/vstinner'

bugs.python.org fields:

activity = <Date 2020-01-24.10:27:17.017>
actor = 'vstinner'
assignee = 'none'
closed = True
closed_date = <Date 2020-01-24.10:27:17.018>
closer = 'vstinner'
components = ['Tests']
creation = <Date 2020-01-20.17:14:25.636>
creator = 'vstinner'
dependencies = []
files = []
hgrepos = []
issue_num = 39398
keywords = ['buildbot']
message_count = 2.0
messages = ['360324', '360604']
nosy_count = 1.0
nosy_names = ['vstinner']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue39398'
versions = ['Python 3.9']

Activity

  1. vstinner commented on Jan 20, 2020

    @vstinner
    MemberAuthor

    "AMD64 Fedora Rawhide Clang 3.x" buildbot worker is currently broken:
    https://buildbot.python.org/all/#/builders/169/builds/168

    clang cannot build (statically linked) binary using UBSan:

    $ ./configure --prefix '$(PWD)/target' CC=clang LD=clang CFLAGS=-fsanitize=undefined LDFLAGS=-fsanitize=undefined
    ...
    checking for gcc... clang
    checking whether the C compiler works... no
    configure: error: in `/home/buildbot/buildarea/3.x.cstratak-fedora-rawhide-x86_64.clang-ubsan/build':
    configure: error: C compiler cannot create executables
    See `config.log' for more details

    I reproduced the issue on the worker. The issue comes from a version conflict between clang and compiler-rt packages:

    compiler-rt-9.0.0-1.fc32.x86_64 uses /usr/lib64/clang/9.0.0/...

    vs

    clang-9.0.1-2.fc32.x86_64 uses /usr/lib64/clang/9.0.1/...

    Charalampos created https://src.fedoraproject.org/rpms/compiler-rt/pull-request/10 to propose to update compiler-rt.

  2. vstinner commented on Jan 24, 2020

    @vstinner
    MemberAuthor

    Charalampos downgraded clang to 10.0.0 to workaround the issue. The buildbot worker compiles the code succesfully again:
    https://buildbot.python.org/all/#/builders/169

    I close the issue. The issue is now tracked in Fedora Rawhide anyway:
    https://src.fedoraproject.org/rpms/compiler-rt/pull-request/10

  3. transferred this issue fromon Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.9 (EOL)end of lifetestsTests in the Lib/test dir

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions