Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 642284 - dev-libs/libpcre-8.41: jit USE flag on x32 causes SIGBUS when emerging (syntax-highlighting, kio)
Summary: dev-libs/libpcre-8.41: jit USE flag on x32 causes SIGBUS when emerging (synta...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
Depends on:
Blocks: unaligned-access x32
  Show dependency tree
Reported: 2017-12-26 09:53 UTC by Dainius Masiliūnas
Modified: 2021-12-31 03:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

syntax-highlighting build.log (file_642284.txt,46.27 KB, text/plain)
2017-12-27 14:50 UTC, Dainius Masiliūnas

Note You need to log in before you can comment on or make changes to this bug.
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