[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SOLVED: Re: gcc-4.7.4: libgcc2.h:157: error: unable to emulate 'TF'
From: |
Jan Nieuwenhuizen |
Subject: |
SOLVED: Re: gcc-4.7.4: libgcc2.h:157: error: unable to emulate 'TF' |
Date: |
Wed, 11 Jul 2018 19:01:54 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
U.Mutlu writes:
> Just a tip: you can build the compiler much faster if you use
> --disable-bootstrap
> (here it reduces the compile time from 111 minutes down to 12 minutes).
> After it's ok, then you can build w/o it to also test the
> bootstrapping.
Thanks! I'm very grateful for your help. I succeeded in building
gcc-4.7.4 from almost no binary seeds[0] for GuixSD!
The weird error in Subject was caused by configure+make (and my usage of
configure flags, environment settings) trying to use CC_FOR_BUILD (the
i368-unknow-linux-gcc 2.95.3 compiler) to build libgcc2.c
Here's the configure that I used, which works.
../build/configure\
--build=i686-unknown-linux-gnu\
--host=i686-unknown-linux-gnu\
--with-native-system-header-dir=/gnu/store/lwadx3lm73f8rmy8cvwijrflb9wgcm7j-glibc-mesboot-2.2.5/include\
--with-build-sysroot=/gnu/store/lwadx3lm73f8rmy8cvwijrflb9wgcm7j-glibc-mesboot-2.2.5/include\
--prefix=/gnu/store/bci6j4dfrmkfzqbpbbcz5ypk8xmr0j5z-gcc-mesboot-4.7.4\
--disable-bootstrap\
--disable-decimal-float\
--disable-libatomic\
--disable-libcilkrts\
--disable-libgomp\
--disable-libitm\
--disable-libmudflap\
--disable-libquadmath\
--disable-libsanitizer\
--disable-libssp\
--disable-libvtv\
--disable-lto\
--disable-lto-plugin\
--disable-multilib\
--disable-plugin\
--disable-shared\
--disable-threads\
--enable-languages=c\
--enable-static\
--enable-threads=single\
--disable-libstdc__-v3\
--disable-libstdcxx-pch\
--disable-build-with-cxx
Greetings,
janneke
[0]
http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/mes.scm?h=wip-bootstrap
--
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com
- gcc-4.7.4: libgcc2.h:157: error: unable to emulate 'TF', Jan Nieuwenhuizen, 2018/07/09
- Re: gcc-4.7.4: libgcc2.h:157: error: unable to emulate 'TF', U.Mutlu, 2018/07/09
- Re: gcc-4.7.4: libgcc2.h:157: error: unable to emulate 'TF', Jan Nieuwenhuizen, 2018/07/09
- Re: gcc-4.7.4: libgcc2.h:157: error: unable to emulate 'TF', U.Mutlu, 2018/07/09
- Re: gcc-4.7.4: libgcc2.h:157: error: unable to emulate 'TF', Gábor Boskovits, 2018/07/10
- Re: gcc-4.7.4: libgcc2.h:157: error: unable to emulate 'TF', Jan Nieuwenhuizen, 2018/07/10
- Re: gcc-4.7.4: libgcc2.h:157: error: unable to emulate 'TF', Jan Nieuwenhuizen, 2018/07/10
- Re: gcc-4.7.4: libgcc2.h:157: error: unable to emulate 'TF', Jonathan Wakely, 2018/07/10
- Message not available
- SOLVED: Re: gcc-4.7.4: libgcc2.h:157: error: unable to emulate 'TF',
Jan Nieuwenhuizen <=
- Re: SOLVED: Re: gcc-4.7.4: libgcc2.h:157: error: unable to emulate 'TF', U.Mutlu, 2018/07/11
- Re: SOLVED: Re: gcc-4.7.4: libgcc2.h:157: error: unable to emulate 'TF', Jan Nieuwenhuizen, 2018/07/11
- Re: gcc-4.7.4: libgcc2.h:157: error: unable to emulate 'TF', Jan Nieuwenhuizen, 2018/07/10
Re: gcc-4.7.4: libgcc2.h:157: error: unable to emulate 'TF', Danny Milosavljevic, 2018/07/10