[Buildroot] Recurrent Blackfin build failure on icu

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Jun 21 06:38:06 UTC 2013


Dear Mike Frysinger,

On Thu, 20 Jun 2013 19:21:48 -0400, Mike Frysinger wrote:

> > Maybe you can check the symbol name after compiling a C file into an
> > assembly file?
> 
> gcc provides __USER_LABEL_PREFIX__ specifically for this.  but you'd have to 
> create a .S file and run it through the preprocessor to do that ...

So you mean that __USER_LABEL_PREFIX__ is "_" on Blackfin and empty on
other architectures, so that assembly code should look like:

	__USER_LABEL_PREFIX__ ## symbol_foobar

and run through the preprocessor, to work properly across arches?

Thanks!

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com


More information about the buildroot mailing list