Updating build/src/tools/clang-vxworks.jam for SDK

"Kuhl, Brian via Boost-build" <[email protected]> Sat, 21 Mar 2020 18:51:48 +0000
Newsgroups gmane.comp.lib.boost.build
Message-ID <SN6PR11MB3295DC0FBCE9F6DFB362536699F20@SN6PR11MB3295.namprd11.prod.outlook.com>
--===============5887121181691185936==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_SN6PR11MB3295DC0FBCE9F6DFB362536699F20SN6PR11MB3295namp_"

--_000_SN6PR11MB3295DC0FBCE9F6DFB362536699F20SN6PR11MB3295namp_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi Boost Builders,
Wind River has released a VxWorks SDK under a non-commercial license, so Vx=
Works is finally available without purchase to the "Maker" community
https://labs.windriver.com/vxworks-sdk/

I'm working with the engineer responsible for the SDK to enable it's use wi=
th Boost.
I've even been experimenting with Travis and have Yaml script that uses the=
 SDK  partially working.
https://github.com/kuhlenough/system/blob/develop/.travis.yml

However, to proceed any further I need to update clang-vxworks.jam to somet=
hing current.  And I don't understand the output of
build/test/toolset_clang_vxworks.py
or the syntax of
build/test/toolset-mock/src/clang-vxworks-4.0.1.py
that is involved in the failure.

Could someone with a bit more knowledge help me out?  Python is not my stro=
ng point, output at the end of this email

Brian Kuhl
Wind River

failure {{{
"['/yow-build62-lx2/bkuhl/build/test/../src/engine/b2', '-sBOOST_BUILD_PATH=
=3D"/yow-build62-lx2/bkuhl/build/test/.."', '--user-config=3D', '-sPYTHON_C=
MD=3D/usr/bin/python', 'target-os=3Dvxworks', '-j1', 'toolset=3Dclang-vxwor=
ks-4.0.1', '--test-config=3D"/yow-build62-lx2/bkuhl/build/test/test-config.=
jam"']" returned 1
}}}
reason {{{
unexpected status returned by bjam
}}}
changes caused by the last build command {{{
Added files   : ['bin/project-cache.jam', 'bin/config.log', 'bin/clang-vxwo=
rks-4.0.1/debug/target-os-vxworks/main.o', 'bin/clang-vxworks-4.0.1/debug/t=
arget-os-vxworks/lib.o']
Removed files : []
Modified files: []
Touched files : []

}}}
STDOUT {{{
...found 11 targets...
...updating 8 targets...
clang-vxworks.compile.c++ bin/clang-vxworks-4.0.1/debug/target-os-vxworks/l=
ib.o
clang-vxworks.link.dll bin/clang-vxworks-4.0.1/debug/target-os-vxworks/libl=
1.so
['ld', '-o', 'bin/clang-vxworks-4.0.1/debug/target-os-vxworks/libl1.so', 'b=
in/clang-vxworks-4.0.1/debug/target-os-vxworks/lib.o', '--start-group', '--=
end-group']

    /tmp/tmpFZnwzs/src/bin/ld   -o "bin/clang-vxworks-4.0.1/debug/target-os=
-vxworks/libl1.so"  "bin/clang-vxworks-4.0.1/debug/target-os-vxworks/lib.o"=
 --start-group      --end-group

...failed clang-vxworks.link.dll bin/clang-vxworks-4.0.1/debug/target-os-vx=
works/libl1.so...
clang-vxworks.compile.c++ bin/clang-vxworks-4.0.1/debug/target-os-vxworks/m=
ain.o
...skipped <pbin/clang-vxworks-4.0.1/debug/target-os-vxworks>test.vxe for l=
ack of <pbin/clang-vxworks-4.0.1/debug/target-os-vxworks>libl1.so...
...failed updating 1 target...
...skipped 1 target...
...updated 6 targets...

}}}
STDERR {{{

}}}
stacktrace {{{
at line 608 of /yow-build62-lx2/bkuhl/build/test/BoostBuild.py (fail_test)
              from line 497 of /yow-build62-lx2/bkuhl/build/test/BoostBuild=
.py (run_build_system)
              from line 110 of /yow-build62-lx2/bkuhl/build/test/TestToolse=
t.py (test_toolset)
              from line 20 of ./toolset_clang_vxworks.py (<module>)

}}}

--_000_SN6PR11MB3295DC0FBCE9F6DFB362536699F20SN6PR11MB3295namp_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hi Boost Builders,<o:p></o:p></p>
<p class=3D"MsoNormal">Wind River has released a VxWorks SDK under a non-co=
mmercial license, so VxWorks is finally available without purchase to the &=
#8220;Maker&#8221; community &nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal"><a href=3D"https://labs.windriver.com/vxworks-sdk/">=
https://labs.windriver.com/vxworks-sdk/</a><o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I&#8217;m working with the engineer responsible for =
the SDK to enable it&#8217;s use with Boost.<o:p></o:p></p>
<p class=3D"MsoNormal">I&#8217;ve even been experimenting with Travis and h=
ave Yaml script that uses the SDK &nbsp;partially working.<o:p></o:p></p>
<p class=3D"MsoNormal"><a href=3D"https://github.com/kuhlenough/system/blob=
/develop/.travis.yml">https://github.com/kuhlenough/system/blob/develop/.tr=
avis.yml</a><o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">However, to proceed any further I need to update <b>=
clang-vxworks.jam</b> to something current.&nbsp; And I don&#8217;t underst=
and the output of
<o:p></o:p></p>
<p class=3D"MsoNormal">build/test/toolset_clang_vxworks.py <o:p></o:p></p>
<p class=3D"MsoNormal">or the syntax of <o:p></o:p></p>
<p class=3D"MsoNormal">build/test/toolset-mock/src/clang-vxworks-4.0.1.py<o=
:p></o:p></p>
<p class=3D"MsoNormal">that is involved in the failure.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Could someone with a bit more knowledge help me out?=
&nbsp; Python is not my strong point, output at the end of this email
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span style=3D"font-si=
ze:12.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black;mso-fareast-=
language:EN-CA">Brian Kuhl<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span style=3D"font-si=
ze:10.0pt;font-family:&quot;Arial&quot;,sans-serif;mso-fareast-language:EN-=
CA">Wind River</span><span style=3D"font-size:12.0pt;font-family:&quot;Aria=
l&quot;,sans-serif;mso-fareast-language:EN-CA"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">failure {{{<o:p></o:p></p>
<p class=3D"MsoNormal">&quot;['/yow-build62-lx2/bkuhl/build/test/../src/eng=
ine/b2', '-sBOOST_BUILD_PATH=3D&quot;/yow-build62-lx2/bkuhl/build/test/..&q=
uot;', '--user-config=3D', '-sPYTHON_CMD=3D/usr/bin/python', 'target-os=3Dv=
xworks', '-j1', 'toolset=3Dclang-vxworks-4.0.1', '--test-config=3D&quot;/yo=
w-build62-lx2/bkuhl/build/test/test-config.jam&quot;']&quot;
 returned 1<o:p></o:p></p>
<p class=3D"MsoNormal">}}}<o:p></o:p></p>
<p class=3D"MsoNormal">reason {{{<o:p></o:p></p>
<p class=3D"MsoNormal">unexpected status returned by bjam<o:p></o:p></p>
<p class=3D"MsoNormal">}}}<o:p></o:p></p>
<p class=3D"MsoNormal">changes caused by the last build command {{{<o:p></o=
:p></p>
<p class=3D"MsoNormal">Added files&nbsp;&nbsp; : ['bin/project-cache.jam', =
'bin/config.log', 'bin/clang-vxworks-4.0.1/debug/target-os-vxworks/main.o',=
 'bin/clang-vxworks-4.0.1/debug/target-os-vxworks/lib.o']<o:p></o:p></p>
<p class=3D"MsoNormal">Removed files : []<o:p></o:p></p>
<p class=3D"MsoNormal">Modified files: []<o:p></o:p></p>
<p class=3D"MsoNormal">Touched files : []<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">}}}<o:p></o:p></p>
<p class=3D"MsoNormal">STDOUT {{{<o:p></o:p></p>
<p class=3D"MsoNormal">...found 11 targets...<o:p></o:p></p>
<p class=3D"MsoNormal">...updating 8 targets...<o:p></o:p></p>
<p class=3D"MsoNormal">clang-vxworks.compile.c&#43;&#43; bin/clang-vxworks-=
4.0.1/debug/target-os-vxworks/lib.o<o:p></o:p></p>
<p class=3D"MsoNormal">clang-vxworks.link.dll bin/clang-vxworks-4.0.1/debug=
/target-os-vxworks/libl1.so<o:p></o:p></p>
<p class=3D"MsoNormal">['ld', '-o', 'bin/clang-vxworks-4.0.1/debug/target-o=
s-vxworks/libl1.so', 'bin/clang-vxworks-4.0.1/debug/target-os-vxworks/lib.o=
', '--start-group', '--end-group']<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp; /tmp/tmpFZnwzs/src/bin/ld&nbsp;&n=
bsp; -o &quot;bin/clang-vxworks-4.0.1/debug/target-os-vxworks/libl1.so&quot=
;&nbsp; &quot;bin/clang-vxworks-4.0.1/debug/target-os-vxworks/lib.o&quot; -=
-start-group&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --end-group<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">...failed clang-vxworks.link.dll bin/clang-vxworks-4=
.0.1/debug/target-os-vxworks/libl1.so...<o:p></o:p></p>
<p class=3D"MsoNormal">clang-vxworks.compile.c&#43;&#43; bin/clang-vxworks-=
4.0.1/debug/target-os-vxworks/main.o<o:p></o:p></p>
<p class=3D"MsoNormal">...skipped &lt;pbin/clang-vxworks-4.0.1/debug/target=
-os-vxworks&gt;test.vxe for lack of &lt;pbin/clang-vxworks-4.0.1/debug/targ=
et-os-vxworks&gt;libl1.so...<o:p></o:p></p>
<p class=3D"MsoNormal">...failed updating 1 target...<o:p></o:p></p>
<p class=3D"MsoNormal">...skipped 1 target...<o:p></o:p></p>
<p class=3D"MsoNormal">...updated 6 targets...<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">}}}<o:p></o:p></p>
<p class=3D"MsoNormal">STDERR {{{<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">}}}<o:p></o:p></p>
<p class=3D"MsoNormal">stacktrace {{{<o:p></o:p></p>
<p class=3D"MsoNormal">at line 608 of /yow-build62-lx2/bkuhl/build/test/Boo=
stBuild.py (fail_test)<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp; from line 497 of /yow-build62-lx2/bkuhl/build/te=
st/BoostBuild.py (run_build_system)<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp; from line 110 of /yow-build62-lx2/bkuhl/build/te=
st/TestToolset.py (test_toolset)<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp; from line 20 of ./toolset_clang_vxworks.py (&lt;=
module&gt;)<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">}}}<o:p></o:p></p>
</div>
</body>
</html>

--_000_SN6PR11MB3295DC0FBCE9F6DFB362536699F20SN6PR11MB3295namp_--

--===============5887121181691185936==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build

--===============5887121181691185936==--