Boost logo

Boost-Build :

From: Jürgen Hunold (hunold+lists.Boost_at_[hidden])
Date: 2004-05-19 01:53:02


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi !

Sorry for the late mail, but I was busy earning money ;-)

I'm getting mysterious warnings about
"Unused source" from "v2/build/targets.jam:969"

while trying to declare targets which have to be compiled with
<optimization>off.

This can be reproduced using the "railsys"-test case in v2/test/railsys
The output of current CVS state is attached in railsys.out.1.txt
After applying attached railsys.diff (removing the extra rule for
compiling without optimisation) railsys.out.2.txt show the expected
output.

This is broken since the last major changes to V2.
Unfortunately, I had no time to report this earlier and simply had to
comment out the output ;-((

And I had trouble using my Yahoogroups-Account.

Any Ideas ?

Yours,

Jürgen

- --
* Dipl.-Math. Jürgen Hunold ! Institut für Verkehrswesen, Eisenbahnbau
* voice: ++49 511 762-2529 ! und -betrieb, Universität Hannover
* fax : ++49 511 762-3001 ! Appelstrasse 9a, D-30167 Hannover
* hunold_at_[hidden] ! www.ive.uni-hannover.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAqwROljbJ/LLrxrYRAhJzAJwOOjLsN+0CRp09q+tGFqOMjpem9ACggPTu
EMEs6Hu7t0d7Qg+hYV8A06o=
=RMgb
-----END PGP SIGNATURE-----
 --Boundary-00=_ORwqA2xpyJjQ2r1 Content-Type: text/plain;
charset="utf-8";
name="railsys.out.1.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="railsys.out.1.txt"

LINUX
/ive/hunold/packages/boost/tools/build/v2/build/targets.jam:1072: in check-for-unused-sources from module object(typed-target)@1
warning: Unused source { %.no-action-qt.SEARCHED_LIB } in main target liba/test
/ive/hunold/packages/boost/tools/build/v2/build/targets.jam:969: in object(typed-target)@1.generate from module object(typed-target)@1
/ive/hunold/packages/boost/tools/build/v2/build/targets.jam:521: in generate-really from module object(main-target)@6
/ive/hunold/packages/boost/tools/build/v2/build/targets.jam:494: in object(main-target)@6.generate from module object(main-target)@6
/ive/hunold/packages/boost/tools/build/v2/build/targets.jam:705: in targets.generate-from-reference from module targets
/ive/hunold/packages/boost/tools/build/v2/build/targets.jam:921: in generate-dependencies from module object(lib-target-class)@28
/ive/hunold/packages/boost/tools/build/v2/build/targets.jam:951: in object(lib-target-class)@28.generate from module object(lib-target-class)@28
/ive/hunold/packages/boost/tools/build/v2/build/targets.jam:521: in generate-really from module object(main-target)@5
/ive/hunold/packages/boost/tools/build/v2/build/targets.jam:494: in object(main-target)@5.generate from module object(main-target)@5
/ive/hunold/packages/boost/tools/build/v2/build/targets.jam:705: in targets.generate-from-reference from module targets
/ive/hunold/packages/boost/tools/build/v2/build/targets.jam:921: in generate-dependencies from module object(exe-target-class)@1
/ive/hunold/packages/boost/tools/build/v2/build/targets.jam:951: in object(exe-target-class)@1.generate from module object(exe-target-class)@1
/ive/hunold/packages/boost/tools/build/v2/build/targets.jam:521: in generate-really from module object(main-target)@1
/ive/hunold/packages/boost/tools/build/v2/build/targets.jam:494: in object(main-target)@1.generate from module object(main-target)@1
/ive/hunold/packages/boost/tools/build/v2/build/targets.jam:179: in object(project-target)@5.generate from module object(project-target)@5
/ive/hunold/packages/boost/tools/build/v2/build/targets.jam:179: in object(project-target)@6.generate from module object(project-target)@6
/ive/hunold/packages/boost/tools/build/v2/build-system.jam:160: in load from module build-system
/ive/hunold/packages/boost/tools/build/v2/test/../kernel/modules.jam:259: in import from module modules
/ive/hunold/packages/boost/tools/build/v2/test/../kernel/bootstrap.jam:120: in boost-build from module
/ive/hunold/packages/boost/tools/build/v2/test/boost-build.jam:10: in module scope from module
...found 108 targets...
 --Boundary-00=_ORwqA2xpyJjQ2r1 Content-Type: text/plain;
charset="utf-8";
name="railsys.out.2.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="railsys.out.2.txt"

LINUX
...found 106 targets...
...updating 3 targets...
gcc.compile.c++ liba/bin/gcc/release/threading-multi/test_a.o
gcc.link.dll liba/bin/gcc/release/threading-multi/liba.so
gcc.link main/bin/gcc/release/threading-multi/test_a
...updated 3 targets...
 --Boundary-00=_ORwqA2xpyJjQ2r1 Content-Type: text/x-diff;
charset="utf-8";
name="railsys.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="railsys.diff"

Index: tools/build/v2/test/railsys/program/liba/Jamfile
=================================RCS file: /cvsroot/boost/boost/tools/build/v2/test/railsys/program/liba/Jamfile,v
retrieving revision 1.1
diff -u -3 -p -r1.1 Jamfile
--- tools/build/v2/test/railsys/program/liba/Jamfile 12 Mar 2003 13:30:21 -0000 1.1
+++ tools/build/v2/test/railsys/program/liba/Jamfile 19 May 2004 05:56:00 -0000
@@ -9,6 +9,6 @@

project liba ;

-lib liba : test ../include/test_a.h ;
+lib liba : test_a.cpp ../include/test_a.h ;

-obj test : test_a.cpp : <optimization>off ;
\ No newline at end of file
+#obj test : test_a.cpp : <optimization>off ;
 --Boundary-00=_ORwqA2xpyJjQ2r1--


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