From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Re: gcc-4.7.4: libgcc2.h:157: error: unable to emulate 'TF' Date: Tue, 10 Jul 2018 17:54:25 +0200 Message-ID: <20180710175425.75df9d04@scratchpost.org> References: <87sh4sny8j.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/P9jRR_QC1EZeIm_9Yfn61po"; protocol="application/pgp-signature" Return-path: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org In-Reply-To: <87sh4sny8j.fsf@gnu.org> To: Jan Nieuwenhuizen Cc: gcc-help@gcc.gnu.org, guix-devel@gnu.org List-Id: guix-devel.gnu.org --Sig_/P9jRR_QC1EZeIm_9Yfn61po Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Janneke, On Mon, 09 Jul 2018 18:57:16 +0200 Jan Nieuwenhuizen wrote: > i386-unknown-linux-gcc --sysroot=3D/gnu/store/jdjpfzjr2zf3xbf7ssl11l= jwpq7spid8-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-stac= k-protector -fpic -I. -I. -I../../host-i386-unknown-linux/gcc -I../.././l= ibgcc -I../.././libgcc/. -I../.././libgcc/../gcc -I../.././libgcc/../includ= e -DHAVE_CC_TLS -DUSE_TLS -o _muldi3.o -MT _muldi3.o -MD -MP -MF _muldi3.= dep -DL_muldi3 -c ../.././libgcc/libgcc2.c=20 > 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_cm= p_return' > ../.././libgcc/libgcc2.h:162: error: unknown machine mode 'libgcc_sh= ift_count' > ../.././libgcc/libgcc2.h:372: error: expected '=3D', ',', ';', 'asm'= or '__attribute__' before '__muldi3' > ../.././libgcc/libgcc2.h:373: error: expected '=3D', ',', ';', 'asm'= or '__attribute__' before '__divdi3' > ../.././libgcc/libgcc2.h:374: error: expected '=3D', ',', ';', 'asm'= or '__attribute__' before '__udivdi3' > ../.././libgcc/libgcc2.h:375: error: expected '=3D', ',', ';', 'asm'= or '__attribute__' before '__umoddi3' > ../.././libgcc/libgcc2.h:376: error: expected '=3D', ',', ';', 'asm'= or '__attribute__' before '__moddi3' > ... >=20 > Gcc-4.7.4 advertises it can be built with gcc-2.95 and binutils-2.13.1 > and glibc-2.2.5. https://gcc.gnu.org/onlinedocs/gccint/Machine-Modes.html TFmode is for 128 bit floats. https://gcc.gnu.org/ml/gcc-patches/2008-06/msg01747.html https://gcc.gnu.org/onlinedocs/gcc-4.8.5/gccint/Type-Layout.html The softfp emulation is in libgcc. --Sig_/P9jRR_QC1EZeIm_9Yfn61po Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAltE1rEACgkQ5xo1VCww uqVfRgf/eW5dgMu3glZESVaz9mfu2oALNTgELSwNm+Jf+HYCxMxsbL7rKWP3rn4S cYC/jDe7WU2a6sCPCRLZ9h5JWDjVDKbL45h41Lv/S6Ps1GT/fijrlSZtKy50SY4Z z29fP8DWORPSqp7mQ3L8NA/oa6VUOPqZ4KcBx7YmJp/g607qF5nDOWLQuf03Xqdw g8IrWW0GkFXap9Vx0nYXonWqg8CfagW0it9HSDNHOHljCXDaiDg14rIJ2jljw/ok mwCA3/Zs7k9wNJPlxQYzqv1yx6BN0jyq2PU03VQwmFHuFFQmPXVbU/M8MeT8ajA1 syr2pwfIjSwvy4gVxpcfdymPZLZ5fQ== =qV/h -----END PGP SIGNATURE----- --Sig_/P9jRR_QC1EZeIm_9Yfn61po--