[uClibc] [PATCHES] Current CVS uClibc doesn't compile

Erik Andersen andersen at codepoet.org
Sat Jun 12 05:54:34 UTC 2004


On Sat Jun 12, 2004 at 03:48:35AM +0200, Bernhard Rosenkraenzer wrote:
> Hi,
> Trying to compile current uClibc CVS for an i686 system (and, from looking at 
> the code, any other system) fails.
> 
> libc/misc/internals/tempname.c references a variable "value" that is never 
> defined (patch to fix it attached).

Oops.  I missed a spot while adjusting tempname a few days ago.

> After fixing that, it bails out again in libc/sysdeps/linux/i386/crti.S:
> initfini.c:12: Error: junk `.get_pc_thunk.bx' after expression
> [several more of this type]
> gcc 3.4.x (which I'm using) doesn't seem to like gcc 3.3.x generated asm code 
> at all. I'm attaching a fix for that too, not 100% sure my fix is the best 
> possible fix, but it works for me.

I just did a s/i686.get_pc_thunk.bx/get_pc_thunk_bx/g which
should be sufficient.  There is after all nothing i686 specific
about the code in question so I dropped that bit as well.

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list