Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 673622 - media-libs/mesa-18.2.7[opencl] - /usr/lib/gcc/powerpc64le-unknown-linux-gnu/7.3.0/include/g++-v7/tuple:1372:9: error: expected primary-expression before ‘__attribute__’
Summary: media-libs/mesa-18.2.7[opencl] - /usr/lib/gcc/powerpc64le-unknown-linux-gnu/7...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL: https://gitlab.freedesktop.org/mesa/m...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-23 19:11 UTC by Luke-Jr
Modified: 2019-01-28 00:49 UTC (History)
3 users (show)

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


Attachments
build.log.xz (build.log.xz,63.12 KB, application/x-xz)
2018-12-23 19:11 UTC, Luke-Jr
Details
patched-build.log.xz (build.log.xz,92.75 KB, application/x-xz)
2018-12-27 20:04 UTC, Luke-Jr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luke-Jr 2018-12-23 19:11:07 UTC
Created attachment 558422 [details]
build.log.xz

This is a regression from 18.1.9 (same USE flags), which has since been removed entirely.
Comment 1 ernsteiswuerfel archtester 2018-12-26 23:44:40 UTC
mesa-18.2.7 builds fine on all my ppc/ppc64 machines. I guess this only happens with LE-profiles:

[13]  default/linux/powerpc/ppc64/17.0/64bit-userland/little-endian (exp)
[14]  default/linux/powerpc/ppc64/17.0/64bit-userland/little-endian/systemd (exp)
Comment 2 Matt Turner gentoo-dev 2018-12-27 15:44:10 UTC
The problem is that the Meson build system never got the hack I added to autotools in https://cgit.freedesktop.org/mesa/mesa/commit/?id=7d1195c1e4d071fe796bf5f210c468ea1cc86225

Cc'ing Dylan.
Comment 3 Matt Turner gentoo-dev 2018-12-27 15:45:09 UTC
(In reply to ernsteiswuerfel from comment #1)
> mesa-18.2.7 builds fine on all my ppc/ppc64 machines. I guess this only
> happens with LE-profiles:
> 
> [13]  default/linux/powerpc/ppc64/17.0/64bit-userland/little-endian (exp)
> [14]  default/linux/powerpc/ppc64/17.0/64bit-userland/little-endian/systemd
> (exp)

No, I don't think that's true. This bug only occurs when you have opencl enabled, which I suspect you do not.
Comment 4 Dylan 2018-12-27 17:00:24 UTC
I'm pretty sure this is related to not using gnu++11. I don't know how to inject meson arguments into a build, but you could try adding '-Dcpp_std=gnu++11` to verify the issue.

There is an MR opened to add the gnu++11 overrides, I'll mention Matt there.
https://gitlab.freedesktop.org/mesa/mesa/merge_requests/29
Comment 5 Luke-Jr 2018-12-27 20:04:14 UTC
Created attachment 558626 [details]
patched-build.log.xz

Build fails also with https://gitlab.freedesktop.org/mesa/mesa/merge_requests/29
Comment 6 Dylan 2018-12-27 20:54:59 UTC
That was my fault. it's helpful to compare 'ppc' against the host machine cpu family, not the operating system family. Can you try again?
Comment 7 Luke-Jr 2018-12-28 03:45:17 UTC
>>> media-libs/mesa-18.2.7 merged.
Comment 8 Matt Turner gentoo-dev 2019-01-28 00:49:36 UTC
Fixed in 18.3.2.