facebook / facebook/folly

build error `impossible constraint in 'asm'`

Open
#1,845 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
30.5k
Forks
5.9k
PR merge metrics
No merged PRs in 30d

Description

I build the master code with `sh build.sh --extra-cmake-defines='{"CMAKE_PREFIX_PATH":"/usr/include/openssl11"}'` on centos 7.9 with gcc 11.
It failed with error `/root/workspace/folly/folly/lang/Hint-inl.h:109:3: error: impossible constraint in 'asm'`
image

Contributor guide

Open the contributing guide

Research direction

Reproduce the reported build with `sh build.sh --extra-cmake-defines='{"CMAKE_PREFIX_PATH":"/usr/include/openssl11"}'` on CentOS 7.9 with GCC 11. Start at `folly/lang/Hint-inl.h:109` and investigate the reported impossible asm constraint; done means the build no longer fails there.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system, compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.