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

Fix Issue 19563 Fix extern(C++) Incorrect ABI passing small struct #9434

Merged
merged 1 commit into from Mar 12, 2019
Merged

Fix Issue 19563 Fix extern(C++) Incorrect ABI passing small struct #9434

merged 1 commit into from Mar 12, 2019

Conversation

ghost
Copy link

@ghost ghost commented Mar 9, 2019

Patched #9295

@dlang-bot
Copy link
Contributor

dlang-bot commented Mar 9, 2019

Thanks for your pull request and interest in making D better, @look-at-me! We are looking forward to reviewing it, and you should be hearing from a maintainer soon.
Please verify that your PR follows this checklist:

  • My PR is fully covered with tests (you can see the annotated coverage diff directly on GitHub with CodeCov's browser extension
  • My PR is as minimal as possible (smaller, focused PRs are easier to review than big ones)
  • I have provided a detailed rationale explaining my changes
  • New or modified functions have Ddoc comments (with Params: and Returns:)

Please see CONTRIBUTING.md for more information.


If you have addressed all reviews or aren't sure how to proceed, don't hesitate to ping us with a simple comment.

Bugzilla references

Auto-close Bugzilla Severity Description
19563 blocker extern(C++) Incorrect ABI passing small struct

⚠️⚠️⚠️ Warnings ⚠️⚠️⚠️

To target stable perform these two steps:

  1. Rebase your branch to upstream/stable:
git rebase --onto upstream/stable upstream/master
  1. Change the base branch of your PR to stable

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub fetch digger
dub run digger -- build "master + dmd#9434"

@thewilsonator
Copy link
Contributor

Could you please break up some of those monster expressions?

@ghost
Copy link
Author

ghost commented Mar 10, 2019

The CircleCI failure seems to be unrelated (is happening in other PRs) and the buildkite failure is because it ran out of memory building druntime..

@wilzbach
Copy link
Member

and the buildkite failure is because it ran out of memory building druntime..

To be more specific this happens when trying to build the benchmark-compile-only target:


Segmentation fault (core dumped)
--
  | posix.mak:336: recipe for target 'benchmark-compile-only' failed

@ghost
Copy link
Author

ghost commented Mar 10, 2019

:/ it'd be nice if it reprinted the failure at the end

@ghost
Copy link
Author

ghost commented Mar 10, 2019

@wilzbach
Looks like it is using the new compiler to build runbench.d but it hasn't built the new phobos and it is using a different version of phobos (the preinstalled one?). Not sure how you want to go about fixing that, would need to change the config for build-kite and how it builds/tests druntime.

@thewilsonator
Copy link
Contributor

I seem to remember having "fun" with the benchmarking before. Given Circle seems to fail with some unrelated GDB I'm in favour of merging this.

@thewilsonator thewilsonator merged commit 340a08a into dlang:master Mar 12, 2019
@CyberShadow
Copy link
Member

This pull request introduced a regression:
https://issues.dlang.org/show_bug.cgi?id=23901

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

Successfully merging this pull request may close these issues.

4 participants