Canadian software maker BlackBerry Ltd reported a first-quarter net loss of $42 million, with its revenue declining to $144 million from $373 million a year ago.