I am not familiar with xgboost, however from the error it seems obvious that some ASM code is not getting generated properly:
expecting string instruction after `rep’
The REP keyword prefix in ASM means “repeat this instruction a number of times (defined by the C register)”.
However it could also be a problem with your toolchain. Actually, if the code that generates this error is not relying on inline ASM, it would seem likely that this is a toolchain error.
Some versions of binutils consider
rep ret to be invalid, while it is in fact a valid x86-64 instruction.
Try upgrading to binutils 18.104.22.168.1
Read more here: Source link