Thanks Rod. My mistake was that I was not passing xarch=amd64 to the compilation of the binary "test1". After doing this, that error didnt reproduce.
Just a further question, how do we know that CC has invoked the 64-bit version of the linker? This message posted from opensolaris.org
