Hi all, Does anyone remember why we have our own libelf in ext? Gabe, you were recently changing the elf loader, do you have any idea?
I'm having a huge frustration trying to get gem5 to work with openSUSE. For some reason, gem5 is picking up the libelf.so file in /usr/lib instead of the libelf.a in build/libelf/. This is causing a segfault in ElfObject::determineOpSys() because the Elf_Data returned by libelf.so is in a different format than what our "special" libelf expects. If I force gem5 to use libelf.a (by manually linking) things work fine. I've also double checked in gdb that all of the elf calls are going to the libelf.so in /usr. I guess I have two questions: 1. Why do we ship libelf and not use the generic one? 2. Why would the linker prefer the shared lib in /lib instead of the static lib in build/libelf? Does anyone know how to convince the linker to grab the right one? Thanks, Jason
_______________________________________________ gem5-dev mailing list -- [email protected] To unsubscribe send an email to [email protected] %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
