[cfe-dev] Missing /usr/lib/cxa_finalize.o on Solaris 11.1
Игорь Пашев
pashev.igor at gmail.com
Wed Jun 12 11:41:44 PDT 2013
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.
[1] http://llvm.org/viewvc/llvm-project?view=revision&revision=151648
More information about the cfe-dev
mailing list