On Fri, 21 Jan 2022 19:10:53 +0100
Miro Hrončok <mhron...@redhat.com> wrote:

> On 21. 01. 22 19:07, Jakub Jelinek wrote:
> > On Fri, Jan 21, 2022 at 07:00:41PM +0100, Miro Hrončok wrote:
> >> On 21. 01. 22 17:55, Jakub Jelinek wrote:
> >>> In all cases, if it is some compiler error or internal compiler error,
> >>> preprocessed source + gcc command line would be highly appreciated,
> >>> having us to try to rebuild all the packages again and dig those up
> >>> will be very time consuming.
> >>
> >> But I suppose you know the best way to obtain those?
> >>
> >> I build the package in mock and share the entire
> >> .../fedora-rawhide-x86_64/root/builddir/build/BUILD/ directory?
> > 
> > The reports are from various architectures, and mock takes some time,
> > especially if the error is hours into building.
> > I'm not saying I won't do it if what I'm asking for is not provided,
> > just that if somebody provides it to me, I will greatly appreciate it
> > and I (and my team collegues) can spend more time on fixing the bugs
> > and less on trying to reproduce them.
> > Several people already mailed me preprocessed sources (thanks a lot for
> > that) and I've been able to reply quickly to those.
> > 
> 
> Sorry for not speaking clearly. That was supposed to be a question.
> 
> What is the best way to obtain the files you need in order to share them with 
> you?

- rebuild locally in rawhide mock
- go to the mock chroot
- then to the build directory that calls gcc/g++
- rerun the gcc/g++ command to verify it still happens
- substitute -c for -E and *.o for *.i on the command line
- rerun
- grab the resulting *.i plus the full command line

That's roughly how I do it. Hope it answers your question :-)


                Dan
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to