[context][iostreams] Cygwin Boost 1.53 error building some libraries.

On Windows 7, cygwin 2.7, trying to build Boost 1.53 with the following options fails: ./b2.exe --layout=system --variant=release --link=static,shared --threading=single,multi install -j4 with the following errors: gcc.compile.asm bin.v2/libs/context/build/gcc-4.5.3/release/link-static/threading-multi/asm/make_i386_sysv_elf_gas.o libs/context/src/asm/make_i386_sysv_elf_gas.S: Assembler messages: libs/context/src/asm/make_i386_sysv_elf_gas.S:37: Warning: .type pseudo-op used outside of .def/.endef ignored. libs/context/src/asm/make_i386_sysv_elf_gas.S:37: Error: junk at end of line, first unrecognized character is `m' libs/context/src/asm/make_i386_sysv_elf_gas.S:77: Warning: .size pseudo-op used outside of .def/.endef ignored. libs/context/src/asm/make_i386_sysv_elf_gas.S:77: Error: junk at end of line, first unrecognized character is `m' gcc.archive bin.v2/libs/atomic/build/gcc-4.5.3/release/link-static/threading-multi/libboost_atomic.a "g++" -x assembler-with-cpp -O3 -finline-functions -Wno-inline -Wall -DBOOST_ALL_NO_LIB=1 -DNDEBUG -I"." -c -o "bin.v2/libs/context/build/gcc-4.5.3/release/link-static/threading-multi/asm/make_i386_sysv_elf_gas.o" "libs/context/src/asm/make_i386_sysv_elf_gas.S" ...failed gcc.compile.asm bin.v2/libs/context/build/gcc-4.5.3/release/link-static/threading-multi/asm/make_i386_sysv_elf_gas.o... common.copy /home/HPC/boost/v1_53_0/lib/libboost_atomic.a gcc.archive bin.v2/libs/system/build/gcc-4.5.3/release/link-static/threading-multi/libboost_system.a ... common.mkdir bin.v2/libs/date_time/build/gcc-4.5.3/release/link-static gcc.compile.asm bin.v2/libs/context/build/gcc-4.5.3/release/link-static/threading-multi/asm/jump_i386_sysv_elf_gas.o libs/context/src/asm/jump_i386_sysv_elf_gas.S: Assembler messages: libs/context/src/asm/jump_i386_sysv_elf_gas.S:37: Warning: .type pseudo-op used outside of .def/.endef ignored. libs/context/src/asm/jump_i386_sysv_elf_gas.S:37: Error: junk at end of line, first unrecognized character is `j' libs/context/src/asm/jump_i386_sysv_elf_gas.S:72: Warning: .size pseudo-op used outside of .def/.endef ignored. libs/context/src/asm/jump_i386_sysv_elf_gas.S:72: Error: junk at end of line, first unrecognized character is `j' "g++" -x assembler-with-cpp -O3 -finline-functions -Wno-inline -Wall -DBOOST_ALL_NO_LIB=1 -DNDEBUG -I"." -c -o "bin.v2/libs/context/build/gcc-4.5.3/release/link-static/threading-multi/asm/jump_i386_sysv_elf_gas.o" "libs/context/src/asm/jump_i386_sysv_elf_gas.S" ...failed gcc.compile.asm bin.v2/libs/context/build/gcc-4.5.3/release/link-static/threading-multi/asm/jump_i386_sysv_elf_gas.o... ...skipped <pbin.v2/libs/context/build/gcc-4.5.3/release/link-static/threading-multi>libboost_context.a(clean) for lack of <pbin.v2/libs/context/build/gcc-4.5.3/release/link-static/threading-multi>asm/make_i386_sysv_elf_gas.o... ...skipped <pbin.v2/libs/context/build/gcc-4.5.3/release/link-static/threading-multi>libboost_context.a for lack of <pbin.v2/libs/context/build/gcc-4.5.3/release/link-static/threading-multi>asm/make_i386_sysv_elf_gas.o... ... common.mkdir bin.v2/libs/locale/build/gcc-4.5.3/release/link-static common.mkdir bin.v2/libs/locale/build/gcc-4.5.3/release/link-static/threading-multi gcc.compile.c++ bin.v2/libs/iostreams/build/gcc-4.5.3/release/link-static/threading-multi/bzip2.o libs\iostreams\src\bzip2.cpp:20:56: fatal error: bzlib.h: No such file or directory compilation terminated. "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -mthreads -DBOOST_ALL_NO_LIB=1 -DBOOST_IOSTREAMS_USE_DEPRECATED -DNDEBUG -I"." -c -o "bin.v2\libs\iostreams\build\gcc-4.5.3\release\link-static\threading-multi\bzip2.o" "libs\iostreams\src\bzip2.cpp" ...failed gcc.compile.c++ bin.v2/libs/iostreams/build/gcc-4.5.3/release/link-static/threading-multi/bzip2.o... ...skipped <pbin.v2/libs/iostreams/build/gcc-4.5.3/release/link-static/threading-multi>libboost_iostreams.a(clean) for lack of <pbin.v2/libs/iostreams/build/gcc-4.5.3/release/link-static/threading-multi>bzip2.o... ...skipped <pbin.v2/libs/iostreams/build/gcc-4.5.3/release/link-static/threading-multi>libboost_iostreams.a for lack of <pbin.v2/libs/iostreams/build/gcc-4.5.3/release/link-static/threading-multi>bzip2.o... ... ...failed updating 6 targets... ...skipped 14 targets... ...updated 3818 targets...

2013/2/26 Mostafa <mostafa_working_away@yahoo.com>
On Windows 7, cygwin 2.7, trying to build Boost 1.53 with the following options fails:
./b2.exe --layout=system --variant=release --link=static,shared --threading=single,multi install -j4
unfortunately cygwin is not supported by boost.context yet

On Mon, 25 Feb 2013 23:17:09 -0800, Oliver Kowalke <oliver.kowalke@gmail.com> wrote:
2013/2/26 Mostafa <mostafa_working_away@yahoo.com>
On Windows 7, cygwin 2.7, trying to build Boost 1.53 with the following options fails:
./b2.exe --layout=system --variant=release --link=static,shared --threading=single,multi install -j4
unfortunately cygwin is not supported by boost.context yet
No problem. A more informative message, if possible, from the build system stating just that and it explicitly skipping building boost.context would IMO be more helpful than just failing to build.
participants (2)
-
Mostafa
-
Oliver Kowalke