D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 12975 - posix.mak should use isainfo on Solaris systems to determine model
Summary: posix.mak should use isainfo on Solaris systems to determine model
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: druntime (show other issues)
Version: D2
Hardware: x86 Solaris
: P1 minor
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks: 8859
  Show dependency treegraph
 
Reported: 2014-06-24 00:22 UTC by Jason King
Modified: 2015-06-09 05:14 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Jason King 2014-06-24 00:22:01 UTC
uname -m doesn't return useful information on Solarish systems (for example, on this 64-bit vm, it returns 'i86pc' which is also the same value if it were a 32-bit vm).

The isainfo command will return amd64/i386 (for x86, sparc/sparcv9 if SPARC is ever supported) depending on the host platform.
Comment 1 github-bugzilla 2014-06-28 00:05:04 UTC
Commit pushed to master at https://github.com/D-Programming-Language/druntime

https://github.com/D-Programming-Language/druntime/commit/aa5e8e4c8c9f010680fd3b543f62df3f0af86fc2
Merge pull request #850 from jasonbking/isainfo

Fix issue 12975 - Should use isainfo on Solaris systems to determine model