From: Mark H Weaver <mhw@netris.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: Preliminary 'wip-armhf' branch pushed
Date: Sat, 03 Jan 2015 13:49:58 -0500 [thread overview]
Message-ID: <87iognya09.fsf@netris.org> (raw)
In-Reply-To: <877fx4hpyg.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Fri, 02 Jan 2015 21:45:11 +0100")
ludo@gnu.org (Ludovic Courtès) writes:
> Mark H Weaver <mhw@netris.org> skribis:
>
>> I chose system name "armhf-linux", GNU triplet "arm-linux-gnueabihf",
>> and the following GCC configure flags:
>>
>> --with-arch=armv7-a
>> --with-float=hard
>> --with-mode=thumb
>> --with-fpu=vfpv3-d16
>
> Does it mean that GCC generates Thumb code by default?
Yes. I confess that I'm not sufficiently knowledgeable about ARM to
understand the tradeoffs here, and have simply followed Debian's lead.
There is some rationale here:
https://wiki.debian.org/ArmHardFloatPort
There, it says:
Thumb-2/ThumbEE: Thumb-2 provides code size improvements and unlike
thumb(1) there is no interworking overhead except in a few corner
cases. Also Thumb-2 is sufficiently complete that there is no need to
fall back to ARM ISA for some operations (unlike thumb1). Thus
defaulting to Thumb-2 on v7 or later makes sense.
I haven't yet verified that our GCC is generating Thumb-2 instructions
(as opposed to Thumb-1). Debian's GCC apparently does, but they apply a
rather large patch from Linaro. This should be checked at some point.
Anyway, here are some more links that might be worth looking at if we
run into build problems:
https://wiki.ubuntu.com/ARM/Thumb2
https://wiki.ubuntu.com/ARM/Thumb2PortingHowto
Regards,
Mark
prev parent reply other threads:[~2015-01-03 18:49 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
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 [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87iognya09.fsf@netris.org \
--to=mhw@netris.org \
--cc=guix-devel@gnu.org \
--cc=ludo@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 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.