[Bug 1664725] Re: Can't link crt0-efi-x86_64.o to create an EFI application
Why does the library file crt0-efi-x86_64.o contain R_X86_64_PC32 relocation records, and not R_X86_64_PC64? ** Changed in: gnu-efi (Ubuntu) Status: New => Invalid ** Converted to question: https://answers.launchpad.net/ubuntu/+source/gnu-efi/+question/473153 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1664725 Title: Can't link crt0-efi-x86_64.o to create an EFI application To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnu-efi/+bug/1664725/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1664725] Re: Can't link crt0-efi-x86_64.o to create an EFI application
$ cat main.cpp #include #include EFI_STATUS EFIAPI efi_main (EFI_HANDLE ImageHandle, EFI_SYSTEM_TABLE *SystemTable) { InitializeLib(ImageHandle, SystemTable); Print(L"Hello, world!\n"); return EFI_SUCCESS; } $ cat Makefile ARCH= $(shell uname -m | sed s,i[3456789]86,ia32,) OBJS= main.o TARGET = hello.efi EFIINC = /usr/include/efi EFIINCS = -I$(EFIINC) -I$(EFIINC)/$(ARCH) -I$(EFIINC)/protocol LIB = /usr/lib EFILIB = /usr/lib EFI_CRT_OBJS= $(EFILIB)/crt0-efi-$(ARCH).o EFI_LDS = $(EFILIB)/elf_$(ARCH)_efi.lds CXXFLAGS = $(EFIINCS) -fno-stack-protector -fpic \ -fshort-wchar -mno-red-zone -Wall ifeq ($(ARCH),x86_64) CFLAGS += -DEFI_FUNCTION_WRAPPER endif LDFLAGS = -nostdlib -znocombreloc -T $(EFI_LDS) -shared \ -Bsymbolic -L $(EFILIB) -L $(LIB) $(EFI_CRT_OBJS) all: $(TARGET) hello.so: $(OBJS) ld $(LDFLAGS) $(OBJS) -o $@ -lefi -lgnuefi %.efi: %.so objcopy -j .text -j .sdata -j .data -j .dynamic \ -j .dynsym -j .rel -j .rela -j .reloc \ --target=efi-app-$(ARCH) $^ $@ clean : rm -rf $(TARGET) $(OBJS) realclean: clean $ make ld -nostdlib -znocombreloc -T /usr/lib/elf_x86_64_efi.lds -shared -Bsymbolic -L /usr/lib -L /usr/lib /usr/lib/crt0-efi-x86_64.o main.o -o hello.so -lefi -lgnuefi ld: /usr/lib/crt0-efi-x86_64.o: relocation R_X86_64_PC32 against undefined symbol `efi_main' can not be used when making a shared object; recompile with -fPIC ld: final link failed: Bad value Makefile:25: recipe for target 'hello.so' failed make: *** [hello.so] Error 1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1664725 Title: Can't link crt0-efi-x86_64.o to create an EFI application To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnu-efi/+bug/1664725/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1664725] [NEW] Can't link crt0-efi-x86_64.o to create an EFI application
Public bug reported: $ uname -a Linux x6 4.4.0-59-generic #80-Ubuntu SMP Fri Jan 6 17:47:47 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux $ lsb_release -rd Description:Ubuntu 16.04.2 LTS Release:16.04 $ apt-cache policy gnu-efi gnu-efi: Installed: 3.0.2-1ubuntu1 Candidate: 3.0.2-1ubuntu1 Version table: *** 3.0.2-1ubuntu1 500 500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages 100 /var/lib/dpkg/status $ make ld -nostdlib -znocombreloc -T /usr/lib/elf_x86_64_efi.lds -shared -Bsymbolic -L /usr/lib -L /usr/lib /usr/lib/crt0-efi-x86_64.o main.o -o hello.so -lefi -lgnuefi ld: /usr/lib/crt0-efi-x86_64.o: relocation R_X86_64_PC32 against undefined symbol `efi_main' can not be used when making a shared object; recompile with -fPIC I expected the link to succeed, but it fails with the above error. Sure enough, the object code has PC32 relocation records: $ readelf -r /usr/lib/crt0-efi-x86_64.o Relocation section '.rela.text' at offset 0x238 contains 4 entries: Offset Info Type Sym. ValueSym. Name + Addend 0009 00090002 R_X86_64_PC32 ImageBase - 4 0010 000a0002 R_X86_64_PC32 _DYNAMIC - 4 0019 000b0002 R_X86_64_PC32 _relocate - 4 0020 000c0002 R_X86_64_PC32 efi_main - 4 Relocation section '.rela.reloc' at offset 0x298 contains 1 entries: Offset Info Type Sym. ValueSym. Name + Addend 00020002 R_X86_64_PC32 .data + 0 ** Affects: gnu-efi (Ubuntu) Importance: Undecided Status: New ** Package changed: sbsigntool (Ubuntu) => gnu-efi (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1664725 Title: Can't link crt0-efi-x86_64.o to create an EFI application To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnu-efi/+bug/1664725/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 887821] Re: "Show copy dialog" right click launcher entry doesn't work (on nautilus copy)
I too see the same thing on Ubuntu 16.04. Using the Show Copy Dialog doesn't help because it just brings up another instance of Nautilus, not the copy dialog. Alt-Tab cycles through that, not the copy dialog. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/887821 Title: "Show copy dialog" right click launcher entry doesn't work (on nautilus copy) To manage notifications about this bug go to: https://bugs.launchpad.net/unity/+bug/887821/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507718] Re: Ubuntu Core Flexc++ and Bisonc++ packages for armhf and arm64
This was user error (me). The packages are in universe, which I had not enabled in sources.lst. Thanks for the pointer to the package site. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507718 Title: Ubuntu Core Flexc++ and Bisonc++ packages for armhf and arm64 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bisonc++/+bug/1507718/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507718] [NEW] Ubuntu Core Flexc++ and Bisonc++ packages for armhf and arm64
Public bug reported: Dear Sir/Madam: In the question area, it was suggested that I submit a bug. flexc++ 2.01 and bisonc++ 4.09 are present in Vivid for amd64, but as far as I can tell, not in Vivid Ubuntu Core for armhf nor arm64. Is there are timeline for inclusion? Thank you, Donald Dade ** Affects: flexc++ (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507718 Title: Ubuntu Core Flexc++ and Bisonc++ packages for armhf and arm64 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/flexc++/+bug/1507718/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1502381] Re: xsane-0.998 and canon lide 210 crops page image
Can you please explain what this does? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1502381 Title: xsane-0.998 and canon lide 210 crops page image To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1502381/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1502381] [NEW] xsane-0.998 and canon lide 210 crops page image
Public bug reported: Description:Ubuntu 15.04 Release:15.04 xsane: Installed: 0.998-6ubuntu1 Candidate: 0.998-6ubuntu1 Version table: *** 0.998-6ubuntu1 0 500 http://us.archive.ubuntu.com/ubuntu/ vivid/universe amd64 Packages 100 /var/lib/dpkg/status Expected: When setting 600 dpi; greyscale; save as jpeg; the scanned image is saved. Actual: At these settings, the saved image is missing the bottom inch or so. It does not happen at 300dpi, nor with a color image; to my knowledge the only combination that exhibits this problem is 600dpi/greyscale. ** Affects: sane-backends (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1502381 Title: xsane-0.998 and canon lide 210 crops page image To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1502381/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs