| Summary: | Adding -feliminate-dwarf2-dups to compiler flags for libnfsidmap causes prelink to segfault | ||
|---|---|---|---|
| Product: | [Yocto Project Subprojects] Cross-prelink | Reporter: | Richard Purdie <richard.purdie> |
| Component: | cross-prelink | Assignee: | Mark Hatle <mark.hatle> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | jessica.zhang, sgw, yp.cp.watcher, yp.watcher |
| Version: | unspecified | ||
| Target Milestone: | 1.3 | ||
| Hardware: | x86 | ||
| OS: | x86 | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Richard Purdie
2011-03-29 05:19:05 UTC
In master we've dropped the problematic compiler flag for now but we should still figure out this problem... Update. I've not yet reproduced this. However, since the issue was filed a number of fixes for dwarf2 issues have gone into the prelinker. current testing on head of poky indicates an internal compiler error: /home/mhatle/git/oss/poky/build-test/tmp/work/x86_64-poky-linux/gcc-runtime-4.6.2+svnr181430-r20/gcc-4_6-branch/build.x86_64-poky-linux.x86_64-poky-linux/libstdc++-v3/include/bits/unordered_set.h:398:1: internal compiler error: in build_abbrev_table, at dwarf2out.c:10534 Unable to reproduce this issue due to the ICE... -feliminate-dwarf2-dups is "iffy" with the current version of gcc. It is likely addressed in gcc 4.7. We need to wait until that has been released/update before work can result on this item. Uprev to gcc 4.7 is a prerequisite to this item. It is expected most of the work is simply validation and that 4.7 will correct the issue. It is believed now that we have the new gcc this is fixed, it should be retested. |