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

2025-06-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120707

--- Comment #4 from Andrew Pinski  ---
What happens if you don't build in the src tree as recommended in the install
documentation?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

2025-06-19 Thread dilyan.palauzov at aegee dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120707

--- Comment #5 from Дилян Палаузов  ---
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?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug bootstrap/120707] Comparing stage 2 and 3 fails because of rust-tyty-subst.o, -O3 and enable-host-shared

2025-06-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120707

Andrew Pinski  changed:

   What|Removed |Added

Summary|Comparing stage 2 and 3 |Comparing stage 2 and 3
   |fails because of|fails because of
   |rust-tyty-subst.o, building |rust-tyty-subst.o, -O3 and
   |in src and -O3  |enable-host-shared

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug rust/120707] Comparing stage 2 and 3 fails because of rust-tyty-subst.o

2025-06-19 Thread acoplan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120707

Alex Coplan  changed:

   What|Removed |Added

 CC||acoplan at gcc dot gnu.org

--- Comment #1 from Alex Coplan  ---
Which target is this on?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

2025-06-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120707

Jakub Jelinek  changed:

   What|Removed |Added

 CC||jakub at gcc dot gnu.org

--- Comment #6 from Jakub Jelinek  ---
(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 ...

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

2025-06-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120707

Andrew Pinski  changed:

   What|Removed |Added

 Target||X86_64
Summary|Comparing stage 2 and 3 |Comparing stage 2 and 3
   |fails because of|fails because of
   |rust-tyty-subst.o   |rust-tyty-subst.o, building
   ||in src and -O3

--- Comment #3 from Andrew Pinski  ---
./configure --enable-threads=posix --enable-host-shared --enable-nls
--disable-multilib --enable-interpreter --with-system-zlib
--enable-languages=c,c++,go,lto,jit,rust --enable-targets=all
--with-system-unwind --without-x --with-linker-hash-style=gnu --enable-shared
--with-build-config=bootstrap-O3 && make

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

2025-06-19 Thread dilyan.palauzov at aegee dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120707

--- Comment #7 from Дилян Палаузов  ---
I was using all the time out-of-source/VPATH builds, but typed here ./configure
for simplicity.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

2025-06-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120707

Andrew Pinski  changed:

   What|Removed |Added

  Component|rust|bootstrap
   Last reconfirmed||2025-06-19
 Status|UNCONFIRMED |WAITING
 Ever confirmed|0   |1
   Keywords||build

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

2025-06-19 Thread dilyan.palauzov at aegee dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120707

--- Comment #2 from Дилян Палаузов  ---
> Which target is this on?

host == target

# uname -a
Linux d 5.10.226 #2 SMP Sat Oct 5 20:52:45 UTC 2024 x86_64 GNU/Linux

If this does not answer your question, clarify how to answer it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.