RE: I can't install gcc 9

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

 



I have Following errors :

In file included from /usr/include/bits/errno.h:26,
                 from /usr/include/errno.h:28,
                 from ../../.././libgcc/../gcc/tsystem.h:93,
                 from ../../.././libgcc/generic-morestack-thread.c:27:
/usr/include/linux/errno.h:1:10: fatal error: asm/errno.h: No such file or directory
    1 | #include <asm/errno.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
../../.././libgcc/shared-object.mk:14: recipe for target 'generic-morestack-thread.o' failed
make[5]: *** [generic-morestack-thread.o] Error 1
make[5]: Leaving directory '/opt/gcc-9.1.0/x86_64-pc-linux-gnu/32/libgcc'
Makefile:1210: recipe for target 'multi-do' failed
make[4]: *** [multi-do] Error 1
make[4]: Leaving directory '/opt/gcc-9.1.0/x86_64-pc-linux-gnu/libgcc'
Makefile:125: recipe for target 'all-multi' failed
make[3]: *** [all-multi] Error 2
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/opt/gcc-9.1.0/x86_64-pc-linux-gnu/libgcc'
Makefile:22617: recipe for target 'all-stage1-target-libgcc' failed
make[2]: *** [all-stage1-target-libgcc] Error 2
make[2]: Leaving directory '/opt/gcc-9.1.0'
Makefile:28290: recipe for target 'stage1-bubble' failed
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory '/opt/gcc-9.1.0'
Makefile:1001: recipe for target 'all' failed
make: *** [all] Error 2

I launch Following in the gcc-9.1 folder because in objdir It doesn’t works :

$PWD/../gcc-9.1.0/configure --enable-languages=c,c++,fortran,go

then I launch the Following where I happen Bottom errors paste :

make -j 6 (It is an AMD 6300 FX)

Do you know why I can’t launch in objdir ?

Do you know why I should now ?

Thank you in advance to bring your help,

There are some previous e-mail where I answer support IT ask,

Regards.


Dorian ROSSE.

Provenance : Courrier<https://go.microsoft.com/fwlink/?LinkId=550986> pour Windows 10

________________________________
De : Jonathan Wakely <jwakely.gcc@xxxxxxxxx>
Envoyé : Wednesday, July 3, 2019 10:45:41 AM
À : Dorian ROSSE
Cc : Andrew Haley; Tadeus Prastowo; gcc-help@xxxxxxxxxxx
Objet : Re: I can't install gcc 9



On Wed, 3 Jul 2019 at 09:42, Dorian ROSSE <dorianbrice@xxxxxxxxxx<mailto:dorianbrice@xxxxxxxxxx>> wrote:

I was think It is better to use laster gcc than the gcc GitHub repositorie mirror from git gcc !

Laster command line was the following :

../gcc-9.1.0/configure --enable-languages=c,c++,go && make && make install

Now I install isl dependencies !

ISL is an optional dependency, you don't need it.

Please read https://gcc.gnu.org/wiki/InstallingGCC and ensure you either install dependencies using your system's package manager, or use the ./contrib/download_prerequisites script.


Then I launch again ‘configure’ command line 😊

You should start in an empty directory each time you run it. If you run configure and the build fails, and then re-run configure with different arguments or different environment, it's likely to fail again.

Remove everything in the build directory and start clean each time.






[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