I'm in the process of upgrading from Zeus to Dunfell. For my MIPS platform, the library ABI version has changed from 0 to 5. I have some backward compatibility issues that require generating at least some libraries with ABI version 0. I've tried using -fabi_version=0 in my CCFLAGS, but that seems to be ignored. Can someone tell me how to set the ABI version back to 0 in my image and SDK?
I'm building for a custom MIPs platform running on a Cavium Octeon II in 32-bit mode. TUNE_FEATURES = "o32 bigendian fpu-hard octeon2" A current Dunfell shared library ELF Header looks like this: ELF Header: Magic: 7f 45 4c 46 01 02 01 00 05 00 00 00 00 00 00 00 Class: ELF32 Data: 2's complement, big endian Version: 1 (current) OS/ABI: UNIX - System V ABI Version: 5 Type: DYN (Shared object file) Machine: MIPS R3000 Version: 0x1 Entry point address: 0x1630 Start of program headers: 52 (bytes into file) Start of section headers: 22488 (bytes into file) Flags: 0x808d1107, noreorder, pic, cpic, 32bitmode, octeon2, o32, mips64r2 The same library built with Zeus looks like this. ELF Header: Magic: 7f 45 4c 46 01 02 01 00 00 00 00 00 00 00 00 00 Class: ELF32 Data: 2's complement, big endian Version: 1 (current) OS/ABI: UNIX - System V ABI Version: 0 Type: DYN (Shared object file) Machine: MIPS R3000 Version: 0x1 Entry point address: 0x1500 Start of program headers: 52 (bytes into file) Start of section headers: 22340 (bytes into file) Flags: 0x808d1107, noreorder, pic, cpic, 32bitmode, octeon2, o32, mips64r2 The ABI Version being the issue. Thanks.
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#49851): https://lists.yoctoproject.org/g/yocto/message/49851 Mute This Topic: https://lists.yoctoproject.org/mt/75276174/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
