Summary: | >=dev-util/boost-build-1.58 and dev-libs/boost overriding CFLAGS (x32 breakage) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Steven Newbury <steve> |
Component: | Current packages | Assignee: | David Seifert <soap> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | bugzilla, sam |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 393673 | ||
Attachments: |
boost-build ebuild with new sed pass and patches
Add libx32 to search paths Remove -m32/-m64 automagic flags dev-libs/boost ebuild with new patches Back-ported x32 context patch from upstream Remove -march overrides on SSSE and AVX compile dev-util/boost-build ebuild with x32 patch Add libx32 to search paths Remove -m32/-m64 automagic flags dev-libs/boost ebuild with new patches and abi override x32 context support patch dev-libs/boost ebuild with new patches and abi override x32 context support patch |
Description
Steven Newbury
2016-02-29 20:18:08 UTC
Created attachment 427032 [details]
boost-build ebuild with new sed pass and patches
Created attachment 427034 [details, diff]
Add libx32 to search paths
Created attachment 427036 [details, diff]
Remove -m32/-m64 automagic flags
Created attachment 427044 [details]
dev-libs/boost ebuild with new patches
Created attachment 427046 [details, diff]
Back-ported x32 context patch from upstream
Created attachment 427048 [details, diff]
Remove -march overrides on SSSE and AVX compile
Obsolete, reopen if issue persists. commit 400e20295bf062a0bf697acce718e78116b143e2 Author: David Seifert <soap@gentoo.org> Date: Tue Apr 4 19:33:14 2017 +0200 dev-libs/boost: Remove old This is still a problem today with dev-libs/boost-1.65.0 on x32. This is still an issue. I've been maintaining the patches ever since. Currently when building on x32 dev-libs/boost builds i386 binaries instead of x32. Current ebuild/patches follow... Created attachment 775808 [details]
dev-util/boost-build ebuild with x32 patch
Created attachment 775811 [details, diff]
Add libx32 to search paths
Created attachment 775814 [details, diff]
Remove -m32/-m64 automagic flags
Created attachment 775817 [details]
dev-libs/boost ebuild with new patches and abi override
Created attachment 775820 [details, diff]
x32 context support patch
(In reply to Steven Newbury from comment #14) > Created attachment 775820 [details, diff] [details, diff] > x32 context support patch Could you submit this upstream to https://github.com/boostorg/context? In the latest version attached above I used 32_64 for the address-model to differentiate from x86-32, however this breaks the build of packages using boost_python since the boost_python cmake file then determines that the boost libraries are 64 bit. I'll attach new versions using address-model = 32 instead once I confirm that it resolves this issue. It's how I originally wrote the patch. (In reply to Sam James from comment #15) > (In reply to Steven Newbury from comment #14) > > Created attachment 775820 [details, diff] [details, diff] [details, diff] > > x32 context support patch > > Could you submit this upstream to https://github.com/boostorg/context? I did originally. As I recall it got side tracked by discussion about forcing gcc flags instead of using the user provided flags and feature tests and/or function attributes, and the weren't very receptive. I guess it was nearly a decade ago, maybe I should try again...? Created attachment 777722 [details]
dev-libs/boost ebuild with new patches and abi override
Created attachment 777725 [details, diff]
x32 context support patch
(In reply to Steven Newbury from comment #19) > Created attachment 777725 [details, diff] [details, diff] > x32 context support patch https://github.com/boostorg/context/blob/develop/build/Jamfile.v2#L843 isn't that code identical to your patch? Do you we really still need your patch? Closing since I believe this to be upstreamed now |