gemma.cpp icon indicating copy to clipboard operation
gemma.cpp copied to clipboard

compile problems

Open bigbigzxl opened this issue 1 year ago • 4 comments

compiled in linux: Linux x86_64 x86_64 x86_64 GNU/Linux image

bigbigzxl avatar Feb 26 '24 08:02 bigbigzxl

Hi, it looks like your compiler would require an update, it is too old. I'm curious which version it is?

jan-wassenberg avatar Feb 26 '24 08:02 jan-wassenberg

hi, jan, ths for your replay. my compiler version is : gcc (GCC) 12.0.1 20220220 (experimental)

bigbigzxl avatar Feb 26 '24 08:02 bigbigzxl

Thanks, the compiler is recent enough. It seems that binutils (gas) is too old. Version 2.3 from 2018 would be required.

jan-wassenberg avatar Feb 26 '24 09:02 jan-wassenberg

yes, mine binutils Version is 2.28; i will try to upgrate first, ths

bigbigzxl avatar Feb 26 '24 09:02 bigbigzxl

same problem, after upgrade binutils, compile ok

esrrhs avatar Feb 28 '24 07:02 esrrhs

@esrrhs thanks for reporting. Will close for now but @bigbigzxl if upgrading binutils doesn't resolve this for you, can post here + reopen.

austinvhuang avatar Feb 28 '24 22:02 austinvhuang