Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 642284

Summary: dev-libs/libpcre-8.41: jit USE flag on x32 causes SIGBUS when emerging (syntax-highlighting, kio)
Product: Gentoo Linux Reporter: Dainius Masiliūnas <pastas4>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 371525, 393673    
Attachments: syntax-highlighting build.log

Description Dainius Masiliūnas 2017-12-26 09:53:07 UTC
When libpcre is installed with the jit USE flag (default), on the x32 ABI the pcregrep utility crashes with SIGBUS when trying to emerge a number of packages that use it. Two examples I've seen so far are kde-frameworks/syntax-highlighting and kde-frameworks/kio (this one is required by a lot of other packages, some of those might also show the same issue).

I haven't seen this problem before as I could emerge the packages fine back during the summer, so this may be a regression in the jit code (or perhaps it got enabled by default recently?).

I'll attach an example build log.
Comment 1 Dainius Masiliūnas 2017-12-27 14:50:10 UTC
Created attachment 511746 [details]
syntax-highlighting build.log