[cfe-dev] Missing /usr/lib/cxa_finalize.o on Solaris 11.1

"C. Bergström" cbergstrom at pathscale.com
Wed Jun 12 11:51:10 PDT 2013


On 06/13/13 01:41 AM, Игорь Пашев wrote:
> 2013/6/11 Dmitri Shubin<sbn at tbricks.com>:
>> You can get it from Pathscale's libcxxrt:
>> https://github.com/pathscale/libcxxrt
>> Just compile this single object with clang and put to /usr/lib
>>
> Ok, I've managed to build cxa_finalize.o in these steps:
> gcc -std=c99 -c cxa_atexit.c
> gcc -std=c99 -c cxa_finalize.c
> ld -r cxa_finalize.o cxa_atexit.o -o 1.o
> sudo cp 1.o  /usr/lib/cxa_finalize.o
>
> And  /usr/lib/cxa_finalize.o looks like a random name :-) [1]
> cxa_finalize.c and cxa_atexit.c are not compiled into libcxxrt.
Send a patch or a pull request and I'll get it merged after review - 
Thanks for catching this



More information about the cfe-dev mailing list