[Bug bootstrap/120707] Comparing stage 2 and 3 fails because of rust-tyty-subst.o, building in src and -O3

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jun 19 13:29:02 GMT 2025


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120707

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Дилян Палаузов from comment #5)
> As far as I see both ./configure invocations above are identical.
> 
> > What happens if you don't build in the src tree as recommended in the install documentation?
> 
> I do not understand the question.  How should I build it?

Never using ./configure
The build directory needs to be different from the source directory, so say if
you have
gcc sources in /foo/bar/baz directory, either mkdir /foo/bar/build; cd
/foo/bar/build and then /foo/bar/baz/configure ... or ../baz/configure ... or
e.g. mkdir /foo/bar/baz/build and cd /foo/bar/baz/build and ../configure ...


More information about the Gcc-bugs mailing list