[Scons-dev] D tool test fail
Russel Winder
russel at winder.org.uk
Mon Feb 23 02:30:56 EST 2015
On Sun, 2015-02-22 at 16:39 -0800, Bill Deegan wrote:
> Russel,
>
> I have a 32 bit ubuntu VM I've been using to work on these tests.
> On my 32 bit VM dmd does have 64 bit support built in, so adding -m64
> doesn't fail and the test fails.
> I did have to add the following:
> environment = Environment(
> CFLAGS=['-m64'],
> DLINKFLAGS=['-m64'],
> DFLAGS=['-m64', '-O'])
>
> Or I get link failures due to mixing 32 and 64 bit objects together and/or
> linking issues.
>
> Seems like the best way to implement this would be something like
> TARGET_ARCH and let the tools figure out the right flags. That may come
> with revamped tools..
>
> I have a strong preference to remove the -m64 altogether from these tests
> as likely any issue you had was due to some issue with the D compiler on
> the platform in question.
> I'm going to check such change and merge.
>
> If we run into issues in the future where we can reconstruct the
> requirement for -m64 then we should add another text.
Let me cogitate on this a bit, and refer back to the original reporter.
But yes I am minded to remove this if possible given the problems.
More work is needed on the D tooling tests anyway…
--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder at ekiga.net
41 Buckmaster Road m: +44 7770 465 077 xmpp: russel at winder.org.uk
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://pairlist2.pair.net/pipermail/scons-dev/attachments/20150223/d800ae4a/attachment.pgp>
More information about the Scons-dev
mailing list