-
Notifications
You must be signed in to change notification settings - Fork 200
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
libcef.so: ELF load command alignment not page-aligned #366
Comments
The message seems accurate, |
My system is Linux arm64, and I have configured IDEA-IC with JBR-JCEF. After installing a JCEF-supported plugin, the plugin reports an error when starting IDEA |
Can you give instructions on how to reproduce the problem? The name and version of the plugin, etc. |
Here is what I tested on an Arm64 system with a 64K page size. It seems all shared libraries have a 64K page size, and IntelliJ IDEA works as expected, though I didn't test all features. Since I don't have an Arm64 system, I tested on an AWS EC2 Arm64 instance. Here is what I did:
After restarting:
Restart sshd:
As you can see, all shared libraries have a 64K page size.
At least opening a file works as expected. However, previewing an HTML file in IntelliJ IDEA doesn't work as expected. I'm not sure if it is an issue with JCEF or just an issue with my environment. I hope this helps. |
I'm encountering the following error when trying to load libcef.so:
"libcef.so: ELF load command alignment not page-aligned"
getconf PAGESIZE
65536
readelf -l /myl/jbr_jcef-17.0.6-aarch64-b469/lib/libcef.so
Elf file type is DYN (Shared object file)
Entry point 0x0
There are 11 program headers, starting at offset 64
Program Headers:
Type Offset VirtAddr PhysAddr
FileSiz MemSiz Flags Align
PHDR 0x0000000000000040 0x0000000000000040 0x0000000000000040
0x0000000000000268 0x0000000000000268 R 0x8
LOAD 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000001e83d44 0x0000000001e83d44 R 0x1000
LOAD 0x0000000001e83d80 0x0000000001e84d80 0x0000000001e84d80
0x0000000007cd2540 0x0000000007cd2540 R E 0x1000
LOAD 0x0000000009b562c0 0x0000000009b582c0 0x0000000009b582c0
0x000000000077cd70 0x000000000077cd70 RW 0x1000
LOAD 0x000000000a2d3030 0x000000000a2d6030 0x000000000a2d6030
0x000000000009a620 0x00000000002b3e01 RW 0x1000
TLS 0x0000000009b562c0 0x0000000009b582c0 0x0000000009b582c0
0x0000000000000038 0x0000000000000160 R 0x8
DYNAMIC 0x000000000a2a1720 0x000000000a2a3720 0x000000000a2a3720
0x00000000000003a0 0x00000000000003a0 RW 0x8
GNU_RELRO 0x0000000009b562c0 0x0000000009b582c0 0x0000000009b582c0
0x000000000077dd40 0x000000000077dd40 R 0x1
GNU_EH_FRAME 0x0000000001e7b5dc 0x0000000001e7b5dc 0x0000000001e7b5dc
0x0000000000001874 0x0000000000001874 R 0x4
GNU_STACK 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 RW 0x0
NOTE 0x00000000000002a8 0x00000000000002a8 0x00000000000002a8
0x0000000000000044 0x0000000000000044 R 0x4
Section to Segment mapping:
Segment Sections...
00
01 .note.crashpad.info .note.gnu.build-id .dynsym .gnu.version .gnu.version_r .gnu.hash .dynstr .rela.dyn .rela.plt .rodata .gcc_except_table .eh_frame_hdr .eh_frame
02 .text .init .fini malloc_hook .plt
03 .tdata .fini_array .init_array .data.rel.ro .dynamic .got .got.plt
04 .tm_clone_table .data .bss
05 .tdata .tbss
06 .dynamic
07 .tdata .fini_array .init_array .data.rel.ro .dynamic .got .got.plt
08 .eh_frame_hdr
09
10 .note.crashpad.info .note.gnu.build-id
The text was updated successfully, but these errors were encountered: