-
Notifications
You must be signed in to change notification settings - Fork 104
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
lib.o:(*IND*+0x0): multiple definition of `efi_set_variable' #64
Comments
So the most obvious solution is:
I only see the one definition in So whether that's the right solution I guess is up to @vathpela |
Huh, that might actually work. FWIW this appears to be a compiler bug (the multiple definitions are symbol versioning, which should just work), and it goes away with -flto. But I'm totally okay working around it with -z muldefs. I'd rather put it in ccldflags, though. |
This fixes github issue rhboot#64 Signed-off-by: Peter Jones <pjones@redhat.com>
This fixes github issue #64 Signed-off-by: Peter Jones <pjones@redhat.com>
This fixes github issue #64 Signed-off-by: Peter Jones <pjones@redhat.com>
This fixes github issue rhboot#64 Signed-off-by: Peter Jones <pjones@redhat.com>
I'm hitting a weird failure when building using ld.bfd without -flto in CFLAGS. Adding -flto lets it work.
This is with gcc-5.4.0 and binutils-2.26.1.
The text was updated successfully, but these errors were encountered: