[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gcc-4.7.4: libgcc2.h:157: error: unable to emulate 'TF'
From: |
Jan Nieuwenhuizen |
Subject: |
gcc-4.7.4: libgcc2.h:157: error: unable to emulate 'TF' |
Date: |
Mon, 09 Jul 2018 18:57:16 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hi!
I'm working on a full source bootstrap for a GNU system, GuixSD in
particular. With the Mes 0.16 release I thought it was done, but now it
seems I'm stuck.
Using the MesCC C99 compiler written in Guile Scheme, I compiled tcc-0.9.26
and a tiny Mes C library, barely enough to build
binutils-2.20.1, gcc-2.95.3, and glibc-2.2.5
Using those tools, I built
binutils-2.20.1, gcc-4.1.0, and glibc-2.3.6
My attempts to build gcc-4.7.4 are failing, the most common error that I
get is
i386-unknown-linux-gcc
--sysroot=/gnu/store/jdjpfzjr2zf3xbf7ssl11ljwpq7spid8-glibc-mesboot-2.3.6/include
-g -O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem
./include -fpic -g -DIN_LIBGCC2 -fno-stack-protector -fpic -I. -I.
-I../../host-i386-unknown-linux/gcc -I../.././libgcc -I../.././libgcc/.
-I../.././libgcc/../gcc -I../.././libgcc/../include -DHAVE_CC_TLS -DUSE_TLS
-o _muldi3.o -MT _muldi3.o -MD -MP -MF _muldi3.dep -DL_muldi3 -c
../.././libgcc/libgcc2.c
In file included from ../.././libgcc/libgcc2.c:58:
../.././libgcc/libgcc2.h:157: error: unable to emulate 'TF'
../.././libgcc/libgcc2.h:158: error: unable to emulate 'TC'
../.././libgcc/libgcc2.h:161: error: unknown machine mode
'libgcc_cmp_return'
../.././libgcc/libgcc2.h:162: error: unknown machine mode
'libgcc_shift_count'
../.././libgcc/libgcc2.h:372: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '__muldi3'
../.././libgcc/libgcc2.h:373: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '__divdi3'
../.././libgcc/libgcc2.h:374: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '__udivdi3'
../.././libgcc/libgcc2.h:375: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '__umoddi3'
../.././libgcc/libgcc2.h:376: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '__moddi3'
...
Gcc-4.7.4 advertises it can be built with gcc-2.95 and binutils-2.13.1
and glibc-2.2.5.
Since mes 0.16 was released two weeks ago I have tried many things, but
not knowing where this error comes makes progress difficult, e.g.: I
didn't manage to compile any glibc > 2.3.6, but that may not be
necessary?
Greetings,
janneke
--
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 <=
- 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, 2018/07/11
- 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