Skip to content
This repository has been archived by the owner on Oct 3, 2022. It is now read-only.

pypy3, pypy, and pypy3-exe all fail to build with clang. #9

Open
saltedcoffii opened this issue Nov 3, 2020 · 1 comment
Open

pypy3, pypy, and pypy3-exe all fail to build with clang. #9

saltedcoffii opened this issue Nov 3, 2020 · 1 comment

Comments

@saltedcoffii
Copy link

saltedcoffii commented Nov 3, 2020

pypy3, pypy, pypy3-exe and pypy-exe all fail to build with clang. They build without error with GCC. Here are my failed build logs. Let me know if there's anything else I can provide/help with.
pypy3-exe-build.log
pypy-build.log
pypy3-build.log
Here is the environment I built them in:

USE="offensive zsh_completion networkmanager libcxx default-libcxx compiler-rt default-compiler-rt lld default-lld clang python_targets_pypy3 -python_targets_python2_7 -bindist -wayland"
VIDEO_CARDS="intel dummy"

COMMON_FLAGS="-march=goldmont -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -msahf -mmovbe -maes -msha -mpclmul -mpopcnt -msse4.2 -msse4.1 -mrdrnd -mfsgsbase -mrdseed -mprfchw -mfxsr -mclflushopt --param l1-cache-size=24 --param l1-cache-line-size=64 --param l2-cache-size=1024 -mtune=goldmont"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"

AR="llvm-ar"
AS="llvm-as"
CC="clang"
CXX="clang++"
CPP="clang -E"
LD="ld.lld"
NM="llvm-nm"
OBJCOPY="llvm-objcopy"
OBJDUMP="llvm-objdump"
OBJSIZE="llvm-size"
RANLIB="llvm-ranlib"
STRIP="llvm-strip"

I'm using the default/linux/amd64/17.1 (stable) profile.

@BilyakA
Copy link
Owner

BilyakA commented Nov 3, 2020

Thank you very much for your report.
Unfortunately due to many reasons I can not dedicate much time for this project now. It is not dead, but I can't say it is very alive... I have no idea when I will be able to fix this myself. So please do not expect any fix from me in near future.

I took a quick look at first log file. Looks like it is same issue as here: https://gitlab.isc.org/isc-projects/bind9/-/issues/2231 . If you can - try to add --with-libtool to pypy3-exe CFLAGS to see if it helps.

Sorry I can't do anything else right now. But merge requests are always welcomed and appreciated here 😃

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants