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

Unbreak build with libc++ #173

Closed
wants to merge 1 commit into from
Closed

Unbreak build with libc++ #173

wants to merge 1 commit into from

Conversation

jbeich
Copy link
Contributor

@jbeich jbeich commented Mar 16, 2021

Regressed in igc-1.0.6646, see error log. GCC bootlegs <unordered_map> via libstdc++ headers.

In file included from /usr/include/c++/functional:61,
                 from /usr/include/c++/pstl/glue_algorithm_defs.h:13,
                 from /usr/include/c++/algorithm:74,
                 from /usr/include/llvm/ADT/Hashing.h:51,
                 from /usr/include/llvm/ADT/ArrayRef.h:12,
                 from IGC/VectorCompiler/lib/GenXCodeGen/GenX.h:28,
                 from IGC/VectorCompiler/lib/GenXCodeGen/GenXOCLInfoExtractor.cpp:25:
/usr/include/c++/unordered_map:32:2: error: #error bootlegging test

In file included from IGC/VectorCompiler/lib/GenXCodeGen/GenXOCLInfoExtractor.cpp:27:
In file included from IGC/VectorCompiler/include/vc/GenXCodeGen/GenXOCLRuntimeInfo.h:28:
IGC/VectorCompiler/include/vc/GenXOpts/Utils/KernelInfo.h:64:10: error: no template named 'unordered_map' in namespace 'std'
    std::unordered_map<Argument *, LinearizedArgInfo>;
    ~~~~~^
IGC/VectorCompiler/include/vc/GenXOpts/Utils/KernelInfo.h:87:3: error: unknown type name 'ArgToImplicitLinearization'
  ArgToImplicitLinearization Linearization;
  ^
IGC/VectorCompiler/include/vc/GenXOpts/Utils/KernelInfo.h:110:30: error: unknown type name 'ArgToImplicitLinearization'
  void updateLinearizationMD(ArgToImplicitLinearization &&Lin);
                             ^
@pszymich
Copy link
Contributor

Your pull-request was merged manually: 4a5faab

Thank you for your contribution!

@pszymich pszymich closed this Mar 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants