Re: Weird…

Russel Winder <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.devel
Message-ID <[email protected]>
On Fri, 2016-01-15 at 10:01 -0800, Bill Deegan wrote:
> Strange..
> 
> Here's the comment from blame.
> r2061 | stevenknight | 2007-06-26 23:53:49 -0500 (Tue, 26 Jun 2007) |
> 4
> lines Split test/AS/AS.py into sub-tests for the live assemblers it
> tests.
> Only test nasm for the known configuration of version 0.98* on a
> 32-bit x86 system.
> 
> Can you try removing that version check and see if it passes?

Edited out the version check…

…and the test fails to run as I am on x86_64.

Edited out the architecture check and the test fails:

	Lots of compiler warnings of horrible code.
	nasm appears to generate x86 code, so link fails.

Edited the eee Environment to add CCFLAGS='-m32' and LINKFLAGS='-m32':

	Test passes.

I'd send in a pull request except that I bet hardwiring the CCFLAGS and
LINKFLAGS like this will cause many a test fail on non-GCC platforms.

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:[email protected]
41 Buckmaster Road    m: +44 7770 465 077   xmpp: [email protected]
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

_______________________________________________
Scons-dev mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/scons-dev
signature.asc (application/pgp-signature, 181 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEABECAAYFAlaZPhcACgkQ+ooS3F10Be99FgCglGXcv+oiDPonY8nDqp7bNuwA
vkIAn1oqVn3ND7sHEg+5m50sZlt6pl87
=Wba3
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.