<div dir="auto"><div class="gmail_quote" dir="auto"><div dir="ltr">Am Sa., 24. Nov. 2018, 10:09 hat C Western <<a href="mailto:l@c-m-w.me.uk">l@c-m-w.me.uk</a>> geschrieben:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 23/11/2018 09:50, Sven Barth via fpc-pascal wrote:<br>
> Am Fr., 23. Nov. 2018, 10:26 hat C Western <<a href="mailto:l@c-m-w.me.uk" target="_blank" rel="noreferrer">l@c-m-w.me.uk</a> <br>
> <mailto:<a href="mailto:l@c-m-w.me.uk" target="_blank" rel="noreferrer">l@c-m-w.me.uk</a>>> geschrieben:<br>
><br>
> I haven't been able to build trunk i386 fpc for a couple of weeks. Is<br>
> this supposed to be working, or have I misconfigured something? (I<br>
> don't<br>
> think I have changed anything.) The output is below. I don't think<br>
> it is<br>
> significant, but I am building on a 64 bit system, but with a 32 bit<br>
> starting compiler. (The 64 bit build with the 64 bit starting<br>
> compiler<br>
> works fine.)<br>
><br>
><br>
> We have i386 trunk building on at least one x86_64-linux machine, so <br>
> it can't be a principal problem. :/<br>
> Could you check whether it's FPC itself that segfaults or something <br>
> else and if the former try to retrieve a stacktrace, please?<br>
><br>
> Regards,<br>
> Sven<br>
><br>
> _______________________________________________<br>
> fpc-pascal maillist - <a href="mailto:fpc-pascal@lists.freepascal.org" target="_blank" rel="noreferrer">fpc-pascal@lists.freepascal.org</a><br>
> <a href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal" rel="noreferrer noreferrer" target="_blank">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a><br>
<br>
Looks like the ppc1 compiler crashes during setup:<br>
<br>
gdb) run<br>
Starting program: /home/me/fpc/trunk/fpcsrc/compiler/ppc1<br>
<br>
Program received signal SIGSEGV, Segmentation fault.<br>
0x08068760 in INITTLS () at system.pp:543<br>
543 case phdr^.p_type of<br>
(gdb) bt<br>
#0 0x08068760 in INITTLS () at system.pp:543<br>
#1 0x082a63fb in _FPC_PROC_START () at ./i386/si_prc.inc:105<br>
(gdb) p phdr<br>
$1 = (PPHDR) 0x8048034<br>
(gdb) p phdr^<br>
Cannot access memory at address 0x8048034<br></blockquote></div><div dir="auto"><br></div><div dir="auto">Looks like something related to the new threadvar handling. Though by default that shouldn't be enabled... 🤔</div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div class="gmail_quote" dir="auto"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote></div></div>