Bug 1424367 - valgrind: FTBFS in rawhide
Summary: valgrind: FTBFS in rawhide
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: valgrind
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mark Wielaard
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F26FTBFS
TreeView+ depends on / blocked
 
Reported: 2017-02-17 16:52 UTC by Fedora Release Engineering
Modified: 2017-07-13 19:19 UTC (History)
5 users (show)

Fixed In Version: valgrind-3.12.0-5.fc26 valgrind-3.12.0-9.fc25
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-13 19:19:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (72.37 KB, text/plain)
2017-02-17 16:52 UTC, Fedora Release Engineering
no flags Details
root.log (88.81 KB, text/plain)
2017-02-17 16:52 UTC, Fedora Release Engineering
no flags Details
state.log (627 bytes, text/plain)
2017-02-17 16:52 UTC, Fedora Release Engineering
no flags Details
patch to remove R2 from clobber list (2.07 KB, text/plain)
2017-02-17 17:30 UTC, Will Schmidt
no flags Details

Description Fedora Release Engineering 2017-02-17 16:52:42 UTC
Your package valgrind failed to build from source in current rawhide.

https://koji.fedoraproject.org/koji/taskinfo?taskID=17790661

For details on mass rebuild see https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

Comment 1 Fedora Release Engineering 2017-02-17 16:52:49 UTC
Created attachment 1254378 [details]
build.log

Comment 2 Fedora Release Engineering 2017-02-17 16:52:54 UTC
Created attachment 1254379 [details]
root.log

Comment 3 Fedora Release Engineering 2017-02-17 16:52:57 UTC
Created attachment 1254380 [details]
state.log

Comment 4 Mark Wielaard 2017-02-17 17:18:20 UTC
This seems to be ppc64/ppc64le upstream bug. As pointed out by https://gcc.gnu.org/gcc-7/changes.html
PowerPC / PowerPC64 / RS6000
GCC now diagnoses inline assembly that clobbers register r2. This has always been invalid code, and is no longer quietly tolerated.

Upstream working on a fix.

Comment 5 Will Schmidt 2017-02-17 17:30:11 UTC
Created attachment 1254892 [details]
patch to remove R2 from clobber list

I just posted this (attached) patch to the valgrind-developers list.  Fixes build issue locally, when building valgrind against upstream/new gcc. 

   On ppc64*, R2 is the TOC pointer, should not be considered a
    scratch register, and thus should not be in the clobber list.
    This is called out in newer GCC releases and triggers a
    compile time error.

    Thusly, remove R2 from the clobber list.

Comment 6 Mark Wielaard 2017-02-17 21:50:14 UTC
That patch fixes things. All arches build now.

There is an issue with various tests though because prlimit64 isn't hooked on ppc64[le] (syscall 325) and arm64 (syscall 261). But I'll file another bug for that.

Comment 7 Fedora Update System 2017-07-05 14:02:05 UTC
valgrind-3.12.0-9.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-ffd8b851cc

Comment 8 Fedora Update System 2017-07-06 03:53:36 UTC
valgrind-3.12.0-9.fc25 has been pushed to the Fedora 25 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-2017-ffd8b851cc

Comment 9 Fedora Update System 2017-07-13 19:19:42 UTC
valgrind-3.12.0-9.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.