nice catch roland -- this may also fix some spurious bootstrap failures
I've seen with other compilers
since Mamfiles are generated by nmake the permanent place for the fix is in
src/cmd/nmake/Makerules.mk
diff attached

once you rebuild nmake you can test it by generating new tarballs

package only write base source version=YYYY-MM-DD INIT ast-ksh

the tarballs will be in $PACKAGEROOT/lib/package/tgz


On Thu, Oct 17, 2013 at 8:05 PM, Roland Mainz <roland.ma...@nrubsig.org>wrote:

> Hi!
>
> ----
>
> Attached (as "astksh20131010_pathcc_fix001.diff.txt") is a patch which
> fixes the build of ast-ksh.2013-10-10 on SuSE 12.3/AMD64/64bit to work
> with the PathScale C compiler (available from
> http://www.pathscale.com/ekopath-compiler-suite ; note that the
> download link is currently broken and returns something from 2011...
> but the link can easily hacked to return a newer version like
>
> http://c591116.r16.cf2.rackcdn.com/ekopath/nightly/Linux/ekopath-2013-10-11-installer.run
> ).
>
> The patch is neccesary since pathscale's C compiler produces more
> verbose erro r messages which broke Mamfile library detection which
> uses stuff like $ var=$(cc <options> 2>&1) ; echo '' $var # to pass
> the compiler's output around. The fix is to replace $var with "$var"
> ...
>
> ----
>
> Bye,
> Roland
>
> --
>   __ .  . __
>  (o.\ \/ /.o) roland.ma...@nrubsig.org
>   \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
>   /O /==\ O\  TEL +49 641 3992797
>  (;O/ \/ \O;)
>

Attachment: t
Description: Binary data

_______________________________________________
ast-developers mailing list
ast-developers@lists.research.att.com
http://lists.research.att.com/mailman/listinfo/ast-developers

Reply via email to