Summary: | [4.6] x11-libs/qt-core fails to compile on arm | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexander Holler <aholler> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | arm, jeanfrancis, qt |
Priority: | Normal | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | ARM | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | patch needed to compile qt on arm |
Description
Alexander Holler
2011-05-06 17:38:45 UTC
Created attachment 272309 [details, diff]
patch needed to compile qt on arm
The bug is in gcc and the attached patch is indeed for gcc -> assigning to toolchain. Is there an upstream PR for this? I haven't seen a PR-number for this anywhere, just the message on gcc's ml and the bugs from ubuntu and debian. Don't know if the Linaro-people are filing gcc-bugs or if their stuff gets upstream somehow else. Can you test 4.6.2? I ran into this bug with GCC 4.6.1-r1, and I confirm that it's still a problem with GCC 4.6.2. It fails at the exact same place. I'm going to test the patch and post results. I confirm that the patch from comment #1 resolves this issue. I tested the patch against gcc-4.6.2. However qt-gui-4.7.4 fails for some other issue, I will create another bug for it if I can't find the solution. I haven't tried gcc 4.6.2 without the patch, but the patch applied cleanly and I could compile qt-4.7.4 with gcc 4.6.2 (and that patch) without any problems. qt-gui still doesn't work with -std=gnu++0x (on arm, because qtreal is float and not double), but that is something completely different. I'll do another patchset with this in before we unmask. Fixed in 4.6.2 p1.1. |