Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The scanelf-removal commit (405d8eb, #9) borks #10

Closed
PoroCYon opened this issue Aug 24, 2020 · 0 comments · Fixed by #11
Closed

The scanelf-removal commit (405d8eb, #9) borks #10

PoroCYon opened this issue Aug 24, 2020 · 0 comments · Fixed by #11
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@PoroCYon
Copy link
Owner

PoroCYon commented Aug 24, 2020

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']

See 4601003 , cf. #4 and #9

EDIT: this is present in 405d8eb as well, rolling back master for now

@PoroCYon PoroCYon added help wanted Extra attention is needed bug Something isn't working labels Aug 24, 2020
@PoroCYon PoroCYon assigned PoroCYon and unassigned PoroCYon Aug 24, 2020
@PoroCYon PoroCYon changed the title Merging master and crc32c borks The scanelf-removal commit (#9) borks Aug 24, 2020
@PoroCYon PoroCYon changed the title The scanelf-removal commit (#9) borks The scanelf-removal commit (405d8eb, #9) borks Aug 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant