--- Log opened Sun Jul 10 00:00:32 2016 | ||
-!- hugh_ is now known as hugh | 00:34 | |
-!- hugh is now known as Guest24448 | 00:56 | |
-!- Netsplit *.net <-> *.split quits: Laksen, Shentino, SMDwrk | 01:00 | |
-!- Netsplit *.net <-> *.split quits: rah, poke53281, hesham, p1oooop, Finde, clopez, mithro, eliask, _florent_, GenTooMan | 01:00 | |
-!- hugh is now known as Guest28759 | 03:00 | |
olofk | ZipCPU: Is there no crti.o at all in /usr/lib ? | 15:40 |
---|---|---|
ZipCPU|Laptop | olofk: Nope. Nothing beginning with cr in /usr/lib at all. | 15:56 |
olofk | ZipCPU|Laptop: Thanks. I guess it's a redhat-specific thing then | 16:03 |
ZipCPU|Laptop | Are you running redhat? | 16:03 |
olofk | No. Problem is that I can't compile DPI programs with Altera's free modelsim version | 16:05 |
olofk | Because 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 Ubuntu | 16:05 |
ZipCPU|Laptop | No, it exists in Ubunto, it's just in /usr/lib/x86_64-linux-gnu | 16:06 |
olofk | On 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 bad | 16:06 |
ZipCPU|Laptop | What about using the linker library path environment variable? | 16:07 |
olofk | No use. The full path is hardcoded in the vsim binary | 16:07 |
olofk | Which is completely idiotic | 16:08 |
olofk | I tried to hexedit the file to look for another file instead, but couldn't get to work either :) | 16:08 |
ZipCPU|Laptop | Yes, that is idiotic. I would've thought it would've checked the linker environment path first, before using the binary? | 16:08 |
olofk | Many of those closed-source tools put a minimum effort to make it work on one single platform, and that's it | 16:09 |
olofk | No way to get support either without paying a lot of money :/ | 16:09 |
ZipCPU|Laptop | :/ | 16:10 |
olofk | I 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|Laptop | Good luck. I'm going to have to run. Looking forward to hearing how your poster session goes. | 16:11 |
ZipCPU|Laptop | Actually, what I'm really looking forward to, is meeting the whole group at ORCONF ... but that's still coming up. | 16:11 |
olofk | ZipCPU|Laptop: Looking forward to meet you to. I'll keep you posted about the poster session | 16:12 |
olofk | No pun intended :) | 16:12 |
ZipCPU|Laptop | ;) | 16:12 |
olofk | I tried to temporarily replace crti.o and crtn.o with the 32-bit versions, and I got modelsim starting, so the theory works at least | 16:15 |
-!- kaalia is now known as kaaliakahn | 16: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!