|
Boost-Build : |
From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2006-02-13 07:17:26
Vladimir Prus wrote:
Due to your debugging tips I managed to find the cause for some of the
problems.
> There are some failures that are not obvious for me. Those are:
> generators_test
This one was caused by the fact that cxx silently ignores any files it
doesn't recognize as C++ files. The source file for e.o doesn't have any
extension, therefore no object file was created.
I added an option (-x cxx) to the toolset file to force the compiler to
treat any given file as C++ source file, but other compilers will have the
same problem too, I think. Maybe you should change the test the a file with
the proper extension is generated.
> use_requirements
This failure is caused by the fact that the test creates a library called
libc.so and the linker later confuses this library with the system C
library. Renaming the generated libc.so to something else would fix the
failure.
> library_order
For this one I have no idea if anything is wrong at all. Maybe you can
tell, I have the log file attached.
As soon as these failures are sorted out, I will rerun the full regression
test.
Thanks, Markus
...found 25 targets...
...updating 10 targets...
tru64.compile.c++ bin/tru64/debug/main.o
cxx -x cxx -c -std strict_ansi -nopure_cname -noimplicit_include -timplicit_local -ptr "bin/tru64/debug/cxx_repository" -msg_display_number -msg_disable 186,450,1115 -D__CNAME_OVERLOADS -model ansi -g3 -gall -O0 -inline none -o "bin/tru64/debug/main.o" "main.cpp"
tru64.compile.c++ bin/tru64/debug/a.o
cxx -x cxx -c -std strict_ansi -nopure_cname -noimplicit_include -timplicit_local -ptr "bin/tru64/debug/cxx_repository" -msg_display_number -msg_disable 186,450,1115 -D__CNAME_OVERLOADS -model ansi -g3 -gall -O0 -inline none -o "bin/tru64/debug/a.o" "a.cpp"
tru64.link.dll bin/tru64/debug/liba.so
cxx -shared -noimplicit_include -g -model ansi -o "bin/tru64/debug/liba.so" "bin/tru64/debug/a.o" -lm
ld:
Warning: Unresolved:
b(void)
tru64.compile.c++ bin/tru64/debug/b.o
cxx -x cxx -c -std strict_ansi -nopure_cname -noimplicit_include -timplicit_local -ptr "bin/tru64/debug/cxx_repository" -msg_display_number -msg_disable 186,450,1115 -D__CNAME_OVERLOADS -model ansi -g3 -gall -O0 -inline none -o "bin/tru64/debug/b.o" "b.cpp"
tru64.link.dll bin/tru64/debug/libb.so
cxx -shared -noimplicit_include -g -model ansi -o "bin/tru64/debug/libb.so" "bin/tru64/debug/b.o" -lm
ld:
Warning: Unresolved:
c(void)
tru64.compile.c++ bin/tru64/debug/link-static/c.o
cxx -x cxx -c -std strict_ansi -nopure_cname -noimplicit_include -timplicit_local -ptr "bin/tru64/debug/link-static/cxx_repository" -msg_display_number -msg_disable 186,450,1115 -D__CNAME_OVERLOADS -model ansi -g3 -gall -O0 -inline none -o "bin/tru64/debug/link-static/c.o" "c.cpp"
tru64.archive bin/tru64/debug/link-static/libc.a
rm -f "bin/tru64/debug/link-static/libc.a"
ar rc bin/tru64/debug/link-static/libc.a bin/tru64/debug/link-static/c.o
tru64.compile.c++ bin/tru64/debug/d.o
cxx -x cxx -c -std strict_ansi -nopure_cname -noimplicit_include -timplicit_local -ptr "bin/tru64/debug/cxx_repository" -msg_display_number -msg_disable 186,450,1115 -D__CNAME_OVERLOADS -model ansi -g3 -gall -O0 -inline none -o "bin/tru64/debug/d.o" "d.cpp"
tru64.link.dll bin/tru64/debug/libd.so
cxx -shared -noimplicit_include -g -model ansi -o "bin/tru64/debug/libd.so" "bin/tru64/debug/d.o" -lm
tru64.link bin/tru64/debug/main
cxx -noimplicit_include -g -model ansi -o "bin/tru64/debug/main" "bin/tru64/debug/main.o" "bin/tru64/debug/liba.so" "bin/tru64/debug/libb.so" "bin/tru64/debug/link-static/libc.a" "bin/tru64/debug/libd.so" -lrt -lm
...updated 10 targets...
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk