comp.lang.ada
 help / color / mirror / Atom feed
From: Tarjei Jensen <tarjei99@gmail.com>
Subject: compiling gcc8 on aarch64 FreeBSD v 12 fails with Ada
Date: Fri, 8 Sep 2017 08:33:39 -0700 (PDT)
Date: 2017-09-08T08:33:39-07:00	[thread overview]
Message-ID: <fe306bb0-6878-48e7-bfad-6941a6d3f4fb@googlegroups.com> (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,


             reply	other threads:[~2017-09-08 15:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-08 15:33 Tarjei Jensen [this message]
2017-09-08 17:07 ` compiling gcc8 on aarch64 FreeBSD v 12 fails with Ada Tarjei Jensen
2017-09-09 14:06   ` Jacob Sparre Andersen
2017-09-10 12:07     ` Tarjei Jensen
replies disabled

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