Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 850949 - dev-libs/marisa-0.2.6 fails to compile on stable x86: bit-vector.cc:16:37: error: ‘_pdep_u64’ was not declared in this scope
Summary: dev-libs/marisa-0.2.6 fails to compile on stable x86: bit-vector.cc:16:37: er...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-10 07:13 UTC by Agostino Sarubbo
Modified: 2024-07-21 14:59 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,87.68 KB, text/plain)
2022-06-10 07:13 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-06-10 07:13:39 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/marisa-0.2.6 fails to compile on stable x86.
Discovered on: x86 (internal ref: x86_at)
Comment 1 Agostino Sarubbo gentoo-dev 2022-06-10 07:13:40 UTC
Created attachment 783824 [details]
build.log

build log and emerge --info
Comment 2 Arfrever Frehtes Taifersar Arahesis 2022-06-10 23:52:03 UTC
Problem probably occurs only when BMI2 is enabled on x86_32.
Upstream probably tested code using BMI2 only on x86_64.

_pdep_u64() and other _*_u64() functions are defined in bmi2intrin.h in '#ifdef  __x86_64__' block.

As workaround, does adding -mno-bmi2 to CXXFLAGS fix compilation?