Yes, it is a very common crap indeed. I had a lot of pain porting some Linux filesystems to Sparc, for example (had to give up back then, that code was beyond any hope).
Not to mention the endianess issues, an often sight in the crappy networking code.