FS#50514 - [mksh] gcc build check failed with lto enabled

Attached to Project: Community Packages
Opened by Alif (alive4ever) - Thursday, 25 August 2016, 03:38 GMT
Last edited by Thorsten Töpper (Atsutane) - Saturday, 24 September 2016, 12:27 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Thorsten Töpper (Atsutane)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
mksh check failed when building with gcc

Additional info:
* package version(s): 52c
* config and/or log files etc.
pass ./check.t:arith-lazy-4
FAIL ./check.t:arith-ternary-prec-1
Description:
Check precedence of ternary operator vs assignment
unexpected exit status 0 (exit-code 0), expected e != 0
unexpected stderr - wanted pattern:
/.*:.*1 \? 20 : x\+=2.*lvalue.*\n$/
got nothing
pass ./check.t:arith-ternary-prec-2
.....
Total failed: 1 (1 unexpected)
Total passed: 511
==> ERROR: A failure occurred in check().
Aborting...

Steps to reproduce:
Clone mksh from ABS tree
Rebuild mksh package on the trunk directory after regenerating the checksum file.

Additional note:
Check succeeded with CC=clang without removing '-c lto' flag.
Check also succeeded by removing '-c lto' flag.

This task depends upon

Closed by  Thorsten Töpper (Atsutane)
Saturday, 24 September 2016, 12:27 GMT
Reason for closing:  Fixed
Additional comments about closing:  53.1
Comment by Alif (alive4ever) - Thursday, 25 August 2016, 03:40 GMT
Correction:
package version: mksh 52.2-1 (community)
Comment by Doug Newgard (Scimmia) - Friday, 26 August 2016, 14:08 GMT
I'm also getting a checksum failure on the TaC.
Comment by Thorsten Töpper (Atsutane) - Saturday, 24 September 2016, 12:06 GMT
Doug, the TaC is a textfile unrelated to a version. It contains the license stuff, will set it to SKIP with the update.

Loading...