Amid a global slump in personal computer sales, Hewlett-Packard has relinquished its position as the world's biggest PC seller for the first time in five years, the research firm Gartner reported Wednesday, while International Data Corporation had the Palo Alto technology giant barely clinging to the top spot.