comp.lang.ada
 help / color / mirror / Atom feed
* compiling gcc8 on aarch64 FreeBSD v 12 fails with Ada
@ 2017-09-08 15:33 Tarjei Jensen
  2017-09-08 17:07 ` Tarjei Jensen
  0 siblings, 1 reply; 4+ messages in thread
From: Tarjei Jensen @ 2017-09-08 15:33 UTC (permalink / raw)


Hi,

I'm doing this on a Raspberry PI 3 running 64 bit FreeBSD v12.

I'm trying to compile gcc8-devel from ports with gcc6-aux.

I have renamed include-fixed directory on gcc-6 and inserted "exit 0" in fixincl.sh to make sure that it will not create more "fixes".

The C compilation go rather well, but it fails when it start using the ada compiler. See error messages below.

I have tried to compile with debug on, but gdb complains about the stack frame being corrupted. I've tried put_line("text") as the first line, but it fails before getting there.

Any hints on how to proceed. I'm out of options. The FreeBSD gcc6-aux maintainer has been banned.

The log :

cp -p /usr/ports/lang/gcc8-devel/work/gcc-8-20170820/gcc/ada/sinfo.ads /usr/port
s/lang/gcc8-devel/work/gcc-8-20170820/gcc/ada/sinfo.adb /usr/ports/lang/gcc8-dev
el/work/gcc-8-20170820/gcc/ada/xsinfo.adb /usr/ports/lang/gcc8-devel/work/gcc-8-
20170820/gcc/ada/csinfo.adb ada/bldtools/sinfo
(cd ada/bldtools/sinfo; gnatmake -q xsinfo ; ./xsinfo sinfo.h )

raised STORAGE_ERROR : stack overflow or erroneous memory access
gmake[5]: *** [/usr/ports/lang/gcc8-devel/work/gcc-8-20170820/gcc/ada/Make-gener
ated.in:45: ada/sinfo.h] Error 1


Greetings,


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-09-10 12:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-08 15:33 compiling gcc8 on aarch64 FreeBSD v 12 fails with Ada Tarjei Jensen
2017-09-08 17:07 ` Tarjei Jensen
2017-09-09 14:06   ` Jacob Sparre Andersen
2017-09-10 12:07     ` Tarjei Jensen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox