Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Core 12.1.1 #10171

Draft
wants to merge 4 commits into
base: stable
Choose a base branch
from
Draft

Core 12.1.1 #10171

wants to merge 4 commits into from

Conversation

MingcongBai
Copy link
Member

@MingcongBai MingcongBai commented Mar 20, 2025

Topic Description

  • mpfr: update to 4.2.2
  • aosc-aaa: update to 12.1.1
  • gcc: fix ICE in patch_jump_insn
    While building gegl-0.4 for ppc64el, we ran into the following internal
    compiler error:
    FAILED: operations/external/vector-fill.so
    ...
    ../libs/ctx/ctx.h: In function ‘ctx_cb_reset_caches’:
    ../libs/ctx/ctx.h:49463:26: warning: iteration 30 invokes undefined behavior [-Waggressive-loop-optimizations]
    49463 | backend_cb->hashes[i]=1;
    | ^
    ../libs/ctx/ctx.h:49462:21: note: within this loop
    49462 | for (int i = 0; i < 32; i++)
    | ^
    during RTL pass: reload
    ../libs/ctx/ctx.h: In function ‘ctx_rasterizer_rasterize_edges2’:
    ../libs/ctx/ctx.h:24158:1: internal compiler error: in patch_jump_insn, at cfgrtl.cc:1303
    24158 | }
    | ^
    0x7fff965ead93 __libc_start_call_main
    ../sysdeps/nptl/libc_start_call_main.h:58
    0x7fff965eafeb generic_start_main
    ../csu/libc-start.c:360
    0x7fff965eafeb __libc_start_main_impl
    ../sysdeps/unix/sysv/linux/powerpc/libc-start.c:115
    Please submit a full bug report, with preprocessed source (by using -freport-bug).
    Please include the complete backtrace with any bug report.
    See https://github.com/AOSC-Dev/aosc-os-abbs/issues for instructions.
    Backport a known fix for this issue.
    Track patches at AOSC-Tracking/gcc @ aosc/releases/gcc-14.2.0
    (HEAD: d2b0b7942f9f2f736d20ffad761d9d43df2f76c4).
    Link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116779
    Link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117191
    Link: https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=fe1486e118d72d660284af43cb739e20d094b585
  • linux+api: update to 6.12.19

Package(s) Affected

  • aosc-aaa: 12.1.1
  • gcc: 14.2.0-4
  • gcc-runtime: 14.2.0-4
  • linux+api: 2:6.12.19
  • mpfr: 4.2.2

Security Update?

No

Build Order

#buildit linux+api mpfr gcc aosc-aaa

Test Build(s) Done

Primary Architectures

  • AMD64 amd64
  • AArch64 arm64
  • LoongArch 64-bit loongarch64

Secondary Architectures

  • Loongson 3 loongson3
  • PowerPC 64-bit (Little Endian) ppc64el
  • RISC-V 64-bit riscv64

Sorry, something went wrong.

@MingcongBai MingcongBai added the core AOSC OS Core related label Mar 20, 2025
While building gegl-0.4 for ppc64el, we ran into the following internal
compiler error:

FAILED: operations/external/vector-fill.so

...

../libs/ctx/ctx.h: In function ‘ctx_cb_reset_caches’:
../libs/ctx/ctx.h:49463:26: warning: iteration 30 invokes undefined behavior [-Waggressive-loop-optimizations]
49463 |     backend_cb->hashes[i]=1;
      |                          ^
../libs/ctx/ctx.h:49462:21: note: within this loop
49462 |   for (int i = 0; i < 32; i++)
      |                     ^
during RTL pass: reload
../libs/ctx/ctx.h: In function ‘ctx_rasterizer_rasterize_edges2’:
../libs/ctx/ctx.h:24158:1: internal compiler error: in patch_jump_insn, at cfgrtl.cc:1303
24158 | }
      | ^
0x7fff965ead93 __libc_start_call_main
	../sysdeps/nptl/libc_start_call_main.h:58
0x7fff965eafeb generic_start_main
	../csu/libc-start.c:360
0x7fff965eafeb __libc_start_main_impl
	../sysdeps/unix/sysv/linux/powerpc/libc-start.c:115
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See <https://github.com/AOSC-Dev/aosc-os-abbs/issues> for instructions.

Backport a known fix for this issue.

Track patches at AOSC-Tracking/gcc @ aosc/releases/gcc-14.2.0
(HEAD: d2b0b7942f9f2f736d20ffad761d9d43df2f76c4).

Link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116779
Link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117191
Link: https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=fe1486e118d72d660284af43cb739e20d094b585
@MingcongBai MingcongBai marked this pull request as ready for review March 20, 2025 11:11
@MingcongBai MingcongBai marked this pull request as draft March 20, 2025 14:53
@MingcongBai
Copy link
Member Author

cc @xry111

Might be a new bug for powerpc64le, the fix above did not fix the ICE:

image

@xry111
Copy link
Contributor

xry111 commented Mar 23, 2025

cc @xry111

Might be a new bug for powerpc64le, the fix above did not fix the ICE:

image

Gentoo has hit this too: https://gcc.gnu.org/PR119340

@xry111
Copy link
Contributor

xry111 commented Mar 23, 2025

BTW should we consider replacing pkg-config with pkgconf here?

@MingcongBai
Copy link
Member Author

BTW should we consider replacing pkg-config with pkgconf here?

No objection from me. It is also not a Core package so a regular topic will do.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
core AOSC OS Core related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants