Your message dated Wed, 30 Mar 2022 13:34:13 +0000
with message-id <[email protected]>
and subject line Bug#1008134: fixed in uftrace 0.11-4
has caused the Debian Bug report #1008134,
regarding uftrace: Build fail with experimental armhf
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1008134: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1008134
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: uftrace
Version: 0.11-3
Severity: important

Dear Maintainer,

Build fails with experimental armhf. 

https://buildd.debian.org/status/fetch.php?pkg=uftrace&arch=armhf&ver=0.11-3&stamp=1647358997&raw=0

I attached a patch what revice this issue.
Please check and apply it.

Best regards,
    Nobuhiro

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: armhf, arm64, i386

Kernel: Linux 5.16.0-5-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
>From 96787cd3bce4a28532ebb53df3d70ddbda23a303 Mon Sep 17 00:00:00 2001
From: Nobuhiro Iwamatsu <[email protected]>
Date: Wed, 23 Mar 2022 10:12:00 +0900
Subject: [PATCH] Fix build on armhf

Fix compilation errors by ARM VFP assembler.
The contents of the error are as follows:
  
https://buildd.debian.org/status/fetch.php?pkg=uftrace&arch=armhf&ver=0.11-3&stamp=1647358997&raw=0

  ```
gcc -D_GNU_SOURCE -ffile-prefix-map=/<<PKGBUILDDIR>>=. -Wdate-time
        -D_FORTIFY_SOURCE=2 -iquote /<<PKGBUILDDIR>> -iquote /<<PKGBUILDDIR>> \
        -iquote /<<PKGBUILDDIR>>/arch/arm -Wdeclaration-after-statement -W
        -Wall -Wno-unused-parameter -Wno-missing-field-initializers -O2 -g \
                -DDEBUG_MODE=0 -DHAVE_CXA_DEMANGLE -DHAVE_LIBPYTHON3 \
        -I/usr/include/python3.9  -DLIBPYTHON_VERSION=3.9 -DHAVE_PERF_CLOCKID \
        -DHAVE_PERF_CTXSW -DHAVE_ARM_HARDFP -DHAVE_LIBNCURSES -D_DEFAULT_SOURCE 
\
        -D_XOPEN_SOURCE=600  -DHAVE_LIBELF -DHAVE_LIBDW -DHAVE_LIBCAPSTONE \
        -I/usr/include/capstone    -fPIC -fvisibility=hidden \
        -fno-omit-frame-pointer -c -o /<<PKGBUILDDIR>>/arch/arm/mcount.op \
        /<<PKGBUILDDIR>>/arch/arm/mcount.S
/<<PKGBUILDDIR>>/arch/arm/mcount.S: Assembler messages:
/<<PKGBUILDDIR>>/arch/arm/mcount.S:100: Error: selected processor does not 
support `vpush {d0-d1}' in ARM mode
/<<PKGBUILDDIR>>/arch/arm/mcount.S:106: Error: selected processor does not 
support `vpop {d0-d1}' in ARM mode
make[2]: *** [Makefile:25: /<<PKGBUILDDIR>>/arch/arm/mcount.op] Error 1
make[1]: *** [Makefile:275: /<<PKGBUILDDIR>>/arch/arm/mcount-entry.op] Error 2
```

Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
---
 arch/arm/mcount.S  | 2 ++
 arch/arm/plthook.S | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/arch/arm/mcount.S b/arch/arm/mcount.S
index 703f6f2..62a5c0d 100644
--- a/arch/arm/mcount.S
+++ b/arch/arm/mcount.S
@@ -97,12 +97,14 @@ ENTRY(mcount_return)
        push    {r0-r3, lr, pc}  /* ensure 8-byte alignment */
        mov     r0, sp
 #ifdef HAVE_ARM_HARDFP
+       .fpu vfpv2
        vpush   {d0-d1}
 #endif
 
        bl      mcount_exit
 
 #if HAVE_ARM_HARDFP
+       .fpu vfpv2
        vpop    {d0-d1}
 #endif
        /* update return address (pc) in the stack */
diff --git a/arch/arm/plthook.S b/arch/arm/plthook.S
index bcfdb1d..599301d 100644
--- a/arch/arm/plthook.S
+++ b/arch/arm/plthook.S
@@ -57,12 +57,14 @@ ENTRY(plthook_return)
        push {r0-r3, lr, pc}  /* ensure 8-byte alignment */
        mov r0, sp
 #ifdef HAVE_ARM_HARDFP
+       .fpu vfpv2
        vpush {d0-d1}
 #endif
 
        bl plthook_exit
 
 #ifdef HAVE_ARM_HARDFP
+       .fpu vfpv2
        vpop {d0-d1}
 #endif
        /* update return address (pc) in the stack */
-- 
2.35.1


--- End Message ---
--- Begin Message ---
Source: uftrace
Source-Version: 0.11-4
Done: paul cannon <[email protected]>

We believe that the bug you reported is fixed in the latest version of
uftrace, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
paul cannon <[email protected]> (supplier of updated uftrace package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 22 Mar 2022 11:35:12 -0500
Source: uftrace
Binary: uftrace uftrace-dbgsym
Architecture: source amd64
Version: 0.11-4
Distribution: unstable
Urgency: medium
Maintainer: paul cannon <[email protected]>
Changed-By: paul cannon <[email protected]>
Description:
 uftrace    - Traces and analyzes execution of programs written in C/C++
Closes: 1007959 1008134
Changes:
 uftrace (0.11-4) unstable; urgency=medium
 .
   * Switch back to the original Git history (Gürkan Myczko mistakenly thought
     there was not one already, and started a new history. This revision
     includes the relevant changes from that history.)
   * Remove build-depends on python-is-python3 (dependencies on that package
     are disallowed by Debian's Python policy.)
   * Reinstate spelling and python3 shebang patches
   * use debhelper-compat instead of debian/compat
   * Fix build on experimental armhf (thanks to Nobuhiro Iwamatsu;
     closes: #1008134)
   * Uploading the 0.11 series to unstable (closes: #1007959)
Checksums-Sha1:
 3c19f2fa04c8434f6568f25a1d60b6ae23474d17 2044 uftrace_0.11-4.dsc
 3e2a3ebfcfe21415026c4a2f43b22017e156e754 7656 uftrace_0.11-4.debian.tar.xz
 29aded42faf0fca8a7209aa58cb756e5bcd2cd0e 1895656 
uftrace-dbgsym_0.11-4_amd64.deb
 ec9a6c6d417674795b741407734d65334c4b7ff4 7328 uftrace_0.11-4_amd64.buildinfo
 ed23efdc036ce2a5cbaa6e6e5598878687f71c27 408016 uftrace_0.11-4_amd64.deb
Checksums-Sha256:
 17f9d57cf7fa024e851b7e5c3e35289b5df569e7edf831d83f07696c0686d48b 2044 
uftrace_0.11-4.dsc
 f191955cfc5ca19c8d24b8e7a40a097376da25981a8a1ad7d53086fda4bab8fd 7656 
uftrace_0.11-4.debian.tar.xz
 10374f1c17ba40fd9939cf981acf644ef349420258c4a3521186b4eada5982a6 1895656 
uftrace-dbgsym_0.11-4_amd64.deb
 ab746804ac63a7bb24f29ad5186572f2d7761cf7d9632188bbda9720af682cfc 7328 
uftrace_0.11-4_amd64.buildinfo
 aed330fb1f825f4adf321f75e8b239d7470f0dfb7dc60616ede158d07f178498 408016 
uftrace_0.11-4_amd64.deb
Files:
 50c897dffd2b51acc8cc34f39d93163a 2044 utils optional uftrace_0.11-4.dsc
 8c90fbf4a152eb33ff6ae267daea3836 7656 utils optional 
uftrace_0.11-4.debian.tar.xz
 a59b4dbe1f1b3321e85c008405be69af 1895656 debug optional 
uftrace-dbgsym_0.11-4_amd64.deb
 d84a5af51c8e646ece2b8aed36c6fa84 7328 utils optional 
uftrace_0.11-4_amd64.buildinfo
 6f7a14fc01da138acd9cef83bd4877c7 408016 utils optional uftrace_0.11-4_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQJDBAEBCgAtFiEEKeADyGxqxUil6dToE26c8XtdNC0FAmJDbpkPHHBpa0BkZWJp
YW4ub3JnAAoJEBNunPF7XTQtiTQQAISO5uRjRyJab8mncSy9n1rfl5KCLMC/Q/4L
+Rv1E1/LJ6PAQIZd7UlqaxjZDxSNfky7/t/ZP127FU7yVCJGwiGTmbBK7LhECnsQ
dKF4ceIUPkvKBtAhaNyOQ1aZsddK/cbVgBnsOM1N9bOMVgPyUYW2xk/xnHBOL10X
nrWNV/Vj0obfyBDhkSuW1fXExlMJaeqsILjwbHCnRhHpfDYNUQnrfzo8WyAreECE
L9mbKIXKT3Yef91IvUrgRO8Kk6u3RV5xVW1gKSVSJtkvrbYECPKswawv7YYvPre6
qyZdsw2B/j4LLRIRcIUbG4oTByrwxA65x7IUD0CnJYSbLWabHB5PURfj6sqirdGl
9CUSuwvLKvmLiMokDz5iBu0YoSQMJNYFS2tXvh+Ar9Q7JdqoUojUgt11DxqK2aKC
ZFErHUp8GK/1aUAEuYl4MFJDvIaflj4+E+XjEs//eZ5nrk5vFBrI4OB/GpXBw1ai
xAQb+ZIjuSpBDsEqGZDAxtBg1xEDy+livEmw1CpchNiVscb4rLgr86/ZL3QFnFpg
iNijaZ1Ov65bnG/HwYo3ohXLFZsfwyHriK3WEXgt/dL4yDxnXfgECkE2D7FGtBhI
bBjJBMtV5yU3KOttIZ7eDlhB2i98Bb5xncmDn6PMNP4AeJKazzxXFaNzHiYsKD16
1sWhGTN0
=U6J6
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to