Missing symbols when build with vcpkg
yyzybb537 opened this issue · 6 comments
The libboost_context.a missing symbols:
make_fcontext
jump_fcontext
ontop_fcontext
when boost.context built by vcpkg.
I think your build script what you committed, lose the asm
files in vcpkg.
Wether I build boost.context with link=shared or link=static, objdump -t shows the symbols of the fcontext-functions contained in the symbol table (static and shared lib).
I don't know and use vcpkg. Is vcpkg officially supported by boost?
Yes, vcpkg can install boost in linux now, because boost support for vcpkg!
I think it will be popular package manager.
The bug because when build boost-context with vcpkg. ASM files was not built, can you fix it?
ASM files are compiled if you use b2 ... as I told you I don't use Windows and I'm unfamiliar with vcpkg.
So I've no idea why yopu get this problem ... I guess it is related how you build boost.context
This should be fixed in the latest vcpkg master. We weren't passing the correct architecture flag to b2, which caused it to be unable to select the correct asm files.
@yyzybb537 I've asked for some more clarifying information in the vcpkg thread if your issue is still unsolved.
@olk I think this issue can be closed for now; we will come back if we confirm it's not a vcpkg problem :)
OK, tx