Re: Recompile with -fPIE
- Posted by Pirx Jun 08, 2022
- 3497 views
Thanx Greg! That helped, but I have another problem. This time it looks like this:
/usr/bin/ld: /usr/local/euphoria-4.1.0-Linux-x64/bin/eu.a(be_runtime.o): in function `power': be_runtime.c:(.text+0x4061): undefined reference to `__powl_finite' /usr/bin/ld: /usr/local/euphoria-4.1.0-Linux-x64/bin/eu.a(be_runtime.o): in function `Dpower': be_runtime.c:(.text+0x40dc): undefined reference to `__powl_finite' /usr/bin/ld: /usr/local/euphoria-4.1.0-Linux-x64/bin/eu.a(be_runtime.o): in function `e_log': be_runtime.c:(.text+0x417f): undefined reference to `__log_finite' /usr/bin/ld: /usr/local/euphoria-4.1.0-Linux-x64/bin/eu.a(be_runtime.o): in function `De_log': be_runtime.c:(.text+0x41c1): undefined reference to `__log_finite' collect2: error: ld returned 1 exit status Unable to link /home/tom/Documents/Coding/Euphoria/pi Status: 1 Command: gcc -o /home/tom/Documents/Coding/Euphoria/pi init-.o pi.o main-.o math.o types.o text.o convert.o search.o machine.o memory.o dll.o filesys.o datetime.o get.o scinot.o sequence.o sort.o /usr/local/euphoria-4.1.0-Linux-x64/bin/eu.a -m64 -ldl -lm -lpthread -no-pie
No matter how simple Euphoria code is. I always get this error message.