Tati Chevron wrote: > This assembled and linked without problems on 5.7-release, but now when > I try it on 5.8-release, I get an error: > > $ as -o charset.o charset.S > $ ld -Bstatic charset.o > ld: charset.o: relocation R_X86_64_32S against `a local symbol' can not > be used when making a shared object; recompile with -fPIC > charset.o: could not read symbols: Bad value
Try it with ld -Bstatic -nopie charset.o