Bug 247167 - lang/racket still fails to build on powerpc64 (referencing jit)
Summary: lang/racket still fails to build on powerpc64 (referencing jit)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: powerpc Any
: --- Affects Some People
Assignee: Jimmy Olgeni
URL: http://pylon.nyi.freebsd.org/data/hea...
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-11 12:43 UTC by Mark Linimon
Modified: 2020-08-19 15:53 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (olgeni)


Attachments
v1 (651 bytes, patch)
2020-07-12 14:33 UTC, Mikael Urankar
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Linimon freebsd_committer freebsd_triage 2020-06-11 12:43:40 UTC
In theory, rXXX disabled JIT for all !x86 archs.  In practice, this still seems to fail.

I took a look at the config stuff, but was unable to come up with a quick solution.  Perhaps the maintainer can more easily spot what's wrong in there.

cc -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -I./.. -I./../include  -I./../../rktio -I../../rktio -DLIBICONV_PLUG -isystem /usr/local/include -pthread  -DUSE_SENORA_GC -c ./future.c -o future.o
In file included from ./future.c:260:
In file included from ./jit.h:95:
./lightning/lightning.h:81:2: error: GNU lightning does not support the current target
#error GNU lightning does not support the current target
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2020-06-11 12:44:42 UTC
Errorlog attched as URL field.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2020-06-11 15:32:19 UTC
Bah.  I meant to type:

In theory, r483669 disabled JIT for all !x86 archs.  In practice, this still seems to fail.
Comment 3 Mikael Urankar freebsd_committer freebsd_triage 2020-07-04 17:51:41 UTC
same problem on aarch64
it seems to build if FUTURE is off.

FUTURES_IMPLIES=                JIT
Comment 5 Mikael Urankar freebsd_committer freebsd_triage 2020-07-12 14:33:58 UTC
Created attachment 216403 [details]
v1

Can you try this on ppc64?
Comment 6 Mark Linimon freebsd_committer freebsd_triage 2020-07-13 05:13:35 UTC
(In reply to Mikael Urankar from comment #5)

I can confirm that this patch fixes the build on powerpc64.
Comment 7 Mikael Urankar freebsd_committer freebsd_triage 2020-08-19 15:52:41 UTC
fixed in ports r545336