Boost logo

Boost-Build :

From: Juergen Hunold (juergen.hunold_at_[hidden])
Date: 2007-12-19 09:36:47


Hi !

Sorry for the direct ping, but after 9 days:

On Montag 10 Dezember 2007, Juergen Hunold wrote:
> Hi !
>
> Sorry for the late, but hopefully not too late, bug report ;-))
>
> Revision 40008 of tools/common.jam broke "rc" support on linux.
> Previously, Boost.Build used to do: (gcc.jam lines 193 ff)
>
> #~ If we can't find an RC compiler we fallback to a null RC compiler
> #~ that creates empty object files. This allows the same Jamfiles
> #~ to work across the board. The null RC uses the assembler to
> create #~ the empty objects, so configure that.
>
> Revision 40008 broke this behaviour because there seems to be no test
> for this :-((
> I've got a test case attached which will bail out on linux. (It won't
> compile on NT because the rc is empty :-)) See error.txt in archive
> for details.
>
> I'd like to revert 40008 if there is no better solution.

Any ideas yet ? Or should I open a trac ticket ?
 
I've attached the output of running "bjam --debug-configuration" on 1.34
and 1.35 (branches/release).
The relevant diff is:

 warning: toolset gcc initialization: can't find tool windres
 warning: initialized from
-notice: using rc compiler :: <toolset>gcc-4.1 :: as
+notice: using rc compiler :: <toolset>gcc-4.1 :: windres
+notice: will use '/home/hunold/bin/gcc-4.2.sh' for gcc, condition
<toolset>gcc-4.2

So that 1.34 clearly uses "as" and 1.35 tries to use "windres".
 A clear regression to me.

Yours,

Jürgen

-- 
* Dipl.-Math. Jürgen Hunold       ! Ingenieurgesellschaft für 
* voice: ++49 511 262926 57       ! Verkehrs- und Eisenbahnwesen mbH  
* fax  : ++49 511 262926 99       ! Lister Straße 15
* juergen.hunold_at_[hidden]        ! www.ivembh.de
* 
* Geschäftsführer:                ! Sitz des Unternehmens: Hannover
* Prof. Dr.-Ing. Thomas Siefer    ! Amtsgericht Hannover, HRB 56965
* PD Dr.-Ing. Alfons Radtke       !





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