Re: 2025-08-07 Meeting Notes
Hi,
2025年8月10日(日) 20:30 Kentaro Hayashi <kenhys@gmail.com>:
>
snip
> > ## migraphx
> > utkarsh has been working on this package
> >
> > Problem: when compiling, very high memory usage. compiling with llvm-19 works, building with gcc in debuild causes memory issues.
> >
> > To repoduce:
> >
> > * `git clone https://salsa.debian.org/rocm-team/migraphx.git`
> > * `cd migraphx`
> > * `uscan --force-download --download-current-version`
> > * `debuild -us -uc`
> > * This will fail @ 33% .. RAM usage (16/16GB full)
> > * using make to build instead of debuild does complete
> > * it segfaults at around 30% completion in debuild
> > * uktarsh's attempts to build for Fedora and Gentoo in containers has not had the same problem
> >
> > suggestions:
> > * `DEB_BUILD OPTION` `S=parallel=N`
> > * has been tried, did not help
> >
> > No conclusion here, folks will need to dig into it more and follow up later
>
> I'm not sure but, It seems that it always cause segv when compiling
> with migraphx/src/rewrite_gelu.cpp.
> (it can be reproduced with export DEB_BUILD_OPTIONS = parallel=1 )
> Does that help to dig it further more?
>
snip
At least, it seems that -O0, -O1, -O2 - in any case, it causes
segmentation fault with g++ (Debian 14.2.0-19) 14.2.0.
Regards,
--
Kentaro Hayashi <kenhys@gmail.com>
Reply to: