[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: MIOpen symbols file and libstdc++-dev



Hi Cory,

Cordell Bloor, on 2024-06-30:
> On 2024-06-30 15:23, Étienne Mollier wrote:
> > Passing by, I happen to have an idea.  Would it be possible to
> > attempt a construction of libraries with Link Time Optimization?
> > I believe this should trim down a bit the inflation of symbols,
> > but I'm not confident on the effects on MIOpen test suite.  That
> > would be enabled using in debian/rules for instance:
> > 
> > 	export DEB_BUILD_MAINT_OPTIONS = optimize=+lto
> 
> Unfortunately, I don't think so. Ubuntu enables LTO by default and we've had
> to disable it explicitly in ROCm libraries because it doesn't seem to work
> for HIP language programs.

Thanks for watching me, so that was a bad idea for MIOpen and it
should be forgotten in this case.

> With that said, I don't know precisely why or how LTO is incompatible with
> HIP, so I cannot say with certainty that MIOpen would be affected.

Looking at the topic from far, it felt like there could be an
issue similar to the one that prevents manual symbols sanitation
in MIOpen.  I'll stop generating noise on this topic for now,
unless I get an actual close look at the issue.  ;)

Have a nice day,  :)
-- 
  .''`.  Étienne Mollier <emollier@debian.org>
 : :' :  pgp: 8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
 `. `'   sent from /dev/pts/0, please excuse my verbosity
   `-    on air: Tiles - Back & Forth

Attachment: signature.asc
Description: PGP signature


Reply to: