libi420_rgb_mmx_plugin.so contains text relocations on x86, which I think is bad for shared objects for various reasons (mainly because this prevents marking TEXT pages readonly).
I'll attach a patch that will add the various memory references that are used to gcc inline asm input constraints, so that'll let it choose how to address them. It'll use relative to the pic register references in pic mode, and absolute references in non pic mode.
This also removes the need to manually do (%pic) relative addressing on x86_64.
As a side effect, it might fix the build of this plugin on intel mac osx (though I cannot check this).
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items
...
Linked items
0
Link issues together to show that they're related.
Learn more.
i420_rgb16.c: In function 'I420_R5G5B5__0_9_0i':i420_rgb16.c:503: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'i420_rgb16.c:503: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'i420_rgb16.c:503: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'i420_rgb16.c:503: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'i420_rgb16.c:503: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'i420_rgb16.c:503: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'i420_rgb16.c:503: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'i420_rgb16.c:503: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'i420_rgb16.c:503: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'i420_rgb16.c:503: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'i420_rgb16.c:503: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'i420_rgb16.c:503: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'i420_rgb16.c:503: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'i420_rgb16.c:503: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'i420_rgb16.c:503: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'i420_rgb16.c:503: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
breaks on OSX
{{{
i420_rgb16.c: In function 'I420_R5G5B5__0_9_0i':
i420_rgb16.c:503: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
i420_rgb16.c:503: error: can't find a register in auto insurance quotes class 'GENERAL_REGS' while reloading 'asm'
i420_rgb16.c:503: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
i420_rgb16.c:503: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
i420_rgb16.c:503: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
i420_rgb16.c:503: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
i420_rgb16.c:503: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
i420_rgb16.c:503: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
i420_rgb16.c:503: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
i420_rgb16.c:503: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
i420_rgb16.c:503: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
i420_rgb16.c:503: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
i420_rgb16.c:503: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
i420_rgb16.c:503: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
i420_rgb16.c:503: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
i420_rgb16.c:503: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
}}}
I had the same problem and i solve it.Thanks