[Mesa-dev] [Mesa-maintainers] Underlinking issues in 18.0.0~rc3

Igor Gnatenko ignatenkobrain at fedoraproject.org
Fri Feb 9 05:53:28 UTC 2018


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Thu, 2018-02-08 at 23:58 +0000, Emil Velikov wrote:
> On 8 February 2018 at 23:02, Igor Gnatenko
> <ignatenkobrain at fedoraproject.org> wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA256
> > 
> > I've tried to update mesa to 18.0.0~rc3 in Fedora Rawhide, but that fails
> > with
> > a lot of "undefined reference" errors. Any hints for available patch?
> > 
> > https://kojipkgs.fedoraproject.org//work/tasks/2888/24852888/build.log
> 
> That's strange. Nothing specific comes to mind wrt these errors
> (missing xcb dependencies in the VL targets).
> Can you please confirm that the exact same build recipe works on other
> Fedora versions?

Yes, it does... But there are a lot of differences between F27 and F28:
* llvm (5.0.1 → 6.0.0~rc1)
* gcc (7.3.1 → 8.0.1)
* glibc (2.26 → 2.27

> Having a quick look at the build log - I'm suspecting that the
> static-libstdc++ workaround that you guys have might be causing
> side-effects.
> Speaking of which ... we should really revisit and merge something
> like it in Mesa.

I've tried to remove it and build fails with:
/usr/bin/ld: glsl/main.o: relocation R_X86_64_32S against `.rodata' can not be
used when making a shared object; recompile with -fPIC

Then added -fPIC to CFLAGS... And it failed with same "undefined error"
messages.

Seems it was done to workaround Steam bundling its own libstdc++.
https://src.fedoraproject.org/rpms/mesa/c/e443b9d8776c56a7943dd501cbcb16bc92c73
22f
- -- 
- -Igor Gnatenko
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEhLFO09aHZVqO+CM6aVcUvRu8X0wFAlp9N1gACgkQaVcUvRu8
X0ymBQ/7Bx0cYYZgE2V3xNxgdsgG/8ocni9pqqr+aF1uRMqqtf3Z/le3sxY0zirQ
GmRNv8hODAcsX2xVKXG5Z0CQ+mpzE29ZQmUHAz3LmRdSWjLOtWfiYZSBJsor8ikg
18epaGqno7As0tcAqkJSj1Q7FO8WbLu964iepzr1MgFz5l7Ck47dBFEZAy1Mn9Oj
Ix1+OuYgyfXwj8QsJK9DRu1dpomVB5wdTevyMHRocKH8eC2Ijxo2Swe9kXTFIVLs
IDFD3r7TijPxa7m65Y/x0xWmqO/qEM1i/8u3KdKy2Yp2sfYuz9eu8j/gLuIRqt8N
4SFUV5yxhE92eq+aKESd431Hz/0uD9ha5E3aUZzBfA/GnxBmVho/uAlG+J2wcoij
htWEzlsYvvERfb1wJrzeVwQBObH8C+cCKGwz22U6EplfpLqa82V7YX8H5cYenZzu
Vftj0D7JPnTSDrllcTHO2NZpqeLeba3jzeFlqQyOBAwjevAi3Nx6FSydzjpTMxRn
3LyU5+Ux1OW3zeVka/j/ukO5uyDyisv6VJY1Eo3Q3N+9cno8oxiDeJC1GijBpUo9
3V2DBwY62hccdq7IpE76K5p1IcKRtkhSvhu+lYMSTn1xSiGyhENhEa8t74AhS4yB
i+lABlB6SYtvljDSdjgdTDdua0roMToauRvA1fQJR41WkrUHa30=
=21I5
-----END PGP SIGNATURE-----



More information about the mesa-dev mailing list