Boost logo

Boost-Build :

Subject: Re: [Boost-build] Unknown options passed to Intel Linux compiler
From: Vladimir Prus (ghost_at_[hidden])
Date: 2010-01-06 15:05:33


On Wednesday 23 December 2009 23:25:56 K. Noel Belcourt wrote:

> Hi,
>
> It appears that both -nologo and -Winvalid-pch are being passed to
> the intel 11.1.059 compiler on Linux. These options are not
> supported under Linux (or under Darwin).
>
> icpc: command line warning #10006: ignoring unknown option '-nologo'
> icpc: command line warning #10156: ignoring option '-W'; no argument
> required
>
> Below is a representative compile line showing the options. Note
> that the -use-pch option is also invalid though there is an icpc
> Linux option called -pch-use, perhaps that's what someone intended?
>
> Can someone please look into where these are coming from?
>
> -- Noel
>
>
> intel-linux.compile.c++ /scratch/boost/results/boost/bin.v2/libs/math/
> test/test_roots.test/intel-linux-11.1/debug/test_roots.o
>
> "/home/sntools/extras/compilers/intel/Compiler/11.1/059/bin/
> intel64/icpc" -c -xc++ -O0 -g -w1 -inline-level=0 -fPIC -nologo -
> Winvalid-pch -DBOOST_ALL_NO_LIB=1 -DBOOST_BUILD_PCH_ENABLED -
> DBOOST_REGEX_DYN_LINK=1 -DBOOST_TEST_NO_AUTO_LINK=1 -
> DBOOST_UBLAS_UNSUPPORTED_COMPILER=0 -I".." -I"../libs/math/test" -
> use-pch"/scratch/boost/results/boost/bin.v2/libs/math/test/intel-
> linux-11.1/debug/pch.hpp.pchi" -c -o "/scratch/boost/results/boost/
> bin.v2/libs/math/test/test_roots.test/intel-linux-11.1/debug/
> test_roots.o" "../libs/math/test/test_roots.cpp"
>
> icpc: command line warning #10006: ignoring unknown option '-nologo'
> icpc: command line warning #10156: ignoring option '-W'; no argument
> required

Noel,

I am completely confused. Do you think you can add

        ECHO "this is intel-win" ;

to the top of tools/build/v2/tools/intel-win.jam and also

        ECHO "this is msvc" ;

to the top of tools/build/v2/tools/msvc.jam and then run
tests manually, e.g. going to status and running the same bjam
command as run.py reports as running? Then, tell me if either
of those ECHO are run?

- Volodya


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