Summary: | cross-i686-pc-linux-gnu/glibc-2.9_p20081201-r2 - ../nptl/sysdeps/unix/sysv/linux/i386/../fork.c:209: error: can't find a register in class ‘BREG’ while reloading ‘asm’ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Robin Hill <gentoo> |
Component: | [OLD] Development | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | CC: | bertrand, mattst88 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Ebuild log (zipped)
Ebuild info |
Description
Robin Hill
2009-06-29 15:09:21 UTC
Created attachment 196088 [details]
Ebuild log (zipped)
Created attachment 196089 [details]
Ebuild info
This is because of hardened Gentoo, specifically the -fPIC CFLAG. With PIC, the ebx register is used, and isn't available to inline assembly, thus causing this error. See bug 376245 and bug 375967. Is this still a problem for you with a more recent crossdev and glibc versions? Closing as NEEDINFO until someone can reproduce it. I don't think it's a problem anymore. |