all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: John Darrington <john@darrington.wattle.id.au>
To: Mark H Weaver <mhw@netris.org>
Cc: guix-devel@gnu.org
Subject: Re: Preliminary 'wip-armhf' branch pushed
Date: Thu, 1 Jan 2015 20:04:49 +0100	[thread overview]
Message-ID: <20150101190449.GA3790@intra> (raw)
In-Reply-To: <87egre5pj6.fsf@netris.org>

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

On Thu, Jan 01, 2015 at 01:22:53PM -0500, Mark H Weaver wrote:
     John Darrington <john@darrington.wattle.id.au> writes:
     
     > On Thu, Jan 01, 2015 at 02:11:19AM -0500, Mark H Weaver wrote:
     >      John Darrington <john@darrington.wattle.id.au> writes:
     >      
     >      >      * You patched gcc/config/arm/linux-eabi.h unnecessarily.
     >      >
     >      > Without that patch, GCC actually builds soft-float code, even though
     >      > you may have passed the --with-float=hard flag.  What bits of that
     >      > patch do you think are not necessary?
     >      
     >      All of it seems to be unnecessary, by experiment.  I've used the
     >      resulting GCC to compile the following test program:
     >      
     >      'foo' accepts the double arguments via registers and passes a double to
     >      sinh via registers.  I also checked a variant that simply returned a*b,
     >      and it was clearly returning the result via register as well.
     >      
     >      I think it's quite clear that this is using the hard-float ABI, no?
     >
     > My results showed that simple binaries like that compiled (and ran)
     > ok.  The problems arose when linking with bigger projects.  I don't
     > recall the details.  Have you tried building libc?
     
     Yes, of course.  I looked further into this, and discovered that the
     reason it all works is that the main 'gcc' driver arranges to pass
     "-mfloat-abi=hard" (and several others) to 'cc1' and 'as'.
     
Ok.  Right now, I don't remember exactly at what point I discovered the linux-eabi.h
changes were necessary, but they were indeed necessary - I didn't do it for fun!
I expect you will find out in due course.

J'

-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2015-01-01 19:05 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-31 17:31 Preliminary 'wip-armhf' branch pushed Mark H Weaver
2014-12-31 17:47 ` John Darrington
2014-12-31 19:23   ` Mark H Weaver
2014-12-31 20:20     ` John Darrington
2014-12-31 23:40       ` Mark H Weaver
2015-01-01  6:14         ` John Darrington
2015-01-01  7:11           ` Mark H Weaver
2015-01-01  7:24             ` John Darrington
2015-01-01 18:22               ` Mark H Weaver
2015-01-01 19:04                 ` John Darrington [this message]
2015-01-02 20:48     ` Ludovic Courtès
2015-01-02 22:07       ` Mark H Weaver
2015-01-03 19:07         ` Ludovic Courtès
2014-12-31 22:24 ` Mark H Weaver
2014-12-31 22:55   ` Mark H Weaver
2015-01-01 18:53 ` Problem with natively-built armhf bootstrap compiler Mark H Weaver
2015-01-02  2:19   ` Mark H Weaver
2015-01-02  4:56     ` Mark H Weaver
2015-01-02 21:06       ` Ludovic Courtès
2015-01-03 18:37         ` Mark H Weaver
2015-01-07 13:15           ` Ludovic Courtès
2015-01-07 15:15             ` Mark H Weaver
2015-01-07 15:30               ` [PATCH] gnu: gcc-static: Remove -lgcc_s from GNU_USER_TARGET_LIB_SPEC Mark H Weaver
2015-01-07 17:15                 ` Ludovic Courtès
2015-01-02 20:45 ` Preliminary 'wip-armhf' branch pushed Ludovic Courtès
2015-01-03 18:49   ` Mark H Weaver

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

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

  git send-email \
    --in-reply-to=20150101190449.GA3790@intra \
    --to=john@darrington.wattle.id.au \
    --cc=guix-devel@gnu.org \
    --cc=mhw@netris.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.