Skip to content

Conversation

@aelovikov-intel
Copy link
Contributor

No description provided.

@aelovikov-intel aelovikov-intel marked this pull request as draft November 26, 2024 18:48
@aelovikov-intel aelovikov-intel marked this pull request as ready for review November 26, 2024 20:15
@aelovikov-intel aelovikov-intel merged commit 40e2e66 into intel:sycl Nov 26, 2024
14 checks passed
@aelovikov-intel aelovikov-intel deleted the cxx11abi-online-compiler branch November 26, 2024 20:33
aelovikov-intel added a commit that referenced this pull request Dec 4, 2024
…++11 ABI" (#16248)

Reverts #16179

```
template <source_language Lang>
__SYCL_EXPORT std::vector<byte> online_compiler<Lang>::compile_impl(
    detail::string_view Src, detail::string_view DeviceStepping,
    const std::vector<detail::string_view> &Options) {
```

accesses `this->CompileToSPIRVHandle` which is laid out *after*
`std::string` data member:

```
  /// Target device stepping (implementation defined)
  std::string DeviceStepping;

  /// Handles to helper functions used by the implementation.
  void *CompileToSPIRVHandle = nullptr;
```

resulting in ABI incompatibility.
aelovikov-intel added a commit to aelovikov-intel/llvm that referenced this pull request Dec 4, 2024
This is an updated version of intel#16179.

Run-time ABI mismatch resulting in a segmentation fault was uncovered
why enabling extra testing in intel#16235,
this updated version fixes that.
aelovikov-intel added a commit that referenced this pull request Dec 5, 2024
…#16269)

This is an updated version of #16179.

Run-time ABI mismatch resulting in a segmentation fault was uncovered
why enabling extra testing in #16235,
this new version fixes that.
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.

2 participants