unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Danny Milosavljevic <dannym@scratchpost.org>
To: Jan Nieuwenhuizen <janneke@gnu.org>
Cc: gcc-help@gcc.gnu.org, guix-devel@gnu.org
Subject: Re: gcc-4.7.4: libgcc2.h:157: error: unable to emulate 'TF'
Date: Tue, 10 Jul 2018 17:54:25 +0200	[thread overview]
Message-ID: <20180710175425.75df9d04@scratchpost.org> (raw)
In-Reply-To: <87sh4sny8j.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1962 bytes --]

Hi Janneke,

On Mon, 09 Jul 2018 18:57:16 +0200
Jan Nieuwenhuizen <janneke@gnu.org> wrote:

>      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.

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.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

      parent reply	other threads:[~2018-07-10 15:54 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-09 16:57 gcc-4.7.4: libgcc2.h:157: error: unable to emulate 'TF' Jan Nieuwenhuizen
2018-07-09 18:28 ` U.Mutlu
2018-07-09 19:40   ` Jan Nieuwenhuizen
2018-07-10  3:52     ` U.Mutlu
2018-07-10  7:31       ` Gábor Boskovits
2018-07-10 15:07         ` Jan Nieuwenhuizen
2018-07-10 19:51           ` Jan Nieuwenhuizen
2018-07-10 20:19             ` Jonathan Wakely
     [not found]             ` <5B452C86.6090003@mutluit.com>
2018-07-11 17:01               ` SOLVED: " Jan Nieuwenhuizen
2018-07-11 18:06                 ` U.Mutlu
2018-07-11 19:23                   ` Jan Nieuwenhuizen
2018-07-10 15:02       ` Jan Nieuwenhuizen
2018-07-10 15:54 ` Danny Milosavljevic [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180710175425.75df9d04@scratchpost.org \
    --to=dannym@scratchpost.org \
    --cc=gcc-help@gcc.gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=janneke@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).