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

8305174: disable dtrace for s390x builds #13228

Closed
wants to merge 1 commit into from

Conversation

offamitkumar
Copy link
Member

@offamitkumar offamitkumar commented Mar 29, 2023

As stated in JBS-issue, dtrace functionality is not available on s390x. So disabling it explicitly in the build.


Progress

  • Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue

Issue

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/13228/head:pull/13228
$ git checkout pull/13228

Update a local copy of the PR:
$ git checkout pull/13228
$ git pull https://git.openjdk.org/jdk.git pull/13228/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 13228

View PR using the GUI difftool:
$ git pr show -t 13228

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/13228.diff

@bridgekeeper
Copy link

bridgekeeper bot commented Mar 29, 2023

👋 Welcome back amitkumar! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk openjdk bot changed the title 8305174 8305174: disable dtrace for s390x builds Mar 29, 2023
@openjdk openjdk bot added the rfr Pull request is ready for review label Mar 29, 2023
@openjdk
Copy link

openjdk bot commented Mar 29, 2023

@offamitkumar The following label will be automatically applied to this pull request:

  • build

When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command.

@openjdk openjdk bot added the build build-dev@openjdk.org label Mar 29, 2023
@mlbridge
Copy link

mlbridge bot commented Mar 29, 2023

Webrevs

@offamitkumar
Copy link
Member Author

@MBaesken , @erikj79 , @RealLucy Please review. 🙂

Probably I'm missing something, But I'm a bit confused that string xs390x is not recognised as a valid CPU here.
Output for xs390x:

checking for dtrace tool and platform support... no
checking sys/sdt.h usability... no
checking sys/sdt.h presence... no
checking for sys/sdt.h... no
configure: Cannot enable dtrace with missing dependencies. See above.
checking if JVM feature 'dtrace' is available... no

output for xs390:

checking for dtrace tool and platform support... no, s390
checking sys/sdt.h usability... no
checking sys/sdt.h presence... no
checking for sys/sdt.h... no
configure: Cannot enable dtrace with missing dependencies. See above.
checking if JVM feature 'dtrace' is available... no

@jaikiran
Copy link
Member

@MBaesken , @erikj79 , @RealLucy Please review. 🙂

Probably I'm missing something, But I'm a bit confused that string xs390x is not recognised as a valid CPU here.

Hello Amit, I don't have prior knowledge of these build files, but from what I can see both s390 and s390x get mapped to the same CPU_ARCH here https://github.com/openjdk/jdk/blob/master/make/autoconf/platform.m4#L141 (notice the VAR_CPU_ARCH being set for those)

@offamitkumar
Copy link
Member Author

Still you can see output is different for these strings.

But thanks for pointing out the line number. Mistakenly I was looking on line 580 (in the same file), there also similar thing is done, but now I realised, that's for a different purpose.

@openjdk
Copy link

openjdk bot commented Mar 29, 2023

@offamitkumar This change now passes all automated pre-integration checks.

ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details.

After integration, the commit message for the final commit will be:

8305174: disable dtrace for s390x builds

Reviewed-by: erikj, lucy, mbaesken

You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed.

At the time when this comment was updated there had been 28 new commits pushed to the master branch:

  • 787832a: 8304988: unnecessary dash in @param gives double-dash in docs
  • a144c71: 8305008: RISC-V: Factor out immediate checking functions from assembler_riscv.inline.hpp
  • d815889: 8304993: bad sentence break in DateFormat
  • 5f7b4b8: 8305111: Locale.lookupTag has typo in parameter
  • 83cf28f: 8305142: Can't bootstrap ctw.jar
  • 05cc02b: 8202110: (fs) Remove FileSystem support for resolving against a default directory (chdir configuration)
  • d2df36b: 8299333: Unify exceptions used by all variants of ICC_Profile.getInstance(null)
  • 1d7bb1f: 8304585: Method::invoke rewraps InvocationTargetException if a caller-sensitive method throws IAE
  • 9df2060: 8305157: The java.util.Arrays class should be declared final
  • b261e6c: 8304445: Remaining uses of NULL in ciInstanceKlass.cpp
  • ... and 18 more: https://git.openjdk.org/jdk/compare/e56bcb04b11c6494e6afdf0bd9b9bc65a4769347...master

As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.

As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@erikj79, @RealLucy, @MBaesken) but any other Committer may sponsor as well.

➡️ To flag this PR as ready for integration with the above commit message, type /integrate in a new comment. (Afterwards, your sponsor types /sponsor in a new comment to perform the integration).

@openjdk openjdk bot added the ready Pull request is ready to be integrated label Mar 29, 2023
@offamitkumar
Copy link
Member Author

Changes are trivial, so /integrate (ing). I request Reviewer/committer to sponsor my changes 😊

@RealLucy
Copy link
Contributor

There always is confusion wrt what is the right string. For me - and there is some ancient history knowledge attached -

  • s390 indicates the processor architecture (formerly S/370, S/390; nowadays z/Architecture)
  • s390x encodes the processor architecture/operating system combination Linux on S/390.

In the m4 files, both strings are used to identify the processor architecture only.

Copy link
Contributor

@RealLucy RealLucy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good and trivial.

For formal reasons, we may want to wait for the GHA to complete before we integrate and sponsor.

Copy link
Member

@MBaesken MBaesken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@offamitkumar
Copy link
Member Author

Hi all, it appears that checks were already succeeded, but this is not reflected here. Can we do anything?

@MBaesken
Copy link
Member

Hi all, it appears that checks were already succeeded, but this is not reflected here. Can we do anything?

If you are refering to the still running macos-x64 tests, I think they are unrelated and those test runs have some issue. I would ignore those.

@MBaesken
Copy link
Member

/sponsor

@openjdk
Copy link

openjdk bot commented Mar 31, 2023

@MBaesken The change author (@offamitkumar) must issue an integrate command before the integration can be sponsored.

@offamitkumar
Copy link
Member Author

/integrate

looks like, command was not processed.

@MBaesken
Copy link
Member

/sponsor

@openjdk openjdk bot added the sponsor Pull request is ready to be sponsored label Mar 31, 2023
@openjdk
Copy link

openjdk bot commented Mar 31, 2023

@offamitkumar
Your change (at version 143fe4e) is now ready to be sponsored by a Committer.

@openjdk
Copy link

openjdk bot commented Mar 31, 2023

Going to push as commit 7fe5bd2.
Since your change was applied there have been 28 commits pushed to the master branch:

  • 787832a: 8304988: unnecessary dash in @param gives double-dash in docs
  • a144c71: 8305008: RISC-V: Factor out immediate checking functions from assembler_riscv.inline.hpp
  • d815889: 8304993: bad sentence break in DateFormat
  • 5f7b4b8: 8305111: Locale.lookupTag has typo in parameter
  • 83cf28f: 8305142: Can't bootstrap ctw.jar
  • 05cc02b: 8202110: (fs) Remove FileSystem support for resolving against a default directory (chdir configuration)
  • d2df36b: 8299333: Unify exceptions used by all variants of ICC_Profile.getInstance(null)
  • 1d7bb1f: 8304585: Method::invoke rewraps InvocationTargetException if a caller-sensitive method throws IAE
  • 9df2060: 8305157: The java.util.Arrays class should be declared final
  • b261e6c: 8304445: Remaining uses of NULL in ciInstanceKlass.cpp
  • ... and 18 more: https://git.openjdk.org/jdk/compare/e56bcb04b11c6494e6afdf0bd9b9bc65a4769347...master

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated Pull request has been integrated label Mar 31, 2023
@openjdk openjdk bot closed this Mar 31, 2023
@openjdk openjdk bot removed ready Pull request is ready to be integrated rfr Pull request is ready for review labels Mar 31, 2023
@openjdk openjdk bot removed the sponsor Pull request is ready to be sponsored label Mar 31, 2023
@openjdk
Copy link

openjdk bot commented Mar 31, 2023

@MBaesken @offamitkumar Pushed as commit 7fe5bd2.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build build-dev@openjdk.org integrated Pull request has been integrated
Development

Successfully merging this pull request may close these issues.

5 participants