This is the mail archive of the ecos-bugs@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1001468] eCos GNU tools 4.6.3


Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001468

--- Comment #54 from Ilija Kocho <ilijak@siva.com.mk> 2012-05-26 23:31:33 BST ---
(In reply to comment #53)
> (In reply to comment #52)
> > (In reply to comment #51)
> > > 
> > > Do we really need -mfloat-abi=hard? Do we have anything that uses it?
> > 
> > -mfloat-abi=hard goes along with -mfpu=fpv4-sp-d16. Both flags have to be
> > specified. The use case, Cortex-M4 arch for floating point is almost ready, I
> > am doing final testing and my aim is to put it on Bugzilla within few days.
> 
> Ah ok, I assume you've designed the MULTILIB_EXCEPTIONS in such a way that
> -mfloat-abi=hard is only there at the same time as -mfpu=fpv4-sp-d16 and
> vice-versa. Since you'll have built it then of course -print-multi-lib will
> verify this easily enough if you haven't already.
> 

Probably one would expect GCC to infer some flags from just selecting
-mcpu=cortex-m4 (such as -mthumb, etc) but it doesn't. Likwise -mcortex-m4
-mfloat-abi=hard doesn't infer fpv4-sp-d16.

FYI:

00:29:12> arm-eabi-gcc --print-multi-lib
.;
thumb;@mthumb
be;@mbig-endian
nointerwork;@mno-thumb-interwork
arm9;@mcpu=arm9
arm9e;@mcpu=arm9e
xscale;@mcpu=xscale
nointerwork/arm9;@mno-thumb-interwork@mcpu=arm9
nointerwork/arm9e;@mno-thumb-interwork@mcpu=arm9e
nointerwork/xscale;@mno-thumb-interwork@mcpu=xscale
be/nointerwork;@mbig-endian@mno-thumb-interwork
be/xscale;@mbig-endian@mcpu=xscale
be/nointerwork/xscale;@mbig-endian@mno-thumb-interwork@mcpu=xscale
thumb/thumb2;@mthumb@march=armv7
thumb/be;@mthumb@mbig-endian
thumb/nointerwork;@mthumb@mno-thumb-interwork
thumb/arm9;@mthumb@mcpu=arm9
thumb/arm9e;@mthumb@mcpu=arm9e
thumb/xscale;@mthumb@mcpu=xscale
thumb/nointerwork/arm9;@mthumb@mno-thumb-interwork@mcpu=arm9
thumb/nointerwork/arm9e;@mthumb@mno-thumb-interwork@mcpu=arm9e
thumb/nointerwork/xscale;@mthumb@mno-thumb-interwork@mcpu=xscale
thumb/be/nointerwork;@mthumb@mbig-endian@mno-thumb-interwork
thumb/be/xscale;@mthumb@mbig-endian@mcpu=xscale
thumb/be/nointerwork/xscale;@mthumb@mbig-endian@mno-thumb-interwork@mcpu=xscale
thumb/thumb2/fpu/fpv4spd16;@mthumb@march=armv7@mfloat-abi=hard@mfpu=fpv4-sp-d16

Ilija

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]