Summary: | sys-devel/gcc-4.8.3 fails to compile on alpha because of the failed bootstrap comparison | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alpha |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | Alpha | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=519104 | ||
Whiteboard: | fixed in 4.8.4 | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 516152 | ||
Attachments: |
build log
fix bootstrap comparison on alpha gcc-4.8.4 |
Description
Agostino Sarubbo
2015-02-13 09:59:14 UTC
You can try 4.8.4 but it'll probably fail too because the only fix between 4.8.3 which is alpha related is PR 61586. I can't help but notice that bug #519104 c #4 was able to fix the problem on 4.6 by removing a -march flag. People have been building gcc on alpha and not hitting the comparison problem so it may be something trivial we're doing. I'd hate to skip 4.8 only to hit the same trivial problem again on 4.9. (In reply to Anthony Basile from comment #1) > I can't help but notice that bug #519104 c #4 was able to fix the problem on > 4.6 by removing a -march flag. removing -mcpu=ev4 didn't help. I've talked with one of the gcc maintainers and he tells me that this commit should fix it: https://gcc.gnu.org/ml/gcc-cvs/2015-02/msg00527.html Sorry there's no upstream bug report... Created attachment 397058 [details, diff]
fix bootstrap comparison on alpha gcc-4.8.4
1) Thanks for inquiring upstream Raul.
2) Can you test this patch?
ebuild gcc-4.8.4.ebuild clean prepare
apply patch
ebuild gcc-4.8.4.ebuild install
If it works I'll add it to the 4.8.4 patchset.
(In reply to Anthony Basile from comment #4) > Created attachment 397058 [details, diff] [details, diff] > fix bootstrap comparison on alpha gcc-4.8.4 > > 1) Thanks for inquiring upstream Raul. > > 2) Can you test this patch? > > ebuild gcc-4.8.4.ebuild clean prepare > apply patch > ebuild gcc-4.8.4.ebuild install > > If it works I'll add it to the 4.8.4 patchset. As discussed on irc, the patch does not clean apply because of the changelog, but with the patch of the .c files now gcc compiles for me without errors. (In reply to Agostino Sarubbo from comment #5) > (In reply to Anthony Basile from comment #4) > > Created attachment 397058 [details, diff] [details, diff] [details, diff] > > fix bootstrap comparison on alpha gcc-4.8.4 > > > > 1) Thanks for inquiring upstream Raul. > > > > 2) Can you test this patch? > > > > ebuild gcc-4.8.4.ebuild clean prepare > > apply patch > > ebuild gcc-4.8.4.ebuild install > > > > If it works I'll add it to the 4.8.4 patchset. > > As discussed on irc, the patch does not clean apply because of the > changelog, but with the patch of the .c files now gcc compiles for me > without errors. This has been added to =sys-devel/gcc-4.8.4. Patchset 1.3. No revbump. If you just emerge gcc-4.8.4 it should work directly from the ebuild. Reopen if there is still some issue. I confirm that 4.8.4 compiles. |