Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1205236
Summary: | kernel FTBFS on ppc64le | |||
---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jakub Čajka <jcajka> | |
Component: | gcc | Assignee: | Jakub Jelinek <jakub> | |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 22 | CC: | dan, davejohansen, gansalmon, itamar, jakub, jonathan, kernel-maint, law, madhu.chinakonda, mchehab, menantea, mpolacek, pbrobinson | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | ppc64le | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | gcc-5.0.1-0.1.fc22 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1237363 (view as bug list) | Environment: | ||
Last Closed: | 2015-04-21 18:40:13 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: | 1051573, 1206039, 1206040, 1237363 |
Description
Jakub Čajka
2015-03-24 13:45:09 UTC
both the failed and successful builds used binutils-2.25-5.fc22.ppc64le Is that reproducible? Can you try compiling just the arch/powerpc/kernel/vdso32/gettimeofday.S file? The problem is that powerpc64le is not a multilib target, we don't really support -m32 on ppc64le. So, it is a kernel bug (or kernel configuration bug) to attempt to compile 32-bit ppc64le code with it. Only ppc64 big endian supports multilib (though in Fedora in a very limited way, as no 32-bit packages are built these days). Also you can have a look to https://bugs.launchpad.net/ubuntu/trusty/+source/linux/+bug/1433809 to find a bypass So not only kernel is affected by the gcc change, but also grub2 (http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=2449339). And we will need some solution ... Jakub, seems that without the 32-bit support on LE we are stuck :-( Can you add it back in the next gcc build? We have no mean to workaround the problems for F-22, not sure about F-23. As fixing the kernel will take time and the grub2 situation is completely unclear, I propose to add the necessary options from https://bugs.launchpad.net/ubuntu/trusty/+source/linux/+bug/1433809/comments/2 to our gcc5 Could we enable just the 32 bit code generator without the multilibs? Would that address the problem? (In reply to Jeff Law from comment #8) > Could we enable just the 32 bit code generator without the multilibs? Would > that address the problem? Yes, I believe so, we don't need multilib. the options recommended by Alan Modra are --enable-targets=powerpcle-linux --disable-multilib kernel now builds again (http://ppc.koji.fedoraproject.org/koji/buildinfo?buildID=302160) gcc-5.0.1-0.1.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/gcc-5.0.1-0.1.fc22 gcc-5.0.1-0.1.fc22, libtool-2.4.2-33.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. |