Skip to content

error: 'SO_REUSEPORT' was not declared in this scope #29093

@nmilosev

Description

@nmilosev

🐛 Bug

When building from master, the error in the title appears.

To Reproduce

Steps to reproduce the behavior:

  1. checkout master
  2. build

Expected behavior

Build works

Environment

  • PyTorch Version: 1.4 master
  • OS (e.g., Linux): Fedora Linux
  • How you installed PyTorch (conda, pip, source): source
  • Build command you used (if compiling from source): python setup.py develop
  • Python version: 3.7.4
  • CUDA/cuDNN version: irrelevant
  • GPU models and configuration: irrelevant
  • Any other relevant information: irrelevant

Additional context

Problem is with nccl, as described here: NVIDIA/nccl#244

The patch described there seems to be working but a workaround would be nice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    module: buildBuild system issuesmodule: third_partytriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions