2017-05-03 13 views
-1

부스트 섬유 라이브러리를 만들려고하고 있는데, ./b2로 전달할 명령 줄 인수가 확실하지 않습니다.분할 된 스택 지원을위한 부스트 섬유 라이브러리를 만드는 방법

./b2 --reconfigure CXXFLAGS = "- STD = C++ 14"멀티 스레딩 변형 = = = 해제 링크 공유 --toolset = GCC 풋 스택 = 공연 구성 검사

- 32-bit     : no 
- 64-bit     : yes 
- arm      : no 
- mips1     : no 
- power     : no 
- sparc     : no 
- x86      : yes 

Boost C++ 라이브러리 빌드.

- symlinks supported  : yes 
- C++11 mutex    : yes 
- lockfree boost::atomic_flag : yes 
- Boost.Config Feature Check: cxx11_auto_declarations : yes 
- Boost.Config Feature Check: cxx11_constexpr : yes 
- Boost.Config Feature Check: cxx11_defaulted_functions : yes 
- Boost.Config Feature Check: cxx11_final : yes 
- Boost.Config Feature Check: cxx11_hdr_tuple : yes 
- Boost.Config Feature Check: cxx11_lambdas : yes 
- Boost.Config Feature Check: cxx11_noexcept : yes 
- Boost.Config Feature Check: cxx11_nullptr : yes 
- Boost.Config Feature Check: cxx11_rvalue_references : yes 
- Boost.Config Feature Check: cxx11_template_aliases : yes 
- Boost.Config Feature Check: cxx11_thread_local : yes 
- Boost.Config Feature Check: cxx11_variadic_templates : yes 
- has_icu builds   : yes 

경고 : 그래프 라이브러리에는 MPI 기반 병렬 구성 요소가 포함되어 있지 않습니다. 참고 : 사용하려면 'mpi 사용;'을 추가하십시오. 예 -의 bzip2 : 없음 -의 iconv (libc의) : 예 - ICU : 예 - 네이티브 원자 INT32 지원 : 예 - 같은 pthread 지원 - 강력한-뮤텍스 ZLIB - 사용자 - config.jam 에 : 예 - 컴파일러 지원 - 가시성 : 예 - 컴파일러 지원-SSSE3 : 예 - 컴파일러 지원-AVX2 : 예 - GCC 가시성 : 예 - 긴 이중 지원 : 예 경고 : 옵션 메시지를 건너 뛰는 전달 인터페이스 (MPI) 라이브러리. 참고 : MPI 지원을 사용하려면 "using mpi;"를 추가하십시오. user-config.jam. 참고 :이 메시지를 표시하지 않으려면 "--without-mpi"를 bjam에 전달하십시오. 참고 : 그렇지 않으면이 메시지를 무시해도됩니다.

구성 요소 구성 :

때문에 추가 할 필요가 '공유 링크 =' 'linkflags = -lgcc'의
- atomic     : building 
- chrono     : building 
- container    : building 
- context     : building 
- coroutine    : building 
- coroutine2    : building 
- date_time    : building 
- exception    : building 
- fiber     : building 
- filesystem    : building 
- graph     : building 
- graph_parallel   : building 
- iostreams    : building 
- locale     : building 
- log      : building 
- math      : building 
- metaparse    : building 
- mpi      : building 
- program_options   : building 
- python     : building 
- random     : building 
- regex     : building 
- serialization   : building 
- signals     : building 
- system     : building 
- test      : building 
- thread     : building 
- timer     : building 
- type_erasure    : building 
- wave      : building 

gcc.link.dll bin.v2/libs/fiber/build/gcc-5.4.0/release/segmented-stacks-on/threading-multi/libboost_fiber.so.1.62.0 
/usr/bin/ld: bin.v2/libs/fiber/build/gcc-5.4.0/release/segmented-stacks-on/threading-multi/algo/algorithm.o: relocation R_X86_64_PC32 against undefined symbol `__morestack' can not be used when making a shared object; recompile with -fPIC 
/usr/bin/ld: final link failed: Bad value 
collect2: error: ld returned 1 exit status 

    "g++" -o "bin.v2/libs/fiber/build/gcc-5.4.0/release/segmented-stacks-on/threading-multi/libboost_fiber.so.1.62.0" -Wl,-h -Wl,libboost_fiber.so.1.62.0 -shared -Wl,--start-group "bin.v2/libs/fiber/build/gcc-5.4.0/release/segmented-stacks-on/threading-multi/algo/algorithm.o" "bin.v2/libs/fiber/build/gcc-5.4.0/release/segmented-stacks-on/threading-multi/algo/round_robin.o" "bin.v2/libs/fiber/build/gcc-5.4.0/release/segmented-stacks-on/threading-multi/algo/shared_work.o" "bin.v2/libs/fiber/build/gcc-5.4.0/release/segmented-stacks-on/threading-multi/barrier.o" "bin.v2/libs/fiber/build/gcc-5.4.0/release/segmented-stacks-on/threading-multi/condition_variable.o" "bin.v2/libs/fiber/build/gcc-5.4.0/release/segmented-stacks-on/threading-multi/context.o" "bin.v2/libs/fiber/build/gcc-5.4.0/release/segmented-stacks-on/threading-multi/fiber.o" "bin.v2/libs/fiber/build/gcc-5.4.0/release/segmented-stacks-on/threading-multi/future.o" "bin.v2/libs/fiber/build/gcc-5.4.0/release/segmented-stacks-on/threading-multi/mutex.o" "bin.v2/libs/fiber/build/gcc-5.4.0/release/segmented-stacks-on/threading-multi/properties.o" "bin.v2/libs/fiber/build/gcc-5.4.0/release/segmented-stacks-on/threading-multi/recursive_mutex.o" "bin.v2/libs/fiber/build/gcc-5.4.0/release/segmented-stacks-on/threading-multi/recursive_timed_mutex.o" "bin.v2/libs/fiber/build/gcc-5.4.0/release/segmented-stacks-on/threading-multi/timed_mutex.o" "bin.v2/libs/fiber/build/gcc-5.4.0/release/segmented-stacks-on/threading-multi/scheduler.o" "bin.v2/libs/context/build/gcc-5.4.0/release/segmented-stacks-on/threading-multi/libboost_context.so.1.62.0" -Wl,-Bstatic -Wl,-Bdynamic -lrt -Wl,--end-group -pthread -m64 

...failed gcc.link.dll bin.v2/libs/fiber/build/gcc-5.4.0/release/segmented-stacks-on/threading-multi/libboost_fiber.so.1.62.0... 
...skipped <pstage/lib>libboost_fiber.so.1.62.0 for lack of <pbin.v2/libs/fiber/build/gcc-5.4.0/release/segmented-stacks-on/threading-multi>libboost_fiber.so.1.62.0... 
...skipped <pstage/lib>libboost_fiber.so for lack of <pstage/lib>libboost_fiber.so.1.62.0... 

답변

0

(관하여 libgcc는 분할 스택을 위해 관련 기능을 포함)