Your message dated Wed, 05 Mar 2014 16:33:48 +0000
with message-id <[email protected]>
and subject line Bug#733035: fixed in clamav 0.98.1+dfsg-2
has caused the Debian Bug report #733035,
regarding clamav: FTBFS on powerpcspe
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.)


-- 
733035: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733035
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: clamav
Version: 0.97.8+dfsg-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: powerpcspe

Hi,

clamav FTBFS on powerpcspe like this:

...
  CXX    libllvmpowerpccodegen_la-PPCISelLowering.lo
llvm/lib/Target/PowerPC/PPCISelLowering.cpp: In function 'unsigned int 
CalculateParameterAndLinkageAreaSize(llvm::SelectionDAG&, bool, bool, unsigned 
int, const llvm::SmallVectorImpl<llvm::ISD::OutputArg>&, const 
llvm::SmallVectorImpl<llvm::SDValue>&, unsigned int&)':
llvm/lib/Target/PowerPC/PPCISelLowering.cpp:2156:13: warning: variable 'Arg' 
set but not used [-Wunused-but-set-variable]
  CXX    libllvmpowerpccodegen_la-PPCInstrInfo.lo
  CXX    libllvmpowerpccodegen_la-PPCJITInfo.lo
/tmp/ccKI8gPe.s: Assembler messages:
/tmp/ccKI8gPe.s:23: Error: unrecognized opcode: `stfd'
/tmp/ccKI8gPe.s:24: Error: unrecognized opcode: `stfd'
/tmp/ccKI8gPe.s:25: Error: unrecognized opcode: `stfd'
/tmp/ccKI8gPe.s:26: Error: unrecognized opcode: `stfd'
/tmp/ccKI8gPe.s:27: Error: unrecognized opcode: `stfd'
/tmp/ccKI8gPe.s:28: Error: unrecognized opcode: `stfd'
/tmp/ccKI8gPe.s:29: Error: unrecognized opcode: `stfd'
/tmp/ccKI8gPe.s:30: Error: unrecognized opcode: `stfd'
/tmp/ccKI8gPe.s:45: Error: unrecognized opcode: `lfd'
/tmp/ccKI8gPe.s:46: Error: unrecognized opcode: `lfd'
/tmp/ccKI8gPe.s:47: Error: unrecognized opcode: `lfd'
/tmp/ccKI8gPe.s:48: Error: unrecognized opcode: `lfd'
/tmp/ccKI8gPe.s:49: Error: unrecognized opcode: `lfd'
/tmp/ccKI8gPe.s:50: Error: unrecognized opcode: `lfd'
/tmp/ccKI8gPe.s:51: Error: unrecognized opcode: `lfd'
/tmp/ccKI8gPe.s:52: Error: unrecognized opcode: `lfd'
make[6]: *** [libllvmpowerpccodegen_la-PPCJITInfo.lo] Error 1
...

The attached patch fixes this by only conditionally assembling the stfd/lfd
instructions when they are available. On powerpcspe, there are no FP registers,
hence they simply don't need to be saved/restored.

Roland


-- System Information:
Debian Release: 7.0
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: powerpcspe (ppc)

Kernel: Linux 3.9.0-dirty (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash
--- libclamav/c++/llvm/lib/Target/PowerPC/PPCJITInfo.cpp.orig	2013-12-24 11:10:08.709115796 +0100
+++ libclamav/c++/llvm/lib/Target/PowerPC/PPCJITInfo.cpp	2013-12-24 11:19:23.056944034 +0100
@@ -164,12 +164,14 @@
     "stw 8,  92(1)\n"    "stw 7,  88(1)\n"
     "stw 6,  84(1)\n"    "stw 5,  80(1)\n"
     "stw 4,  76(1)\n"    "stw 3,  72(1)\n"
+#ifndef __NO_FPRS__
     // Save all call-clobbered FP regs.
     "stfd 8,  64(1)\n"
     "stfd 7,  56(1)\n"   "stfd 6,  48(1)\n"
     "stfd 5,  40(1)\n"   "stfd 4,  32(1)\n"
     "stfd 3,  24(1)\n"   "stfd 2,  16(1)\n"
     "stfd 1,  8(1)\n"
+#endif
     // Arguments to Compilation Callback:
     // r3 - our lr (address of the call instruction in stub plus 4)
     // r4 - stub's lr (address of instruction that called the stub plus 4)
@@ -185,12 +187,14 @@
     "lwz 8,  92(1)\n"    "lwz 7,  88(1)\n"
     "lwz 6,  84(1)\n"    "lwz 5,  80(1)\n"
     "lwz 4,  76(1)\n"    "lwz 3,  72(1)\n"
+#ifndef __NO_FPRS__
     // Restore all FP arg registers
     "lfd 8,  64(1)\n"
     "lfd 7,  56(1)\n"    "lfd 6,  48(1)\n"
     "lfd 5,  40(1)\n"    "lfd 4,  32(1)\n"
     "lfd 3,  24(1)\n"    "lfd 2,  16(1)\n"
     "lfd 1,  8(1)\n"
+#endif
     // Pop 3 frames off the stack and branch to target
     "lwz  1, 104(1)\n"
     "lwz  0, 4(1)\n"

--- End Message ---
--- Begin Message ---
Source: clamav
Source-Version: 0.98.1+dfsg-2

We believe that the bug you reported is fixed in the latest version of
clamav, 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.
Scott Kitterman <[email protected]> (supplier of updated clamav 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: SHA256

Format: 1.8
Date: Mon, 03 Mar 2014 16:49:54 -0500
Source: clamav
Binary: clamav-base clamav-docs clamav-dbg clamav libclamav-dev libclamav6 
clamav-daemon clamav-testfiles clamav-freshclam clamav-milter
Architecture: source all i386
Version: 0.98.1+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: ClamAV Team <[email protected]>
Changed-By: Scott Kitterman <[email protected]>
Description: 
 clamav     - anti-virus utility for Unix - command-line interface
 clamav-base - anti-virus utility for Unix - base package
 clamav-daemon - anti-virus utility for Unix - scanner daemon
 clamav-dbg - debug symbols for ClamAV
 clamav-docs - anti-virus utility for Unix - documentation
 clamav-freshclam - anti-virus utility for Unix - virus database update utility
 clamav-milter - anti-virus utility for Unix - sendmail integration
 clamav-testfiles - anti-virus utility for Unix - test files
 libclamav-dev - anti-virus utility for Unix - development files
 libclamav6 - anti-virus utility for Unix - library
Closes: 710260 733035
Changes: 
 clamav (0.98.1+dfsg-2) unstable; urgency=medium
 .
   [ Adam Conrad ]
   * Stop using a cargo-culted syscall table and trust the glibc headers
     (Closes: #733035)
 .
   [ Louis Bouchard ]
   * debian/common_functions
     - Fix slurp_config() that is sometimes not discriminative
       enough which leads to invalid configuration files (LP: #799623 )
 .
   [ Yolanda Robla ]
   * Add autopkgtests (Closes: #710260)
 .
   [ Sebastian Andrzej Siewior ]
   * unit_test: check_clamav: skip .rar files if there is no rar support to fix
     test failure (and FTBFS) when tests are run
   * configure: use pkg-config for check so test is detected and tests will run
 .
   [ Scott Kitterman ]
   * Add pkg-config to build-depends
   * Remove rule that touched libclamav/version.h since it is no longer missing
     in 0.98.1
Checksums-Sha1: 
 a4539144afa2a0f9d9031d1176611daafe6e4c22 2637 clamav_0.98.1+dfsg-2.dsc
 3589744485fd3e496cb8e4404faf2f47ea520d67 295712 clamav_0.98.1+dfsg-2.diff.gz
 38d5e8fe5b645c904b15846e0428b28c71a57ba0 325628 
clamav-base_0.98.1+dfsg-2_all.deb
 d58e18e92850ac7380f5111d54653fb7bd77a971 3081392 
clamav-testfiles_0.98.1+dfsg-2_all.deb
 d97df3a6a19eb5590e42662e1d66e9e1af60a10d 1249478 
clamav-docs_0.98.1+dfsg-2_all.deb
 e7d07edd1a9bc01acb2f3f1a4aeee73b79826258 3410916 
libclamav6_0.98.1+dfsg-2_i386.deb
 b1d1d405bf529867938440962afc3f5bfc9e6b3c 297954 clamav_0.98.1+dfsg-2_i386.deb
 ead5f2be14527b8b9d328e14a1a73bf6d5950897 346066 
clamav-daemon_0.98.1+dfsg-2_i386.deb
 58e9747543d5803696e7df98ca8596926d8eeae7 326746 
clamav-freshclam_0.98.1+dfsg-2_i386.deb
 9a5a6fd08324e0e0e4b9eb9eb4819aeb654891ee 383084 
clamav-milter_0.98.1+dfsg-2_i386.deb
 2dff7e3cd53fbbd70e6a57cec6d290dfad723088 231422 
libclamav-dev_0.98.1+dfsg-2_i386.deb
 64a5c954173b7962d1ce18192266aacde99eb69d 24673406 
clamav-dbg_0.98.1+dfsg-2_i386.deb
Checksums-Sha256: 
 2af4db2f3bbb8dfdea75af80a277c3c4a8e3baa67db1e137baa6915488bf121d 2637 
clamav_0.98.1+dfsg-2.dsc
 a44835e3bded66332b3dde5547f1ebf0b3bf4b99a3dc3fc1b6b8a2092cc922ee 295712 
clamav_0.98.1+dfsg-2.diff.gz
 b396b8da105e1fd429622ea1d6f45bd01c23073a09d0624885f8b955cf9edecb 325628 
clamav-base_0.98.1+dfsg-2_all.deb
 7a4128b34a38a6bf54e6462e0186f14940802d4333f6f2704de45d80ada38706 3081392 
clamav-testfiles_0.98.1+dfsg-2_all.deb
 1edb30c54a9f1687fc617ce9deec9e0f0165a9b3b73220ca720b0b63b6080f1d 1249478 
clamav-docs_0.98.1+dfsg-2_all.deb
 f8b27e7f8c8d7e59f11abaf9f0cd4d11162f06d2c0f3d2c1af88762330f7d0ba 3410916 
libclamav6_0.98.1+dfsg-2_i386.deb
 e3d0d3f280602f31a6f55b54f24c18e50a485d67f4b25e5365a46ee88cc36459 297954 
clamav_0.98.1+dfsg-2_i386.deb
 c5d3d5ac4269fd74cdaab08087b4281a3a1c543298ba0fe7d42556b79fa1ebdb 346066 
clamav-daemon_0.98.1+dfsg-2_i386.deb
 21843b99babf07b716a4c5085a34b35c113b6c522fdbbd7ad6ed69d09acacd12 326746 
clamav-freshclam_0.98.1+dfsg-2_i386.deb
 074651094938e349323230933930f4a40990f4e8dff8e7e6c30c40c693a44a36 383084 
clamav-milter_0.98.1+dfsg-2_i386.deb
 bb6aca77104a28502d9e756ddd58f4fb1d2c64debda247b25c1a4affad8a0f1a 231422 
libclamav-dev_0.98.1+dfsg-2_i386.deb
 559f73275e28a5d363c28d93c15cb45d962d6179209415df686ba4cd6f5d1cd9 24673406 
clamav-dbg_0.98.1+dfsg-2_i386.deb
Files: 
 b8e0f51b03f01ec3bd333b2cccdc6326 2637 utils optional clamav_0.98.1+dfsg-2.dsc
 e75042af65c6a346c7b4968b631211f0 295712 utils optional 
clamav_0.98.1+dfsg-2.diff.gz
 c5912919ce3ea7a5cd86c540584e65ba 325628 utils optional 
clamav-base_0.98.1+dfsg-2_all.deb
 d9f6925cd7d3f208048ab87a9ac77ed5 3081392 utils optional 
clamav-testfiles_0.98.1+dfsg-2_all.deb
 680388669428c30736f4f9edae5a63e6 1249478 doc optional 
clamav-docs_0.98.1+dfsg-2_all.deb
 1d201a753580679749467020699c72f3 3410916 libs optional 
libclamav6_0.98.1+dfsg-2_i386.deb
 154a01c6c92ff714c5b6734937fe410f 297954 utils optional 
clamav_0.98.1+dfsg-2_i386.deb
 65db254687a4a3071f22872b71adc229 346066 utils optional 
clamav-daemon_0.98.1+dfsg-2_i386.deb
 042ddb145eb7fb23d7ffe560984fd8be 326746 utils optional 
clamav-freshclam_0.98.1+dfsg-2_i386.deb
 05738beca6107e0331901493ddebcae4 383084 utils extra 
clamav-milter_0.98.1+dfsg-2_i386.deb
 ee317486b137e33a7e8bfc0acbd3685f 231422 libdevel optional 
libclamav-dev_0.98.1+dfsg-2_i386.deb
 a0aa9c7f98d02395009ddc0ef62cf003 24673406 debug extra 
clamav-dbg_0.98.1+dfsg-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)

iQIcBAEBCAAGBQJTF09DAAoJEHjX3vua1ZrxV5UP/2LO52z47IX6El/gA9QBpbMA
J9pH335IQV9ssiq4N1AWpdl7n+N3Cxq0CmeH3YUGeffxPrxYtPOopjoSAnW7LNnL
gZvsH2YGaEme78IpnGflCU8UWlV4xQ9xRrMuXGS6cbssWysyXvf6BHdybhFFi1/4
B+9YPLchRu5+/Kc0FXEOMbXLSRRl9SrSUUYQYhS0wizmchnrJlnl6uRsLVSjbdgj
3x4wEVz0Zza+cfERFjPS28O2vg2wT3Pia5eYR3iqKJO+opm5whk8+b6zHR3yVDNN
H3BYGJuZIzuCiMr7iGnc8oPQuA4yLdugwbxXd8NwfBnisc4UrmQ1jitpABkDrNO3
yYiLBJArrtHv5X4/RWF/z6LWJ+7xbQyfYNszlAT7t+JMqEq/q7oKqJqp+enC5wnr
MfK42sXVJ95V0oks2SR/Op1130orzK5YQO9a85o9tCgE4PB4l2nHqNz5Tu3cisdY
oXS1Tmgsr6kUuruhQK2y9DipzMxXEpUnrfcluJ2FZLHMvYn27mx89+Lg7G6XoG7e
1QDYtldavlPYTLWQ+LjmWM49Vv5Idb/rlOD+cwA8/jIE4v8l1JkZUIYwuoFzmZYl
X7N9fikNkpvESYEaybHDIJYgGrHxuPNOLTl0siaFtAMWjS6sMAdaq+jrMt6My3Df
Sk0ZYNyKHz2v7qKvMrd3
=+BC8
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to