IRC logs for #openrisc Sunday, 2016-07-10

--- Log opened Sun Jul 10 00:00:32 2016
-!- hugh_ is now known as hugh00:34
-!- hugh is now known as Guest2444800:56
-!- Netsplit *.net <-> *.split quits: Laksen, Shentino, SMDwrk01:00
-!- Netsplit *.net <-> *.split quits: rah, poke53281, hesham, p1oooop, Finde, clopez, mithro, eliask, _florent_, GenTooMan01:00
-!- hugh is now known as Guest2875903:00
olofkZipCPU: Is there no crti.o at all in /usr/lib ?15:40
ZipCPU|Laptopolofk: Nope.  Nothing beginning with cr in /usr/lib at all.15:56
olofkZipCPU|Laptop: Thanks. I guess it's a redhat-specific thing then16:03
ZipCPU|LaptopAre you running redhat?16:03
olofkNo. Problem is that I can't compile DPI programs with Altera's free modelsim version16:05
olofkBecause it only supports 32-bit, and is hardcoded to look for /usr/lib/crti.o, which is 64-bit on Gentoo, and apparently doesn't exist at all on Ubuntu16:05
ZipCPU|LaptopNo, it exists in Ubunto, it's just in /usr/lib/x86_64-linux-gnu16:06
olofkOn ubuntu it would at least be possible to create a symlink to the 32-bit version, but I don't dare to just change this. Things will most likely break bad16:06
ZipCPU|LaptopWhat about using the linker library path environment variable?16:07
olofkNo use. The full path is hardcoded in the vsim binary16:07
olofkWhich is completely idiotic16:08
olofkI tried to hexedit the file to look for another file instead, but couldn't get to work either :)16:08
ZipCPU|LaptopYes, that is idiotic.  I would've thought it would've checked the linker environment path first, before using the binary?16:08
olofkMany of those closed-source tools put a minimum effort to make it work on one single platform, and that's it16:09
olofkNo way to get support either without paying a lot of money :/16:09
ZipCPU|Laptop:/16:10
olofkI got some ideas from other people to create a replacement for the glibc file open routine, and then use LD_PRELOAD to use that one instead :)16:10
ZipCPU|LaptopGood luck.  I'm going to have to run.  Looking forward to hearing how your poster session goes.16:11
ZipCPU|LaptopActually, what I'm really looking forward to, is meeting the whole group at ORCONF ... but that's still coming up.16:11
olofkZipCPU|Laptop: Looking forward to meet you to. I'll keep you posted about the poster session16:12
olofkNo pun intended :)16:12
ZipCPU|Laptop;)16:12
olofkI tried to temporarily replace crti.o and crtn.o with the 32-bit versions, and I got modelsim starting, so the theory works at least16:15
-!- kaalia is now known as kaaliakahn16:20
--- Log closed Mon Jul 11 00:00:33 2016

Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!