-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: no type named ‘size_type’
when building with GCC 10.2 on CentOS 7-like
#950
Comments
Can you try perhaps with a stable version rather than the git head? The conda package for pagmo compiled fine with this TBB version: (TBB version 2021.6.0) |
The error is present both on TBB FROM quay.io/pypa/manylinux2014_x86_64:2022-10-25-fbea779
RUN git clone https://github.com/oneapi-src/oneTBB.git
WORKDIR oneTBB
RUN git checkout v2021.3.0
RUN mkdir build
WORKDIR build
RUN cmake ..
RUN cmake --build . If I add |
@astrojuanlu, could you please check if the newer GLIBCXX ABI can be used as described here? |
@kboyarinov Setting FROM quay.io/pypa/manylinux2014_x86_64:2022-10-25-fbea779
RUN git clone https://github.com/oneapi-src/oneTBB.git
WORKDIR oneTBB
RUN git checkout v2021.3.0
RUN mkdir build
WORKDIR build
ENV _GLIBCXX_USE_CXX11_ABI=0
RUN _GLIBCXX_USE_CXX11_ABI=0 cmake ..
RUN _GLIBCXX_USE_CXX11_ABI=0 cmake --build . And the error is the same. |
@astrojuanlu, |
Hi @kboyarinov, no worries. Unfortunately, I still get the same error.
|
@astrojuanlu, I am not sure that setting the
This short reproducer fails to compile with |
@kboyarinov I'm not 100 % sure I'm passing the parameters correctly, but this is what I tried now, and I keep getting the same error: FROM quay.io/pypa/manylinux2014_x86_64:2022-10-25-fbea779
RUN git clone https://github.com/oneapi-src/oneTBB.git
WORKDIR oneTBB
RUN git checkout v2021.3.0
RUN mkdir build
WORKDIR build
ENV CXXFLAGS="-D_GLIBCXX_USE_CXX11_ABI=1"
RUN cmake .. -DCMAKE_CXX_FLAGS="-D_GLIBCXX_USE_CXX11_ABI=1"
RUN cmake --build . |
And I don't know where should I add |
I've run into the same error with 2021.8.0 on manylinux2014 |
@astrojuanlu is the issue still relevant? |
Hi @nofuturre, I am no longer working with oneTBB, but there was never a satisfactory solution to my query. I gave multiple Dockerfiles to reproduce the issue and try to fix it (without success). Whether or not this issue is still present in recent versions, I'll let someone else do the experiment. And whether or not this is still relevant, it's up to the maintainers I guess :) |
I'm trying to compile TBB inside a
quay.io/pypa/manylinux2014_x86_64:2022-10-25-fbea779
Docker image (themanylinux2014
spec is based on CentOS 7, but this image ships GCC 10.2) with the objective of creating manylinux wheels of pygmo2 (see esa/pygmo2#110). At the moment I am getting this error:To reproduce:
The text was updated successfully, but these errors were encountered: