On 04.08.2015 05:34, Kai Wasserbäch wrote: > Dear Mark, > Mark Wielaard wrote on 03.08.2015 21:47: >> >> Could you point me to the source code that does the libelf calls to create >> the ELF file? Maybe reading the source helps to figure out what might go >> wrong. The stacktrace from the test doesn't immediately seem to give a >> direct clue. > > I think all the ELF stuff is encapsulated in > <http://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/drivers/radeon/radeon_elf_util.c> > (and the header for that). The functions defined therein are called from > <http://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/drivers/radeonsi/si_shader.c> > and > <http://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/drivers/radeonsi/si_compute.c> > if I haven't missed something. Michel can probably spot any mistakes in this, > therefore I CCed him on this message.
Note that the ELF object is actually created in LLVM. -- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Mesa and X developer -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org