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

Mold does not support -b binary #1179

Open
Cerberios opened this issue Jan 27, 2024 · 0 comments
Open

Mold does not support -b binary #1179

Cerberios opened this issue Jan 27, 2024 · 0 comments

Comments

@Cerberios
Copy link

Hello!
I am not a programmer, but unable to compile with Mold =x11-drivers/nvidia-drivers-390.157::gentoo
The error occur:

cd image_data/; mold -m elf_x86_64 -O2 --as-needed --hash-style=gnu --sort-common -z relro -r -z noexecstack --format=binary antialias.png -o /var/tmp/portage/x11-drivers/nvidia-drivers-390.157/work/nvidia-settings/src/out/antialias.png.o

mold: fatal: mold does not support -b binary. If you want to convert a binary file into an object file, use objcopy -I binary -O default <input-file> <output-file.o> instead.

make[1]: *** [Makefile:337: out/antialias.png.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/var/tmp/portage/x11-drivers/nvidia-drivers-390.157/work/nvidia-settings/src'
make: *** [Makefile:23: all] Error 2
make: Leaving directory '/var/tmp/portage/x11-drivers/nvidia-drivers-390.157/work/nvidia-settings'

With ld.bfd this going OK
Please, look over, may be it help to make Mold better

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant