Possible Bug with Building on Current Tree

Andrew Pinski pinskia@gmail.com
Sun Sep 24 22:46:00 GMT 2017


On Sun, Sep 24, 2017 at 2:28 PM, nick <xerofoify@gmail.com> wrote:
> Greetings All,
>
> Probably me doing something stupid what I am configuring gcc on current git with:
> $PWD/../gcc/configure --prefix=$HOME/GCC-7.0.1 --enable-languages=c,c++,fortran,go
>
> This is in a directory called objdir for building gcc as according to docs. It makes
> with this:
>
> make: *** No rule to make target '../build-x86_64-pc-linux-gnu/libiberty/libiberty.a', needed by 'build/genmodes'.  Stop.
> make: *** Waiting for unfinished jobs....
> tm_p.h is unchanged
> config.h is unchanged
> bconfig.h is unchanged
> tm.h is unchanged
>

It seems like you are just configuring the gcc subdirectory rather
than the toplevel directory.

Thanks,
Andrew

>
> I tried googling on line and tried using a clean tree which was the fix before. That doesn't find it, either
> the build is currently broken as it worked yesterday or something is wrong with my config command.
>
> Nick



More information about the Gcc-bugs mailing list