Eight in court on gun charges