Re: Problem with euc on Ubuntu Jammy under WSLg

new topic     » goto parent     » topic index » view thread      » older message » newer message

Not doing something right here. Version at the end.

bugmagnet@LAPTOP-H6HBEGA9:/mnt/c/Users/bugma/Dropbox/Projects/exercism-dev/oe$ euc -extra-cflags -fPIE ack.ex 
Build directory: build-456853/ 
Translating code, pass: 1 2 3  generating 
Compiling with GCC 
Compiling  14% init-.c 
Compiling  57% ack.c 
Compiling  85% main-.c 
Linking 100% ../ack 
/usr/bin/ld: /usr/local/euphoria-4.1.0-Linux-x64/bin/eu.a(be_w.o): relocation R_X86_64_32 against symbol `screen_image' can not be used when making a PIE object; recompile with -fPIE 
/usr/bin/ld: failed to set dynamic section sizes: bad value 
collect2: error: ld returned 1 exit status 
Unable to link /mnt/c/Users/bugma/Dropbox/Projects/exercism-dev/oe/ack 
Status: 1 Command: gcc -o /mnt/c/Users/bugma/Dropbox/Projects/exercism-dev/oe/ack  init-.o ack.o main-.o   /usr/local/euphoria-4.1.0-Linux-x64/bin/eu.a -m64 -ldl -lm -lpthread 
Could not remove directory build-456853/ 
 
bugmagnet@LAPTOP-H6HBEGA9:/mnt/c/Users/bugma/Dropbox/Projects/exercism-dev/oe$ euc -extra-cflags fPIE ack.ex 
Build directory: build-501421/ 
Translating code, pass: 1 2 3  generating 
Compiling with GCC 
Compiling  14% init-.c 
gcc: warning: fPIE: linker input file unused because linking not done 
gcc: error: fPIE: linker input file not found: No such file or directory 
Couldn't compile file 'init-.c' 
Status: 1 Command: gcc  -fomit-frame-pointer -c -w -fsigned-char -O2 -m64 -I/usr/local/euphoria-4.1.0-Linux-x64 -ffast-math fPIE init-.c 
Could not remove directory build-501421/ 
 
bugmagnet@LAPTOP-H6HBEGA9:/mnt/c/Users/bugma/Dropbox/Projects/exercism-dev/oe$ euc -extra-lflags -fPIE ack.ex 
Build directory: build-507733/ 
Translating code, pass: 1 2 3  generating 
Compiling with GCC 
Compiling  14% init-.c 
Compiling  57% ack.c 
Compiling  85% main-.c 
Linking 100% ../ack 
/usr/bin/ld: /usr/local/euphoria-4.1.0-Linux-x64/bin/eu.a(be_w.o): relocation R_X86_64_32 against symbol `screen_image' can not be used when making a PIE object; recompile with -fPIE 
/usr/bin/ld: failed to set dynamic section sizes: bad value 
collect2: error: ld returned 1 exit status 
Unable to link /mnt/c/Users/bugma/Dropbox/Projects/exercism-dev/oe/ack 
Status: 1 Command: gcc -o /mnt/c/Users/bugma/Dropbox/Projects/exercism-dev/oe/ack  init-.o ack.o main-.o   /usr/local/euphoria-4.1.0-Linux-x64/bin/eu.a -m64 -ldl -lm -lpthread -fPIE 
Could not remove directory build-507733/ 
 
bugmagnet@LAPTOP-H6HBEGA9:/mnt/c/Users/bugma/Dropbox/Projects/exercism-dev/oe$ euc -v 
Euphoria to C Translator v4.1.0 development 
   64-bit Linux, Using System Memory 
   Revision Date: 2015-02-02 14:18:53, Id: 5861:57179171dbed 

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu