python3 ./smold.py --debugout "bin/hello-crt.dbg" --smolrt "./rt" --smolld "./ld" -falign-stack -fuse-interp -fifunc-support --verbose --ldflags=-Wl,-Map=bin/hello-crt.map -lSDL2 -lX11 -lm -lc "obj/hello.lto.o" obj/crt1.lto.o "bin/hello-crt"
arch: x86_64
cc: ['/usr/bin/cc', '-m64', '-nostartfiles', '-nostdlib', '-r', '-flinker-output=nolto-rel', '-o', '/tmp/smolinch82g1jp.o', 'obj/hello.lto.o', 'obj/crt1.lto.o']
libs = ['/usr/lib/libSDL2.so', '/usr/lib/libX11.so.6', '/usr/lib/libm.so.6', '/usr/lib/libc.so.6']
File "./smold.py", line 216, in <module>
rv = main()
File "./smold.py", line 188, in main
error("E: the symbol '" + symbol + "' is provided by more than one library: " + str(libs_for_symbol))
File "./smol/shared.py", line 70, in error
traceback.print_stack()
E: the symbol 'printf' is provided by more than one library: ['libc.so.6', 'libc.so.6']