Build fails - missing nano.specs

This forum is dedicated to feedback, discussions about ongoing or future developments, ideas and suggestions regarding the ChibiOS projects are welcome.

Build fails - missing nano.specs

Postby Tectu » Thu Mar 07, 2013 7:32 pm

I just synced to the latest ChibiOS/RT master/trunk. When building my programs now (even the demos in the repo), I always get this one when it starts linking the .elf:
Code: Select all
arm-none-eabi-gcc: error: nano.specs: No such file or directory


Did I miss some important information? What's nano.specs? I'm not even sure if this is a problem on my side or not. I didn't do anything beside upgrade the repo...
I'm using the GNU ARM GCC toolchain from the launchpad which worked always for me - without any problems.


~ Tectu
User avatar
Tectu
 
Posts: 1162
Joined: Thu May 10, 2012 9:50 am
Location: Switzerland

Re: Build fails - missing nano.specs

Postby Giovanni » Thu Mar 07, 2013 8:58 pm

Hi,

That should be an alternate library included in that compiler, I am not sure why you are getting that error, are you trying to compiler a standard demo? if not verify the compiler options in the makefile and in rules.mk.

Giovanni
User avatar
Giovanni
Site Admin
 
Posts: 5833
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy

Re: Build fails - missing nano.specs

Postby Giovanni » Thu Mar 07, 2013 9:02 pm

Update, found the problem, rules.mk has been changed by theShed in a compiler-dependent way, reverting the change for the time being until a portable solution is found.

Giovanni
User avatar
Giovanni
Site Admin
 
Posts: 5833
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy

Re: Build fails - missing nano.specs

Postby Tectu » Thu Mar 07, 2013 9:03 pm

I am getting this error on every project I have as well as in each and every demo in the demos folder of the ChibiOS/RT repository. I didn't change anything. I'm really not sure how to track down the error, google didn't help so far. I'd be thankful for any pointers.


~ Tectu
User avatar
Tectu
 
Posts: 1162
Joined: Thu May 10, 2012 9:50 am
Location: Switzerland

Re: Build fails - missing nano.specs

Postby Giovanni » Thu Mar 07, 2013 9:06 pm

See above post.
User avatar
Giovanni
Site Admin
 
Posts: 5833
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy

Re: Build fails - missing nano.specs

Postby Tectu » Thu Mar 07, 2013 9:11 pm

I can confirm that everything works wonderfully again. Thank you very much for the quick fix!


~ Tectu
User avatar
Tectu
 
Posts: 1162
Joined: Thu May 10, 2012 9:50 am
Location: Switzerland

Re: Build fails - missing nano.specs

Postby theShed » Thu Mar 07, 2013 11:22 pm

OOPS! sorry about that - that wasn't supposed to go in.

FYI: nano.specs is switch for Embedded Arm GCC 4.7 to enable the newlib-nano

--
mike
theShed
 
Posts: 50
Joined: Tue Feb 26, 2013 3:43 pm
Location: The flatlands of East Anglia

Re: Build fails - missing nano.specs

Postby theShed » Thu Mar 07, 2013 11:26 pm

As an aside to the above: there doesn't appear to be a way to add extra LDFLAGS to a single app.
Or did I just miss it?

--
mike
theShed
 
Posts: 50
Joined: Tue Feb 26, 2013 3:43 pm
Location: The flatlands of East Anglia

Re: Build fails - missing nano.specs

Postby Giovanni » Fri Mar 08, 2013 9:19 am

Good point, it should be added to rules.mk as a general mechanism.

Giovanni
User avatar
Giovanni
Site Admin
 
Posts: 5833
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy


Return to Development and Feedback

Who is online

Users browsing this forum: barthess and 0 guests

cron