Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 5 > Error code 'arm-none-eabi-gcc.exe' failed with exit code '1'.

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



Error code 'arm-none-eabi-gcc.exe' failed with exit code '1'.
Moderator:
ANCY

Post Reply
Follow this topic



Error code 'arm-none-eabi-gcc.exe' failed with exit code '1'.

Maduna posted on 19 Dec 2011 12:40 AM PST
Top Contributor
38 Forum Posts

Hi

 

I'm having a problem  with building my project. Have the following error code

 

The command 'arm-none-eabi-gcc.exe' failed with exit code '1'.

 

 




Re: Error code 'arm-none-eabi-gcc.exe' failed with exit code '1'.

Gautam Das posted on 19 Dec 2011 01:37 AM PST
Cypress Employee
742 Forum Posts

Hi Maduna,

 

Right click near the menu bars and enable the "Build Configuration/Toolchain".

Let us know if this helps.

 

If you upload the project, we can test if there is any specific issue causing this error.



Re: Error code 'arm-none-eabi-gcc.exe' failed with exit code '1'.

H L posted on 19 Dec 2011 01:56 AM PST
Top Contributor
679 Forum Posts

 did you get any error or warning on the output section while building the project?  You can upload the project for people here to check.



Re: Error code 'arm-none-eabi-gcc.exe' failed with exit code '1'.

Bob Marlowe posted on 19 Dec 2011 03:47 AM PST
Top Contributor
1768 Forum Posts

This error-message is, afaik, the last message in a row, saying that the compilation was aborted due to one or more compilation error(s). Check messages before (above) this one.

 

Hope it helps

Bob 



Re: Error code 'arm-none-eabi-gcc.exe' failed with exit code '1'.

Maduna posted on 27 Dec 2011 11:46 PM PST
Top Contributor
38 Forum Posts

The Build Configuration/Toolchain did not yeild any positive response.



Re: Error code 'arm-none-eabi-gcc.exe' failed with exit code '1'.

Maduna posted on 27 Dec 2011 11:48 PM PST
Top Contributor
38 Forum Posts

I did not get any other error from teh screen after the build. I only obtained the

 

 Error code  'arm-none-eabi-gcc.exe' failed with exit code '1'.

 

let me upload the zipped program and check it for me on your side and i'll give a bried xplanation of what im trying to read out



Re: Error code 'arm-none-eabi-gcc.exe' failed with exit code '1'.

Bob Marlowe posted on 27 Dec 2011 11:56 PM PST
Top Contributor
1768 Forum Posts

Yes,go on and upload. We'll have a look at it.

Bob



Re: Error code 'arm-none-eabi-gcc.exe' failed with exit code '1'.

Maduna posted on 27 Dec 2011 12:21 AM PST
Top Contributor
38 Forum Posts

I'm having a problem uploading my zipped code. it goes on forever . any tip



Re: Error code 'arm-none-eabi-gcc.exe' failed with exit code '1'.

Maduna posted on 27 Dec 2011 12:31 AM PST
Top Contributor
38 Forum Posts

What is the maximum size i can upload? I have compressed it to 3.25MB



Re: Error code 'arm-none-eabi-gcc.exe' failed with exit code '1'.

Gautam Das posted on 27 Dec 2011 12:53 AM PST
Cypress Employee
742 Forum Posts

Hi Maduna,

 

Please use "Minimal Archive" to archive the project.

Following is the procedure:

1) Right click on the Workspace and select "Archive Workspace/Project"

2) In the Archiver window, select "Minimal". 

 

In this method, the Creator generated files will not archived thereby reducing the file size.



Re: Error code 'arm-none-eabi-gcc.exe' failed with exit code '1'.

Bob Marlowe posted on 27 Dec 2011 01:31 AM PST
Top Contributor
1768 Forum Posts

and make a "Clear" before, it reduces the size as well.

Bob

 



Re: Error code 'arm-none-eabi-gcc.exe' failed with exit code '1'.

Maduna posted on 27 Dec 2011 03:10 AM PST
Top Contributor
38 Forum Posts

Its still failing to load. i'll keep trying....



Re: Error code 'arm-none-eabi-gcc.exe' failed with exit code '1'.

Maduna posted on 27 Dec 2011 03:26 AM PST
Top Contributor
38 Forum Posts

I'd suggest that DASG or someone gives me their email and i send it to them and tehy can upload the the project because i have been trying to do this for about 4hours and i'm failing. Is that ok



Re: Error code 'arm-none-eabi-gcc.exe' failed with exit code '1'.

Maduna posted on 27 Dec 2011 04:21 AM PST
Top Contributor
38 Forum Posts

Bob or DASG could you send me an email on madunaski@yahoo.com then i can send it through to you because i'm still failing to upload the file. I have reduced it to 600Kb but still failing to upload. Then you can upload it from your side.

 

 



Re: Error code 'arm-none-eabi-gcc.exe' failed with exit code '1'.

Bob Marlowe posted on 27 Dec 2011 08:19 AM PST
Top Contributor
1768 Forum Posts

Hi Malvin,

when I compile your project (Creator 2.0), I get

7 Errors,

9 Warnings and

2 Notes.

On the very bottom line (maybe hidden by the task-list at your desktop?) on the right-hand corner are the counts listed for errors, warning and notes. When you click at one of them, the window changes from "output" to "Notice" and you can see all your errors.

You may click as well to one of the tabs of the notice-window to hide or show the errors, notes or warnings. Since you did not see any of those (only in the output-window the error-message of the failed compile) I suppose that it is hidden from your sight by the task-bar or something similar.

Search for the bottom-line of the >Creator-Window.

Bob



Re: Error code 'arm-none-eabi-gcc.exe' failed with exit code '1'.

Gautam Das posted on 28 Dec 2011 12:03 AM PST
Cypress Employee
742 Forum Posts

The project which Maduna is referring to is attached along with this comment.



Re: Error code 'arm-none-eabi-gcc.exe' failed with exit code '1'.

Maduna posted on 28 Dec 2011 02:07 AM PST
Top Contributor
38 Forum Posts

I have managed to solve teh issues i had. Its running well now. Thanks for the efforts.



Re: Error code 'arm-none-eabi-gcc.exe' failed with exit code '1'.

Bob Marlowe posted on 28 Dec 2011 02:10 AM PST
Top Contributor
1768 Forum Posts

You are welcome!

Bob



Re: Error code 'arm-none-eabi-gcc.exe' failed with exit code '1'.

Gautam Das posted on 28 Dec 2011 03:09 AM PST
Cypress Employee
742 Forum Posts

Hey Maduna,

 

Good to hear that!

Was the error you were getting initially due to improper initialization of the variables using "extern"?



Re: Error code 'arm-none-eabi-gcc.exe' failed with exit code '1'.

Maduna posted on 28 Dec 2011 06:26 AM PST
Top Contributor
38 Forum Posts

Yes DASg, teh error was due to the initialisation of the 'extern' keyword. And teh error comes as

 

 'arm-none-eabi-gcc.exe' failed with exit code '1'.

 

with no reference. That is what was making it dificult but i had to go through the whole program and initialied the extern kewyword in main.c instead of the RGBSensor.c file. Much appreciated.



Re: Error code 'arm-none-eabi-gcc.exe' failed with exit code '1'.

Gautam Das posted on 28 Dec 2011 08:32 AM PST
Cypress Employee
742 Forum Posts

You can view the errors, notes and warnings by selecting the "Notice List" tab.

It gives a list of all the errors and warnings. The snapshot below shows the notice list of the project uploaded.

 






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20