[Bug bootstrap/92709] Cross Compilation failed for Latest GCC riscv64-linux-gnu on Linux/WSL2

2023-03-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92709

Andrew Pinski  changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution|--- |INVALID

--- Comment #4 from Andrew Pinski  ---
No feedback in over 2 years and other folks have done build of this cross
compiler since then.

[Bug bootstrap/92709] Cross Compilation failed for Latest GCC riscv64-linux-gnu on Linux/WSL2

2019-12-02 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92709

Jim Wilson  changed:

   What|Removed |Added

 CC||wilson at gcc dot gnu.org

--- Comment #3 from Jim Wilson  ---
>make[4]: Entering directory 
>'/home/cqwrteur/gcc-riscv64-build/riscv64-linux-gnu/lib32/ilp32/libgcc'
>make[4]: *** No rule to make target 'all'.  Stop.

Look in the riscv64-linux-gnu/lib32/ilp32/libgcc dir.  There should be a
Makefile that is a copy of the $srcdir/libgcc/Makefile.in file with some sed
substition.  If this isn't true, then it is the configure step that failed.

You can force the library dirs to reconfigure by deleting them.  It gets a bit
more complicated with multilibs, I think you have to delete the top level
riscv64-linux-gnu/libgcc to force a reconfigure, but just a rm -rf
riscv64-linux-gnu works too and is simpler, though more stuff will be rebuilt.

You might want to do a -j1 make to get an easier to read build log.

I don't have a Windows machine at work, but there is only one WSL problem that
I have seen reported, and it is that WSL makes filesystems case-insensitive by
default which is contrary to linux practice.  It is known that this will break
glibc builds which uses .os and .oS for two different kinds of files.  I don't
think that this breaks gcc builds.  But since you are trying to do a cross to
riscv64-linux-gnu you will run into this problem if you haven't already.

[Bug bootstrap/92709] Cross Compilation failed for Latest GCC riscv64-linux-gnu on Linux/WSL2

2019-11-28 Thread euloanty at live dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92709

--- Comment #2 from fdlbxtqi  ---
(In reply to Richard Biener from comment #1)
> The actual error is missing from the log.

Yea. It has no actual error. I have checked that.

[Bug bootstrap/92709] Cross Compilation failed for Latest GCC riscv64-linux-gnu on Linux/WSL2

2019-11-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92709

Richard Biener  changed:

   What|Removed |Added

   Keywords|accepts-invalid |build
 Target||riscv64-linux-gnu
 Status|UNCONFIRMED |WAITING
   Last reconfirmed||2019-11-28
  Component|libgcc  |bootstrap
 Ever confirmed|0   |1

--- Comment #1 from Richard Biener  ---
The actual error is missing from the log.