GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gh-113688: fix dtrace build on Solaris by kulikjak · Pull Request #113814 · python/cpython

Conversation

@kulikjak

@kulikjak kulikjak commented Jan 8, 2024 •
edited by bedevere-app Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

On systems where object files with DTrace probes need to be modified in-place by dtrace (e.g. Solaris), the build currently fails because new gc.c is not included.

  • Issue: Split up Modules/gcmodule.c #113688

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@kulikjak
pythongh-113688: fix dtrace build on Solaris
5aed01b
@bedevere-app bedevere-app Bot added the awaiting review label Jan 8, 2024
@bedevere-app bedevere-app Bot mentioned this pull request Jan 8, 2024
Split up Modules/gcmodule.c #113688
Closed
@pablogsal

pablogsal commented Jan 8, 2024

Copy link
Copy Markdown
Member

Can you describe here how are you testing that the integration works?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@pablogsal

pablogsal commented Jan 8, 2024

Copy link
Copy Markdown
Member

@ambv Do you want to catch up to see if we can add a dtrace Buildbot? I think we can use the perf Buildbot to track this

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@nascheme

nascheme commented Jan 8, 2024

Copy link
Copy Markdown
Member

This change looks correct to me. I haven't tested though.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

gpshead
gpshead approved these changes Jan 8, 2024
View reviewed changes
@bedevere-app bedevere-app Bot added awaiting merge and removed awaiting review labels Jan 8, 2024
@gpshead gpshead added the skip news label Jan 8, 2024
@gpshead
gpshead merged commit bc71ae2 into python:main Jan 8, 2024
@bedevere-app bedevere-app Bot removed the awaiting merge label Jan 8, 2024
@gpshead

gpshead commented Jan 8, 2024

Copy link
Copy Markdown
Member

I merged this because it looks correct. We really should get buildbot coverage for such a build though...

kulikjak reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@kulikjak

kulikjak commented Jan 9, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

Thanks!

@pablogsal sure - I maintain an internal Solaris Python buildbot that does daily builds with our patches applied as well. After the weekend, I noticed builds were failing, found the issue (I already fixed a similar one some time ago via #11194), added the patch, and rebuilt the latest bits without issues.

As for the buildbot coverage, AFAIK, only some platforms need to touch the object files with dtrace, which might be the reason this wasn't found with e.g. Linux buildbots?

BTW, there is a Solaris SPARC worker in the Python buildbot (e.g. https://buildbot.python.org/all/#/builders/742), but it's not in the best state because it never passes the tests. I have several PRs open that should make it green (patches we apply internally); once those get in, it should be much more usable.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

kulikjak added a commit to kulikjak/cpython that referenced this pull request Jan 22, 2024
@kulikjak
pythongh-113688: fix dtrace build on Solaris (python#113814)
934ef14
(the gcmodule -> gc refactoring broke it)
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
@kulikjak @aisk
pythongh-113688: fix dtrace build on Solaris (python#113814)
0dc83a4
(the gcmodule -> gc refactoring broke it)
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
@kulikjak @Glyphack
pythongh-113688: fix dtrace build on Solaris (python#113814)
225cf2b
(the gcmodule -> gc refactoring broke it)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@gpshead gpshead gpshead approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

skip news

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@kulikjak @pablogsal @nascheme @gpshead
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.