Re: Can't install phix
- Posted by irv Nov 08, 2022
- 5986 views
Trying to run ./p -test, dmesg gives me this:
[19500.404765] 13755 (p): Uhuuh, elf segment at 0000000000400000 requested but the memory is mapped already
Oh, does that mean you've got past ld-linux-x86-64.so.2 ?? - and run face first into another f*ing issue?
I don't think so, I just downloaded Phix and followed the instructions, ./p gives me a segmentation fault. Not a lot of help.
Run dmesg -w in a terminal, then ./p in another, tells me "the elf segment at 0000000000400000 requested but the memory is mapped already".
IOW, it's just more detail about the same seg. fault.
So, to know more, Phix would have to be compiled with the -g flag to turn on debugging info. https://u.osu.edu/cstutorials/2018/09/28/how-to-debug-c-program-using-gdb-in-6-simple-steps/