Etymology of "sh**hole" [closed]

Solution 1:

The OED’s earliest citation for shithole is from the seventeenth century, and it’s given as ‘coarse slang’ for ‘the rectum or anus’. The earliest citation for shithole meaning ‘a toilet; a latrine’ is only from 1947.

Solution 2:

Why wouldn't it be both? It seems like an obvious production from two easily-combined words, and the meaning, if it even matters, would be obvious in context.

Edit: The Corpus of Contemporary American English shows 73 uses of it, every time referring to a place, never once referring to an anus. So it would seem that the more common use of the word, and probably the original coining, refer to the hole-in-the-ground sense.