[uClibc] Problems with buildroot

Ray Lehtiniemi rayl at mail.com
Fri May 28 17:42:02 UTC 2004


On Fri, May 28, 2004 at 03:02:16PM +0100, John Matthews wrote:
> Hi All,
> 
> while trying to use buildroot on a standard i386 slackware install, compiling 
> for an i386 target, the following happens,
> 
> /root/buildroot/build_i386/staging_dir/bin/i686-linux-uclibc-gcc -Wall 
> -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing 
> -mpreferred-stack-boundary=2 -falign-jumps=0 -falign-loops=0 -Os     
> -march=i686 -fno-builtin -fnostdinc -D_LIBC -I../../../../include -I. -I/
> root/buildroot/build_i386/staging_dir/lib/gcc-lib/i686-linux-uclibc/3.3.3/
> include -DNDEBUG -fPIC -c crti.S -o crt.o
> 
> initfini.c: Assembler messages:
> initfini.c: 12 Error : junk '.get_pc_thunk.bx' after expression  
> initfini.c: 27 Error : junk '.get_pc_thunk.bx' after expression 
> initfini.c: 33 Warning: rest of line ignored; first ignored character is '1'
> initfini.c: 34 Warning: rest of line ignored; first ignored character is '1'
> initfini.c: 35 Warning: rest of line ignored; first ignored character is '1'
> initfini.c: 36 Unrecognised symbol type ""
> initfini.c: 36 Warning: rest of line ignored; first ignored character is '1'
> initfini.c: 37 Warning: rest of line ignored; first ignored character is '1'
> 
> Please help! The actual assembler code is in crti.S, not initfini, and 
> although I can program i386 assembly I really don't understand that file! 
> (just converted from windows to linux!)

there are patches floating around to fix (or at least work around) this
problem.  search the archive for them.  i believe the '-march=i686' flag
is triggering it.  try to remove that flag, or find the patch.

-- 
----------------------------------------------------------------------
     Ray L   <rayl at mail.com>



More information about the uClibc mailing list