gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sol 11.3/sparc woe on BitBlockOps.mod


From: Gaius Mulley
Subject: Re: Sol 11.3/sparc woe on BitBlockOps.mod
Date: Tue, 22 Nov 2022 18:20:45 +0000

Hi John,

for clarification, if you cd into the repository and type:

$ git log | grep PR-101392

you should see the commit log (hopefully).  Otherwise a gdb stack
trace would be useful (assuming the commit is present),

regards,
Gaius


On Tue, Nov 22, 2022 at 3:04 PM Gaius Mulley <gaiusmod2@gmail.com> wrote:
>
> john o goyo <jog37@riddermarkfarm.ca> writes:
>
> > I am trying to compile the latest git version of gm2 on Solaris 11.3/Sparc:
> >
> > libtool: compile:  /home/build/opt/gm2/bld/gm2-sol11/./gcc/gm2
> > -B/home/build/opt/gm2/bld/gm2-sol11/./gcc/ -c -g -O2 -g -O2
> > -I../libm2pim -I/home/build/opt/gm2/src/gcc-git/gcc/m2/gm2-libs-pim
> >  -I/home/build/opt/gm2/src/gcc-git/gcc/m2/gm2-libs
> > -I/home/build/opt/gm2/src/gcc-git/gcc/m2/gm2-libs-iso
> >  
> > ../../../../../src/gcc-git/libgm2/libm2log/../../gcc/m2/gm2-libs-pim/BitBlockOps.mod
> > -fPIC -DPIC -o .libs/BitBlockOps.o
> > gm2: internal compiler error: Segmentation Fault signal terminated
> > program cc1gm2
> >
> > What do you suggest I investigate, Gaius?
> >
> > Sincerely,
> > john
>
> Hi John,
>
> this looks like the bug (or very similar):
>
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105392
>
> can you double check the source code has:
>
> Author: Gaius Mulley <gaiusmod2@gmail.com>
> Date:   Wed Nov 9 16:33:56 2022 +0000
>
>     PR-101392 fix pass binop.proc to CodeBinarySetshift.
>
>     Change m2expr.def to DEFINITION MODULE FOR "C" so that the
>     bootstrap tool mc generates M2GenGCC.c passing the procedure
>     parameter without the struct wrapper.
>
>     gcc/m2/ChangeLog:
>
>             * gm2-gcc/m2expr.def: Change to FOR "C" module.
>
>
> present?  If it does then it would be interesting to obtain a stack
> trace (gdb) of the failing build.
>
>
>
> cd correct_dir
> /home/build/opt/gm2/bld/gm2-sol11/./gcc/gm2 -v \
>  -B/home/build/opt/gm2/bld/gm2-sol11/./gcc/ -c -g -O2 -g -O2  \
>  -I../libm2pim -I/home/build/opt/gm2/src/gcc-git/gcc/m2/gm2-libs-pim \
>   -I/home/build/opt/gm2/src/gcc-git/gcc/m2/gm2-libs  \
>  -I/home/build/opt/gm2/src/gcc-git/gcc/m2/gm2-libs-iso \
>   
> ../../../../../src/gcc-git/libgm2/libm2log/../../gcc/m2/gm2-libs-pim/BitBlockOps.mod
>   \
>  -fPIC -DPIC -o .libs/BitBlockOps.o
>
> extract the cc1gm2 line and place this into a .gdbinit, ie:
>
> cat << EOF > .gdbinit
> break exit
> run "cc1gm2 invocation"
> EOF
>
> $ gdb cc1gm2
> (gdb) where
> (gdb) quit
>
> hope this helps
>
> regards,
> Gaius
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]