[Bug bootstrap/104057] cross compiler multilibs libs path too chaos

2022-01-16 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057 --- Comment #21 from cqwrteur --- (In reply to cqwrteur from comment #18) > (In reply to Andrew Pinski from comment #17) > > also multilib directories under ${prefix} for a cross does not use OS > > directories as most cross compilers have OS di

[Bug bootstrap/104057] cross compiler multilibs libs path too chaos

2022-01-16 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057 --- Comment #20 from cqwrteur --- (In reply to cqwrteur from comment #18) > (In reply to Andrew Pinski from comment #17) > > also multilib directories under ${prefix} for a cross does not use OS > > directories as most cross compilers have OS di

[Bug bootstrap/104057] cross compiler multilibs libs path too chaos

2022-01-16 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057 --- Comment #19 from cqwrteur --- (In reply to cqwrteur from comment #18) > (In reply to Andrew Pinski from comment #17) > > also multilib directories under ${prefix} for a cross does not use OS > > directories as most cross compilers have OS di

[Bug bootstrap/104057] cross compiler multilibs libs path too chaos

2022-01-16 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057 --- Comment #18 from cqwrteur --- (In reply to Andrew Pinski from comment #17) > also multilib directories under ${prefix} for a cross does not use OS > directories as most cross compilers have OS directories. Of course. I installed Linux kerne

[Bug bootstrap/104057] cross compiler multilibs libs path too chaos

2022-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057 --- Comment #17 from Andrew Pinski --- also multilib directories under ${prefix} for a cross does not use OS directories as most cross compilers have OS directories.

[Bug bootstrap/104057] cross compiler multilibs libs path too chaos

2022-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057 --- Comment #16 from Andrew Pinski --- There are a definitely a few steps missing, Where is the Linux headers installed? How did you configure glibc and install it? I don't see you copying the headers of glibc anywhere. sysroots make it easier

[Bug bootstrap/104057] cross compiler multilibs libs path too chaos

2022-01-16 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057 --- Comment #15 from cqwrteur --- (In reply to cqwrteur from comment #14) > export PATH=$PREFIX/bin:$PATH > > sorry x86_64-ubuntu-linux-gnu-g++ -v Using built-in specs. COLLECT_GCC=x86_64-ubuntu-linux-gnu-g++ COLLECT_LTO_WRAPPER=/home/cqwrteur

[Bug bootstrap/104057] cross compiler multilibs libs path too chaos

2022-01-16 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057 --- Comment #14 from cqwrteur --- export PATH=$PREFIX/bin:$PATH sorry

[Bug bootstrap/104057] cross compiler multilibs libs path too chaos

2022-01-16 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057 --- Comment #13 from cqwrteur --- (In reply to Andrew Pinski from comment #12) > I don't care about your youtube videos (they are not accessable due to not > having > the steps written down). I need the steps written here in the bug report. ex

[Bug bootstrap/104057] cross compiler multilibs libs path too chaos

2022-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057 --- Comment #12 from Andrew Pinski --- I don't care about your youtube videos (they are not accessable due to not having the steps written down). I need the steps written here in the bug report.

[Bug bootstrap/104057] cross compiler multilibs libs path too chaos

2022-01-16 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057 --- Comment #11 from cqwrteur --- (In reply to Andrew Pinski from comment #10) > Please provide the full steps how you build the cross compilers? > Please provide the exact command where the problem shows up after building > the compiler? > >

[Bug bootstrap/104057] cross compiler multilibs libs path too chaos

2022-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057 --- Comment #10 from Andrew Pinski --- Please provide the full steps how you build the cross compilers? Please provide the exact command where the problem shows up after building the compiler? Without that we cannot fix anything. If you don't

[Bug bootstrap/104057] cross compiler multilibs libs path too chaos

2022-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057 --- Comment #9 from Andrew Pinski --- There is --with-build-sysroot option explicitly for that case.

[Bug bootstrap/104057] cross compiler multilibs libs path too chaos

2022-01-16 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057 --- Comment #8 from cqwrteur --- (In reply to Andrew Pinski from comment #6) > (In reply to cqwrteur from comment #5) > > There is a lot of reasons why sysroot should not be set. Like Canadian > > compilation. > > Huh? I do Canadian crosses wi

[Bug bootstrap/104057] cross compiler multilibs libs path too chaos

2022-01-16 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057 --- Comment #7 from cqwrteur --- (In reply to Andrew Pinski from comment #6) > (In reply to cqwrteur from comment #5) > > There is a lot of reasons why sysroot should not be set. Like Canadian > > compilation. > > Huh? I do Canadian crosses wi

[Bug bootstrap/104057] cross compiler multilibs libs path too chaos

2022-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057 --- Comment #6 from Andrew Pinski --- (In reply to cqwrteur from comment #5) > There is a lot of reasons why sysroot should not be set. Like Canadian > compilation. Huh? I do Canadian crosses with sysroot too.

[Bug bootstrap/104057] cross compiler multilibs libs path too chaos

2022-01-16 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057 --- Comment #5 from cqwrteur --- (In reply to Andrew Pinski from comment #4) > There is also multi-arch too. > I build cross compilers all the time and they find libraries under the > sysroot : > /bajas/pinskia/src/toolchain-10/3b/marvell-tools

[Bug bootstrap/104057] cross compiler multilibs libs path too chaos

2022-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057 --- Comment #4 from Andrew Pinski --- There is also multi-arch too. I build cross compilers all the time and they find libraries under the sysroot : /bajas/pinskia/src/toolchain-10/3b/marvell-tools/bin/../libexec/gcc/aarch64-marvell-linux-gnu/1

[Bug bootstrap/104057] cross compiler multilibs libs path too chaos

2022-01-16 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057 --- Comment #3 from cqwrteur --- (In reply to Andrew Pinski from comment #1) > Can you give an example? > There are two different directories where multilib is there. > One is based on the multilib name and the other is the OS multi-lib > direct

[Bug bootstrap/104057] cross compiler multilibs libs path too chaos

2022-01-16 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057 --- Comment #2 from cqwrteur --- (In reply to Andrew Pinski from comment #1) > Can you give an example? > There are two different directories where multilib is there. > One is based on the multilib name and the other is the OS multi-lib > direct

[Bug bootstrap/104057] cross compiler multilibs libs path too chaos

2022-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2022-01-16 Ever confirmed|0