Summary: | dev-libs/libgcrypt-1.7.0 with gcc-5.3 -flto: /usr/include/bits/string3.h:50:1: error: inlining failed in call to always_inline 'memcpy': target specific option mismatch | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Klaus Kusche <klaus.kusche> |
Component: | [OLD] Library | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | candrews, eugene.shalygin, fabio.coatti, fkhp101, paolo.pedroni, steffen |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://gcc.gnu.org/PR65873 | ||
See Also: |
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65873 https://bugs.gentoo.org/show_bug.cgi?id=PR65873 |
||
Whiteboard: | LTO | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 618550 |
Description
Klaus Kusche
2016-04-25 05:32:18 UTC
Same problem here, maybe this is relevant (not really sure :) ) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65873 Does anyone tried with gcc 4.X? I'm using 5.3. The patch in gcc bugzilla has been applied by gentoo, I just noticed it. The error seems to be trigged by lto flag, at least I've been able to compile libgcrypt by turning off lto optimiziation. Maybe it could be worthwile to report this to gcc folks... (In reply to Fabio Coatti from comment #2) > The error seems to be trigged by lto flag, at least I've been able to > compile libgcrypt by turning off lto optimiziation. I can confirm that libgcrypt emerges without errors with lto turned off. not a libgcrypt bug. only option is to simply avoid -flto for this package currently. *** Bug 583792 has been marked as a duplicate of this bug. *** Fixed in upstream gcc-6 (In reply to Andreas K. Hüttel from comment #6) > Fixed in upstream gcc-6 We can probably close this now gcc-6 is stable. |