Bug 1534071
| Summary: | clamav-linked application fails with internal LLVM error on ppc64 only | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jason Tibbitts <j> | ||||
| Component: | clamav | Assignee: | Sergio Basto <sergio> | ||||
| Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 28 | CC: | bennie.joubert, dan, gbcox, janfrode, j, ondrejj, orion, redhat-bugzilla, rh-bugzilla, sergio, steve | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2018-04-01 02:39:33 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 238953 | ||||||
| Attachments: |
|
||||||
Hi Tibbs Hum the thread mention if from 2010 ... Can you put here the link of the builds please ? Yes, the thread is old but it's pretty much the only thing I could find that's remotely relevant. I only managed to get that error output by poking around in the mock buildroot manually on one of the ppc64 test instances. And sadly now with no package changes I can't even build the thing in rawhide for some reason. Still, here's an F27 build which is constructed to show the problem: https://koji.fedoraproject.org/koji/taskinfo?taskID=24479168 The failure is detailed way down at the bottom of the build log. I made a build today and "just" fail on test [1] and don't see any Assertion ... [1] Run: 654, Failures: 0, Errors: 1 https://koji.fedoraproject.org/koji/taskinfo?taskID=24711116 This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle. Changing version to '28'. we may try something like : https://src.fedoraproject.org/rpms/ldc/c/4130742 This thread [1] suggests that we disable build with --enable-llvm=no on ppc64 [1]http://lists.clamav.net/pipermail/clamav-users/2017-May/004589.html clamav-0.99.4-2.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-066bdb459b Created attachment 1408320 [details] outgoing/0001-Enable-clamav-on-ppc64-1534071.patch with this patch built well in rawhide https://koji.fedoraproject.org/koji/taskinfo?taskID=25712592 clamav-0.99.4-2.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-066bdb459b clamav-0.99.4-3.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-833b5d8001 clamav-0.99.4-3.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-833b5d8001 clamav-0.99.4-3.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report. Thanks for this; I was able to re-enable the clamav functionality for ppc64 in cyrus-imapd and the test suite no longer fails. cool , closing it as upstream https://bugzilla.clamav.net/show_bug.cgi?id=12073 |
I hate to file this bug because I doubt there's much the Fedora maintainer can really do about it. I don't really even know whether to file it here or with llvm or somewhere else. But here goes. I help maintain the cyrus-imapd package, which provides an IMAP/JMAP/calendaring server. cyrus-imapd supports virus scanning via the cyr_virusscan command, which is linked against clamav-libs. The cyrus-imapd test suite contains a test which puts a couple of messages containing the EICAR test signature in a mailbox and then runs cyr_virusscan to see if they are found. On ppc64 _only_ (ppc64le is fine) the invocation of cyr_virusscan fails with: cyr_virusscan: llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp:156: unsigned int {anonymous}::PPCCodeEmitter::getMachineOpValue(const llvm::MachineInstr&, const llvm::MachineOperand&): Assertion `MovePCtoLROffset && "MovePCtoLR not seen yet?"' failed. I have pretty much no idea at all what that means. Google turns up this thread: http://lists.llvm.org/pipermail/llvm-dev/2010-October/035539.html but that's about it. For now I'm disabling clamav support on just ppc64. I will go ahead and block F-ExcludeArch-ppc64 even though technically this isn't an excluded package, just an excluded minor feature. Hopefully someone will have some idea of what's going on.