Link error when compiling with -fsanitize=undefined
Kornel Benko
kornel at lyx.org
Sun Sep 19 12:00:33 UTC 2021
Am Sun, 19 Sep 2021 07:45:19 -0400
schrieb Scott Kostyshak <skostysh at lyx.org>:
> > > > So inserting this include cured the compilation for me.
> > >
> > > That's great you figured it out and it doesn't add too much complexity to the code.
> > > Are you sure it ended up using the -fsanitize=undefined flag ? If you do
> > >
> > > ldd build-dir/bin/lyx | grep ubsan
> > >
> > > Does it show up?
> > >
> > > Scott
> >
> > libubsan.so.1 => /usr/lib/x86_64-linux-gnu/libubsan.so.1
> > (0x00007f49cdfd2000)
>
> Great, I will experiment next week with it.
>
> Thank you,
>
> Scott
>
BTW, how got you the output showing errors? My lyx does not print any error messages.
(I mean:
'ColorCode' /home/scott/lyxbuilds/master/repo/src/MetricsInfo.cpp:174:6: runtime
error: load of value 128, which is not a valid value for type
...
)
Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20210919/7764a46a/attachment.asc>
More information about the lyx-devel
mailing list