[vlc-devel] [PATCH 0/5] cpp: renaming all *sys_t because of ODR
thomas at gllm.fr
Thu Mar 8 10:14:22 CET 2018
On Wed, Mar 7, 2018, at 18:48, Rémi Denis-Courmont wrote:
> Le keskiviikkona 7. maaliskuuta 2018, 19.23.59 EET Thomas Guillem a écrit :
> > > In theory, yes. That is why we decided not to enable LTO by default
> > > several
> > > months ago. You are late to the party if you want to fix this for 3.0.
> > Why not ?
> > Just renaming few structs in few modules is not that complicated.
> I doubt that those few structs are the only remaining ODR violations,
> especially if you link statically.
linking a -O0 vlc static build with clang++ and -Wl,-detect-odr-violations give me the following ODR violations: https://paste.gnome.org/p90uxef4l
So there is an identified problem with chromecast, mkv, blend, spatialaudio and taglib.
Maybe, there are more ODR issues. Nevertheless, we should rename these modules and backport to 3.0. Especially since the want the 3.0 to be a LTS.
I'll try again with all cpp contribs built with -O0
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
More information about the vlc-devel