[cfe-dev] Error: /usr/bin/ld: cannot find -lgcc_s

Chris Lattner clattner at apple.com
Thu Nov 11 20:51:13 PST 2010


On Nov 11, 2010, at 8:40 PM, Santosh Nagarakatte wrote:

> 
> When I compile the callrealmode.c (in attached directory), clang gives
> the following error.
> 
> callrealmode.c:62:3: error: invalid instruction mnemonic 'lretq'
>                "push %%rax\n"
>                ^
> <inline asm>:20:1: note: instantiated into assembly here
> lretq
> ^

This is definitely an integrated assembler bug, I'll investigate tomorrow if I have time.

-Chris



More information about the cfe-dev mailing list