I would not use HCl to transform a primary alcohol into chloride unless the alcohol is very simple. The problem is that very acidic conditions are needed which could destroy the starting material. Conditions need to be particularly acidic when the alcohol is primary (although this has exceptions, such as when the primary alcohol is a benzylic one with an electron-rich aromatic ring)
Therefore, it is preferable to use SOCl2, which is also not the mildest reagent in the world. There are other alternatives in milder conditions.
The problem is that without knowing what the primary starting alcohol is, it is difficult to calibrate the reagents that this alcohol would withstand without decomposing.