Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#29265 - [john] not running on processors without SSE2

Attached to Project: Community Packages
Opened by nooper (nooper) - Wednesday, 04 April 2012, 03:27 GMT
Last edited by Thorsten Töpper (Atsutane) - Friday, 06 April 2012, 13:56 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Thorsten Töpper (Atsutane)
Architecture i686
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
On a computer that does not have SSE2, running "john --stdout --incremental" results in the process being killed by SIGILL "Illegal Instruction".

Bug lies in the PKGBUILD file line 45 "sed -i 's|#OMPFLAGS = -fopenmp|OMPFLAGS = -fopenmp|' Makefile"
which always UNcomments the following 2 lines in john's Makefile
#OMPFLAGS = -fopenmp
#OMPFLAGS = -fopenmp -msse2
which results in john being built with -msse2, a bug which is only noticeable on computers without sse2.

Suggest changing the PKGBUILD line to "sed -i 's|#OMPFLAGS = -fopenmp$|OMPFLAGS = -fopenmp|' Makefile"
so it can only match the first OMPFLAGS line.


Additional info:
* package version(s)
1.7.9-1


Steps to reproduce:
Install john and run "john --stdout --incremental" on a processor without SSE2 instruction set.
This task depends upon

Closed by  Thorsten Töpper (Atsutane)
Friday, 06 April 2012, 13:56 GMT
Reason for closing:  Fixed

Loading...