Re: stage1 gcc bootstrap fails looking for bits/libc-header-start.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 10 May 2022 at 01:54, Dennis Clarke <dclarke@xxxxxxxxxxxxx> wrote:
>
> On 5/9/22 14:51, Jonathan Wakely wrote:
> > On Mon, 9 May 2022, 18:16 Dennis Clarke via Gcc-help, <gcc-help@xxxxxxxxxxx>
> > wrote:
> >
> >>
> >> Not sure what is causing this on a Linux armv7 32-bit machine but I have
> >> libc6-dev installed and that provides :
> >>
> >> # ls -lapb /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h
> >>
> >
> >
> > But this is not a standard header location, so GCC won't look there.
> >
> > You need to use --enable-multiarch to use the Debian MultiArch directory
> > layout.
> >
>
> Sadly things have not worked out any better.   :(
>
> Configure still looks nice :
>
> io$
> io$ uname -a
> Linux io 4.4.194 #52 SMP Tue Oct 26 08:35:58 UTC 2021 armv7l GNU/Linux
> io$ gcc --version
> gcc (Debian 8.3.0-6) 8.3.0
> Copyright (C) 2018 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> io$
>
> All the usual baseline tools are around. Also gmp/mpfr/mpc are extracted
> in the source tree as per normal.
>
> io$ CC='gcc -march=armv7-a -mtune=cortex-a17 -mfpu=vfpv4-d16 -marm' \
>  > CXX='g++ -march=armv7-a -mtune=cortex-a17 -mfpu=vfpv4-d16 -marm' \
>  > LD_RUN_PATH='/opt/gcc/imed/gcc12/lib:/opt/bw/lib' \
>  > ../gcc-12.1.0/configure --prefix=/opt/gcc/imed/gcc12 \
>  > --enable-multiarch \
>  > --disable-nls --enable-threads=posix --enable-shared \
>  > --with-gmp=/opt/bw --with-mpfr=/opt/bw --with-mpc=/opt/bw \

Wait, what? You said "gmp/mpfr/mpc are extracted in the source tree as
per normal" so why are you telling GCC to get them from /opt/bw?

Xi Ruoyao is sending replies that you're apparently not receiving, see
https://gcc.gnu.org/pipermail/gcc-help/2022-May/141536.html



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux