From a combination of Proto-Slavic *sъ polъmъ (“with the half”) > społem and *po polu (“along the half”). Compare Czech pospolu.
pospołu (not comparable)