unrecognized command line option '-mno-unaligned-access'

Bug #1316314 reported by Stephen Wu
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro GCC
Invalid
Undecided
Unassigned

Bug Description

Hi There,

I got the error message when I add the option '-mno-unaligned-access' in.

aarch64-none-elf-gcc: error: unrecognized command line option '-mno-unaligned-access'

It looks like a validation GCC option. What's the issue?

Revision history for this message
Zhenqiang Chen (zhenqiang-chen) wrote :

-mno-unaligned-access is a valid GCC option for some ports like ARM. But not for all. It is not enabled for aarch64 yet.

BTW, Why do you want to use this option? Do you have unaligned-access issue?

Revision history for this message
Ramana Radhakrishnan (ramana) wrote : RE: [Bug 1316314] Re: unrecognized command line option '-mno-unaligned-access'

-mstrict-align has the same effect for AArch64.

Ramana

> -----Original Message-----
> From: <email address hidden> [mailto:<email address hidden>] On Behalf Of
> Zhenqiang Chen
> Sent: 06 May 2014 03:55
> To: Ramana Radhakrishnan
> Subject: [Bug 1316314] Re: unrecognized command line option '-mno-
> unaligned-access'
>
> -mno-unaligned-access is a valid GCC option for some ports like ARM.
> But
> not for all. It is not enabled for aarch64 yet.
>
> BTW, Why do you want to use this option? Do you have unaligned-access
> issue?
>
> --
> You received this bug notification because you are subscribed to Linaro
> Toolchain.
> https://bugs.launchpad.net/bugs/1316314
>
> Title:
> unrecognized command line option '-mno-unaligned-access'
>
> Status in Linaro GCC:
> New
>
> Bug description:
> Hi There,
>
> I got the error message when I add the option '-mno-unaligned-access'
> in.
>
> aarch64-none-elf-gcc: error: unrecognized command line option '-mno-
> unaligned-access'
>
> It looks like a validation GCC option. What's the issue?
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/gcc-linaro/+bug/1316314/+subscriptions

-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No: 2557590
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No: 2548782

Revision history for this message
Stephen Wu (stephen-wu) wrote :

It compiles. Thanks

Changed in gcc-linaro:
status: New → Confirmed
Changed in gcc-linaro:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.