Re: test/D/MixedDAndC/sconstest-dmd.py failing due to picking up wrong CC for linking

Russel Winder <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.devel
Message-ID <[email protected]>
On Fri, 2017-04-07 at 15:35 -0400, Bill Deegan wrote:
> Russel,
> 
> O.k. so once I sorted the paths for working with macports on osx all
> D
> tests pass except the above.
> 
> It yields a bunch of these:
> > ld: warning: pointer not aligned at address 0x100050CD3
> 
> (_D53TypeInfo_S3std5array17__T8AppenderTAyaZ8Appender4Data6__initZ +
> 24
> from proj.o)
> > ld: warning: pointer not aligned at address 0x100050CE3
> 
> (_D53TypeInfo_S3std5array17__T8AppenderTAyaZ8Appender4Data6__initZ +
> 40
> from proj.o)
> 
> It's picking up cc from /usr/bin/gcc instead of /opt/local/bin/gcc-
> mp-4.7
> which is also installed by macports.

I am assuming /usr/bin/gcc is really Clang whilst /opt/local/bin/gcc-
mp-4.7 is actually GCC. However I still do not, just yet, understand
the message.

I need to be able to reproduce this locally to investigate. 

> Thoughts on best way to modify tests to work?

I feel amending tests just to work is not a good way to go ;-) Finding
out why the test is not working is a much better idea. :-)

> I notice that your not checking stderr for dmd on debian due to some
> error
> messages.

I'll have to look.

-- 
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, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEETwDs1X+Beyaiaer41L3V0s7Np7gFAljo4AUACgkQ1L3V0s7N
p7jpKg//ajM8ZcYpMlH2NSpDziDHm/KtUVKHX5kbHZpS0XPyk/Yc00fW90D3FqPU
/uMhGIb5oYyTCR7j+foLBgIEpeCJB7mMZN4NNU5oCFATY9UrYIqRBhOGgqUXUMYR
zp7+3H2Pzfe0Zde83+ufD+Oa6Zt7NEw9mmVKWvGBHcrwdMaFwzdja8DU9FI3QVtv
GnRUyCt2vDfF6FWfhv6aLHVrC7jNmzsaD2tNPFUTlO41okQUNsIf97+FPMvQsr4A
Dtits2IYKBU9sH2VThQlw7QAg+eIoxoYkT4RME8MXlGmgSD8wa7lIbayDK9IxriO
KNyHCI1qGKWFreYb10XZO5+ZWH6EClamaRCbzyTWODF1iMLU+Yb75dB61kmjTnED
uA5l1ITypvmg+/r4wpjcSHM6MSLUgUxaPRbk3T18vV+GF1wue5XAh3MTXq5Ca2IG
37is57Nge6i5rmE6Veg6ijqmhqY8uej/B8DRlZ5LFDBZDhmhspUUvV2+72bO+jy7
CGUh6S4GsRy8I9JTnLSNTe4zswdh0s0iGLKfzZiO1uLd4Ebh09YaTMEE4eCg9aZu
/RBU8tUQG7W0ZboaGU+pM8b07ndu6yJMiivQShBZlJe1c78imMf6End/JmiToWIU
iY/lpU0IFtmz9iXBFYnyskLteXeMivUZ7eaGkUGP3L1ygXoLORY=
=boq2
-----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.