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

Ansible request for gcc 10.3 on Linux platforms #2386

Closed
1 of 3 tasks
sxa opened this issue Nov 17, 2021 · 5 comments · Fixed by #2420
Closed
1 of 3 tasks

Ansible request for gcc 10.3 on Linux platforms #2386

sxa opened this issue Nov 17, 2021 · 5 comments · Fixed by #2420
Assignees
Labels

Comments

@sxa
Copy link
Member

sxa commented Nov 17, 2021

Please put the name of the software product (and affected platforms if relevant) in the title of this issue

  • Missing install
  • Bug in ansible playbook
  • Request for new playbook addition

Ref: adoptium/temurin-build#2787

@sxa sxa added the ansible label Nov 17, 2021
@sxa sxa self-assigned this Nov 17, 2021
@sxa sxa added this to the December 2021 milestone Dec 3, 2021
@sxa
Copy link
Member Author

sxa commented Dec 11, 2021

@andrew-m-leonard FYI I've identified where the GCC 8.2.1 source is, although it's a Red-Hat specific vendor codebase so we need to decide whether we really want to use that version, or go for the 10.2 listed in the building.md in the JDK17 codebase ...

@sxa
Copy link
Member Author

sxa commented Dec 14, 2021

Pausing this while we decide whether 8.2.1 is the right option ...

@sxa
Copy link
Member Author

sxa commented Jan 6, 2022

Wiki and other sources have been updated to indicate that 10.3 is a known good version that Oracle uses so I propose we target the same one to get all the latest performance etc. fixes across all Linux platforms.

@sxa sxa changed the title Ansible request for gcc 8.2.1 on Linux platforms Ansible request for gcc 10.3 on Linux platforms Jan 6, 2022
@sxa
Copy link
Member Author

sxa commented Jan 6, 2022

Drawing from other issues:

  • Build from source on x64, ppc64le, s390x, aarch64 and arm32
  • Use --prefix=/usr/local/gcc10 --program-suffix=-10.3
  • On x64 also --disable-multilib
  • On arm32 add --with-float=hard (Previously required an alternate include to pick up sys/cdefs.h but that didn't seem to be required last time so may have been distribution-specific)

@sxa
Copy link
Member Author

sxa commented Jan 7, 2022

On x64 i've added an updated ccache (4.5.1) and binutils (2.37) into the tarball with a prefix of /usr/local/gcc10

@sxa sxa closed this as completed in #2420 Jan 11, 2022
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 a pull request may close this issue.

1 participant