python-hyper / python-hyper/brotlicffi

libstdc++ removed from XCode 10, compile fails

Open
#143 0 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
154
Forks
34
Avg merge
1d 1h
Merged PRs (30d)
3

Description

Expected Behavior:

The package should compile and install.

Actual Behavior:

It appears that libstdc++ is removed from XCode 10 in favor of libc++ (which has been deprecated by Apple for a while now on macOS systems). Therefore, this library will not compile via a pip install.

    clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9 [-Wdeprecated]
    ld: library not found for -lstdc++
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    error: command 'gcc' failed with exit status 1

This behavior is observed on a fresh macOS system and fresh XCode 10 install on macOS Mojave 10.14.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure with a fresh pip install on macOS Mojave with Xcode 10, then inspect the package's build configuration for the -lstdc++ linker setting. Done means the package compiles and installs successfully using libc++ instead of the unavailable libstdc++.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, macos, python
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.