[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1118651: cpp-15-aarch64-linux-gnu: Build failure of TF-A for rk3328/rk3399 since TF-A commit 6c2e5bf68955



Package: cpp-15-aarch64-linux-gnu
Version: 15.2.0-4cross1
Severity: normal

When trying to build 'master' of TF-A [1,2,3] for the rk3328 and rk3399
platforms the build started to fail, but succeeded for rk3568/rk3588,
since upstream commit
6c2e5bf68955 ("feat(build): use clang as a linker")

So I went to the review/discussion of that commit here:
https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/36981

They were not able to reproduce the problem.
I then asked someone (on #linux-rockchip) to try to built it on a
non-Debian platform and someone confirmed it build fine on Fedora 42.

I've also tried to build it on a Rock64 (which is rk3328), but mostly
because that runs Stable, thus GCC-14, and that build failed as well.

So the most logical explanation is that the build failure is introduced
via a Debian specific patch?

I've attached the 'patch' from commit 6c2e5bf68955 which may help
identify why that commit introduced breakage of the build.

Cheers,
  Diederik

[1] https://www.trustedfirmware.org/projects/tf-a
[2] https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git or
[3] https://review.trustedfirmware.org/plugins/gitiles/TF-A/trusted-firmware-a

-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.16.12+deb14-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cpp-15-aarch64-linux-gnu depends on:
ii  gcc-15-aarch64-linux-gnu-base  15.2.0-4cross1
ii  libc6                          2.41-12
ii  libgmp10                       2:6.3.0+dfsg-5
ii  libisl23                       0.27-1
ii  libmpc3                        1.3.1-2
ii  libmpfr6                       4.2.2-2
ii  libzstd1                       1.5.7+dfsg-2
ii  zlib1g                         1:1.3.dfsg+really1.3.1-1+b1

cpp-15-aarch64-linux-gnu recommends no packages.

Versions of packages cpp-15-aarch64-linux-gnu suggests:
pn  cpp-15-doc      <none>
pn  gcc-15-locales  <none>

-- no debconf information

Attachment: 0001-feat-build-use-clang-as-a-linker.patch
Description: application/mbox


Reply to: