Euphoria Ticket #762: 4.0.4 Segfault in ArchLinux gcc4.6/7

The new 4.0.4 cannot be build succesfully in Arch Linux. The built euc binary will always segfault, even when ran without any arguments or files. I have tried building it with gcc 4.6.1 and 4.7.0 with no diffrenece. Same thing with eub and eui executables

gdb tells following: [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/".

Program received signal SIGSEGV, Segmentation fault. 0x082c20c1 in calc_hsieh32 (a=-2147483648) at be_runtime.c:2706 2706 slen = SEQ_PTR(a)->length;

Same for eub and eui too. Earlyer versions build fine.


Type: Bug Report Severity: Blocking Category: Distribution
Assigned To: mattlewis Status: Fixed Reported Release: 4.0.4
Fixed in SVN #: View VCS: none Milestone:

1. Comment by mattlewis Apr 29, 2012

This appears to be a problem with the pre-translated source. I was able to build on Arch using an already built 4.0.4 binary. Also, I was unable to compile a working binary from the pre-translated source distribution, even on the same machine on which it was translated.

The next step is to figure out what went wrong.

2. Comment by mattlewis Apr 29, 2012

The original upload was built using a 4.1 64-bit eubin. The 4.0 translator code doesn't handle integer overflow correctly in that situation. I've re-built the Linux pre-translated package and uploaded it to sourceforge and updated the wiki.

After building the source package, I was able to successfully build and pass all tests (except for the known issues that 4.0.4 has with ticket 749).

3. Comment by Huulivoide Apr 30, 2012

I can confirm this is fixed now. But you made quite a dirty and NASTY source archive. The root dir of the archive has folder euphoria-LINUX-d2d529ba243f in it, building in it works, but not in the euphoria-Linux-4.0.4/source. Also why did you change the name of the file? And dir? Not really nice to hunt and see why my PKGBUILD is not downloading the file, just becouse the naming sceme is randomly changed.


Quick Links

User menu

Not signed in.

Misc Menu