Summary: | sys-devel/gcc-4.{4,5}*: Miscompiled c++ class with packed attribute on ARM with -Os optimizations (Qt 4.6.2) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Raúl Porcel (RETIRED) <armin76> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | arm, qt, siarhei.siamashka, solar |
Priority: | High | Keywords: | Inclusion |
Version: | unspecified | ||
Hardware: | ARM | ||
OS: | Linux | ||
URL: | http://gcc.gnu.org/PR45070 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 915000 | ||
Attachments: |
70_all_gcc44-pr45070-arm_-Os.patch
70_all_gcc45-pr45070-arm_-Os.patch |
Description
Raúl Porcel (RETIRED)
2010-08-08 11:33:19 UTC
I'm afraid that just filtering out -Os when compiling Qt libraries may be not enough to solve the issue. Because any Qt/KDE application trying to return QChar from some function may be miscompiled too. Created attachment 246793 [details, diff]
70_all_gcc44-pr45070-arm_-Os.patch
Created attachment 246794 [details, diff]
70_all_gcc45-pr45070-arm_-Os.patch
Added to 4.4.4 and 4.5.1 patchsets. Released in 4.4.4-r2. and 4.5.1 (p1.1). |