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

gcc cleanups #23949

Merged
merged 7 commits into from
Jul 17, 2024
Merged

gcc cleanups #23949

merged 7 commits into from
Jul 17, 2024

Conversation

xnox
Copy link
Contributor

@xnox xnox commented Jul 14, 2024

  • gcc: provide runtime libquadmath.so in a subpackage
    Currently libquadmath subpackage is empty, but should contain runtime
    libquadmath library, as used by boost and hdf5 on x86 only.

    aarch64 supports 128 precision without need for libquadmath runtime
    library.

# apk info -L libquadmath
libquadmath-13.3.0-r1 contains:
usr/lib64/libquadmath.so.0
usr/lib64/libquadmath.so.0.0.0
var/lib/db/sbom/libquadmath-13.3.0-r1.spdx.json
  • gcc: stop building objc
    objc compiler typically requires gnustep libraries to be usable, which
    Wolfi does not package. Unused by any of the packages in Wolfi and not
    shipped in any Chainguard Images.

  • gcc: set full pkgversion like clang

# gcc --version
gcc (Wolfi 13.3.0-r1) 13.3.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  • gcc: set with-arch & with-mtune
    Use current settings of march from build-flags. Bump mtune to
    current/latest generation of silicon available in the public clouds.
# gcc -Q --help=target | grep -e march= -e mtune= | head -n2
  -march=                     		x86-64-v2
  -mtune=                     		sapphirerapids

# gcc -Q --help=target | grep -e march= -e mtune=
  -march=                     		armv8-a+crc+crypto
  -mtune=                     		neoverse-v2
  • gcc: (build) avoid linking compilers at the same time

  • gcc: bump epoch

@xnox xnox marked this pull request as ready for review July 14, 2024 23:16
@xnox xnox requested review from pnasrat, smoser and dakaneye July 15, 2024 09:10
@xnox xnox marked this pull request as draft July 15, 2024 09:20
@xnox xnox marked this pull request as ready for review July 15, 2024 11:54
gcc.yaml Show resolved Hide resolved
gcc.yaml Show resolved Hide resolved
xnox added 6 commits July 15, 2024 13:17
Currently libquadmath subpackage is empty, but should contain runtime
libquadmath library, as used by boost and hdf5 on x86 only.

aarch64 supports 128 precision without need for libquadmath runtime
library.
objc compiler typically requires gnustep libraries to be usable, which
Wolfi does not package. Unused by any of the packages in Wolfi and not
shipped in any Chainguard Images.
Use current settings of march from build-flags. Bump mtune to
current/latest generation of silicon available in the public clouds.
smoser
smoser previously approved these changes Jul 15, 2024
@xnox xnox requested review from smoser and pnasrat July 17, 2024 01:22
xnox added a commit to xnox/os that referenced this pull request Jul 17, 2024
Bring in relevant improvements from wolfi-dev#23949

Note merging this requires wolfictl in image digests that contain
wolfi-dev/wolfictl#1069
Copy link
Contributor

@pnasrat pnasrat left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@smoser smoser left a comment

Choose a reason for hiding this comment

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

thank you.

@smoser smoser merged commit 13b5b5d into wolfi-dev:main Jul 17, 2024
7 of 8 checks passed
xnox added a commit to xnox/os that referenced this pull request Jul 17, 2024
Bring in relevant improvements from wolfi-dev#23949

Note merging this requires wolfictl in image digests that contain
wolfi-dev/wolfictl#1069
xnox added a commit to xnox/os that referenced this pull request Jul 29, 2024
Bring in relevant improvements from wolfi-dev#23949

Note merging this requires wolfictl in image digests that contain
wolfi-dev/wolfictl#1069
xnox added a commit to xnox/os that referenced this pull request Jul 30, 2024
Bring in relevant improvements from wolfi-dev#23949

Note merging this requires wolfictl in image digests that contain
wolfi-dev/wolfictl#1069
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.

None yet

3 participants