On Mon, Feb 20, 2017 at 04:51:47PM -0500, Tom Callaway wrote:
I'm stumped here. efl builds against all rawhide arches except
aarch64,
where it has started failing like this (since gcc 7):
https://kojipkgs.fedoraproject.org//work/tasks/2376/17972376/build.log [...]
Any gcc gurus have any thoughts?
This has nothing to do with GCC 7 or GCC at all. It's crashing in
lt-elua. Looks like a bug in luajit:
#0 getcurrenv (L=0xffff91b40378, L=0xffff91b40378) at lj_api.c:76
#1 lua_pushcclosure (L=L@entry=0xffff91b40378,
f=0xffff92b53530 <luaopen_base>, n=n@entry=0) at lj_api.c:619
#2 0x0000ffff92b5a8c0 in luaL_openlibs (L=0xffff91b40378) at lib_init.c:43
#3 0x0000ffff92bc46e4 in elua_state_new (
progname=0xffffcd43eb3f
"/home/rjones/d/fedora/efl/master/efl-1.18.4/src/bin/elua/.libs/lt-elua") at
lib/elua/elua.c:79
#4 0x0000aaaad4ab164c in main (argc=10, argv=0xffffcd431188)
at bin/elua/main.c:165
(gdb) list
71 }
72
73 static GCtab *getcurrenv(lua_State *L)
74 {
75 GCfunc *fn = curr_func(L);
76 return fn->c.gct == ~LJ_TFUNC ? tabref(fn->c.env) : tabref(L->env);
77 }
(gdb) print *fn
Cannot access memory at address 0x7fff91b40378
(gdb) print *L
$2 = {
nextgc = {
gcptr64 = 0
},
marked = 97 'a',
gct = 6 '\006',
dummy_ffid = 1 '\001',
status = 0 '\000',
glref = {
ptr64 = 281473126237144
},
gclist = {
gcptr64 = 0
},
base = 0xffff91b40f10,
top = 0xffff91b40f10,
maxstack = {
ptr64 = 281473126240312
},
stack = {
ptr64 = 281473126240000
},
openupval = {
gcptr64 = 0
},
env = {
gcptr64 = 281473126240384
},
cframe = 0x0,
stacksize = 47
}
I don't have an aarch64 setup, but even
if I did, this isn't much to go on.
It's a real shame that none of the cheap 64 bit boards work with
Fedora. I hear it is possible that the ODROID-C2 *should* be able to
run Fedora 25 (or maybe Rawhide), but I don't think it has been tested
by anyone.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v