June 9, 2006

GMP 4.2.1 on Solaris 10/sparcv9, 64-bit

With the loaner Sun T2000, we’re trying to build code that does serious math, using the C++ STL and the magnificent GNU GMP library. I finally got to the point of getting a clean build and link on Solaris, only to get this:

  ld.so.1: radical: fatal: /usr/local/lib/libstdc++.so.6: wrong ELF class: ELFCLASS32

Much googling led to the email thread. The fix?

  typeset LD_LIBRARY_PATH_64=/usr/local/lib/sparcv9:/usr/local/lib 

Now we’ll see how fast this machine is compared to my G4 laptop. Lots of integer math, lots of data movement, should be well suited to the Niagara architecture:

Niagara signals the first volley in a new way of thinking about servers, or at least a class of servers. The whole idea of Disruptive Threads, as Marc Tremblay calls, it is quite real, and it will take a while for many people to understand, much less use. Threads, threads and more threads, that is what this chip lives for.


Coding News


Previous post
Marine deck chronometers Drawing of Harrison H4 A superb article on ‘marine deck chronometers,’ with some stunning photography and (really, seriously) fascinating history.
Next post
Why we don’t own a house in San Diego House prices The article has been thoroughly debunked, but the graph shows the problem. Quite something, eh? More good info at piggington.com.