Skip to content
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

compilation error #14902

Closed
1 task done
theayon opened this issue Mar 6, 2024 · 4 comments · Fixed by #14920
Closed
1 task done

compilation error #14902

theayon opened this issue Mar 6, 2024 · 4 comments · Fixed by #14920

Comments

@theayon
Copy link

theayon commented Mar 6, 2024

Check duplicate issues.

  • Checked for duplicates

Description

Can not compile root after xcode update: clang-1500.3.9.4

#include <vector>
         ^
Error: Building module 'std_vector' implicitly. If 'std_vector' requires a 
dictionary please specify build dependency: 'G__Core.cxx' depends on 'std_vector'.
Otherwise, specify '-mByproduct std_vector' to disable this diagnostic.
In file included from input_line_7:16:
In file included from /usr/local/root/root_build/include/ROOT/TExecutorCRTP.hxx:15:
In file included from /usr/local/root/root_build/include/ROOT/TSeq.hxx:15:
/usr/local/root/root_build/include/TError.h:37:10: remark: building module 'std_functional' as '/usr/local/root/root_build/lib/std_functional.pcm' [-Rmodule-build]
#include <functional>
         ^
Error: Building module 'std_functional' implicitly. If 'std_functional' requires a 
dictionary please specify build dependency: 'G__Core.cxx' depends on 'std_functional'.
Otherwise, specify '-mByproduct std_functional' to disable this diagnostic.

Reproducer

cmake --build . -- install -j

ROOT version

v-6-31-01, and also a similar error with the master branch

Installation method

build from the source

Operating system

MacOS 14.3.1

Additional context

No response

@theayon theayon added the bug label Mar 6, 2024
@dpiparo
Copy link
Member

dpiparo commented Mar 7, 2024

Dear @theayon ,

Thanks for this bug report. I am sorry you are experiencing this problem.

We are aware of this issue and are working on a fix. The current workaround, if that can work for you, is to revert the update, until the fix is merged in the repository. Or, and this is a really a kludge, you could try to configure ROOT without modules.

@theayon
Copy link
Author

theayon commented Mar 7, 2024

Dear @dpiparo

Thank you for addressing the issue. I try the workaround in the meantime.

@dpiparo
Copy link
Member

dpiparo commented Mar 12, 2024

Hi @theayon , pinging you directly. Thanks again for this report. As you can see from the link above, thanks to @vgvassilev, we have a solution in the master branch of ROOT.

@dpiparo dpiparo added this to Issues in Fixed in 6.32.00 via automation Mar 12, 2024
@theayon
Copy link
Author

theayon commented Mar 12, 2024

Hi @dpiparo,

Thank you for the update and @vgvassilev for the solution. I will clone and check it now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

4 participants