Ticket #997 (closed bug: fixed)

Opened 5 years ago

Last modified 3 years ago

[BUG] Segmentation fault by building TGE on ppc64

Reported by: gerd Owned by: jkeenan
Priority: normal Milestone:
Component: TGE Version: 1.5.0
Severity: medium Keywords:
Cc: jkeenan Language:
Patch status: Platform: linux

Description

At the moment (r41154) Parrot seems not to build on the ppc64 architecture. I get a segmentation fault during building the TGE (by building RPMs).

gmake[1]: Leaving directory `/builddir/build/BUILD/parrot-1.5.0/compilers/pge' gmake -C compilers/tge gmake[1]: Entering directory `/builddir/build/BUILD/parrot-1.5.0/compilers/tge' ../../parrot ../../runtime/parrot/library/PGE/Perl6Grammar.pbc --output=TGE/Parser.pir TGE/Parser.pg gmake[1]: *** [TGE/Parser.pir] Segmentation fault gmake[1]: Leaving directory `/builddir/build/BUILD/parrot-1.5.0/compilers/tge' make: *** [compilers.dummy] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.9eUJay (%build) RPM build errors:

Bad exit status from /var/tmp/rpm-tmp.9eUJay (%build)

Child returncode was: 1

Change History

  Changed 5 years ago by jkeenan

  • cc jkeenan added

Is there any chance this failure might be related to this intermittent SIGNAL 10 SIGBUS error we're seeing on PPC32 in a TGE-related test?

  Changed 5 years ago by gerd

The build stopps before reaching the tests. But now I recognized that it only stopps at the moment (r41229) with the option:

perl Configure.pl --optimize=-O2'

Without '-O2' also the tests passes on ppc64.

  Changed 3 years ago by jkeenan

Gerd,

Has this situation changed in the last 18 months?

Thank you very much.

kid51

follow-up: ↓ 5   Changed 3 years ago by gerd

I changed the spec file for building RPMs on Fedora not to use the -O2 option on the PPC architecture.

%ifarch ppc64 ppc
    RPM_OPT_FLAGS=`echo "$RPM_OPT_FLAGS" | %{__perl} -pi -e 's/-O2//'`
%endif

I forgot that there was a problem with it.

For me that ticket can be closed or do you want a test if there is still a problem by using optimzation on PPC with the current Parrot?

in reply to: ↑ 4   Changed 3 years ago by jkeenan

Replying to gerd:

For me that ticket can be closed or do you want a test if there is still a problem by using optimzation on PPC with the current Parrot?

It would be nice to do a test run, in part because we have a test failure with optimization on a different PPC platform: TT #1930.

Thanks for looking into this.

kid51

follow-up: ↓ 7   Changed 3 years ago by gerd

A current scratch build (64bit) with -O2 on the fedora build system completed successfully.

URLs:

-  http://koji.fedoraproject.org/koji/taskinfo?taskID=2854875 -  https://koji.fedoraproject.org/koji/getfile?taskID=2854877&name=build.log

in reply to: ↑ 6   Changed 3 years ago by jkeenan

  • owner changed from allison to jkeenan
  • status changed from new to assigned

Replying to gerd:

A current scratch build (64bit) with -O2 on the fedora build system completed successfully.

Thanks. Closing ticket.

  Changed 3 years ago by jkeenan

  • status changed from assigned to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.