Check host_arch not target_arch to decide whether -latomic is necessary.
Attach a file by drag & drop or click to upload