[uClibc] amd64 issues

Mike Frysinger vapier at gentoo.org
Sat Feb 19 02:18:19 UTC 2005


On Thursday 17 February 2005 09:38 am, Justin Cormack wrote:
> 1. You can mostly build an i386 buildroot on an x86-64 machine. You need to
> add -m32 in the CFLAGS for the build.

yep

> Only problem I have had so far is 
> building bash where one file is built without the passed flags, making this
> one file by hand seems to fix it but it is slightly obscure...

please file a bug and include a list of all the little failures and we'll get 
to it ... ive done some quick little tests on my amd64 so i should be able to 
easily test

> 2. Someone was porting uclibc to x86-64 I seem to remember some months ago.
> Anyone know what state this got to? It didnt sound as if there was a lot of
> work to make a port (maybe someone could summarise) and I could have a go
> at it.

there was brief mention of it but i never saw any code ... so i got bored and 
started it :)  i committed all my work thus far to svn before i left for LWE; 
here's a quick status report:
- crt0.S is not complete, it needs to be touched up so all the registers are 
in the correct place before jumping to uclibc main ... (look for the 
START/END TODO comments)
- syscall.S / vfork.S need to have the syscall_error handler implemented
- crti.S needs to be reviewed
- no shared library code yet since static needs to be verified first :)
-mike



More information about the uClibc mailing list